/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_build_util.h | 99 Value *loadImm(Value *dst, float); 100 Value *loadImm(Value *dst, double); 101 Value *loadImm(Value *dst, uint32_t); 102 Value *loadImm(Value *dst, uint64_t); 104 Value *loadImm(Value *dst, int i) { return loadImm(dst, (uint32_t)i); } in loadImm() function
|
D | nv50_ir_lowering_nvc0.cpp | 100 dst[0] = bld.loadImm(NULL, 0); in handleRCPRSQ() 786 gpEmitAddress = bld.loadImm(NULL, 0)->asLValue(); in visit() 984 bld.loadImm(src, 0); in handleTEX() 1053 bld.loadImm(NULL, imm), bld.mkImm(0xc10), in handleTEX() 1058 i->setSrc(s, bld.loadImm(NULL, imm << 16)); in handleTEX() 1061 i->setSrc(s, bld.loadImm(NULL, imm)); in handleTEX() 1078 i->setSrc(s++, bld.loadImm(NULL, 0)); in handleTEX() 1103 Value *zero = bld.loadImm(bld.getSSA(), 0); in handleManualTXD() 1252 txd->setSrc(s++, bld.loadImm(NULL, 0)); in handleTXD() 1328 i->getDef(def), bld.loadImm(NULL, 1.0f / 256)); in handleTXLQ() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 116 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); in expandIntegerMUL() 144 bld->loadImm(one, 1); in expandIntegerMUL() 765 i->setSrc(arg - 1, bld.loadImm(NULL, 0)); in handleTEX() 780 bld.mkOp2(OP_MIN, TYPE_U32, src, src, bld.loadImm(NULL, 511)); in handleTEX() 858 bld.loadImm(NULL, 1)); in handleTXB() 865 Value *imm = bld.loadImm(NULL, (1 << l)); in handleTXB() 949 Value *zero = bld.loadImm(bld.getSSA(), 0); in handleTXD() 1026 i->getDef(def), bld.loadImm(NULL, 1.0f / 256)); in handleTXLQ() 1041 bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.loadImm(NULL, 1), ms); in handleTXQ() 1086 i->setSrc(1, bld.loadImm(NULL, 0)); in handleSLCT() [all …]
|
D | nv50_ir_build_util.cpp | 402 BuildUtil::loadImm(Value *dst, float f) in loadImm() function in nv50_ir::BuildUtil 408 BuildUtil::loadImm(Value *dst, double d) in loadImm() function in nv50_ir::BuildUtil 414 BuildUtil::loadImm(Value *dst, uint32_t u) in loadImm() function in nv50_ir::BuildUtil 420 BuildUtil::loadImm(Value *dst, uint64_t u) in loadImm() function in nv50_ir::BuildUtil
|
D | nv50_ir_from_tgsi.cpp | 1939 Value *offset = loadImm(NULL, tgsi.getSrc(s).getIndex(1)); in getOutputBase() 2091 return loadImm(NULL, info->immd.data[idx * 4 + swz]); in fetchSrc() 2098 return loadImm(NULL, swz == TGSI_SWIZZLE_W ? 1.0f : 0.0f); in fetchSrc() 2124 return loadImm(NULL, 0u); in fetchSrc() 2126 return loadImm(NULL, 0u); in fetchSrc() 2128 return loadImm(NULL, 32u); in fetchSrc() 2383 lod = loadImm(NULL, 0); in handleTEX() 2477 texi->setSrc(c++, loadImm(NULL, 0)); in handleTXF() 2535 loadImm(dst0[0], 1.0f); in handleLIT() 2538 loadImm(dst0[3], 1.0f); in handleLIT() [all …]
|
D | nv50_ir_peephole.cpp | 864 mul1->setSrc(s1, bld.loadImm(NULL, f * imm1.reg.data.f32)); in tryCollapseChainedMULs() 1117 bld.loadImm(NULL, m)); in opnd() 1149 bld.mkOp3(OP_MAD, TYPE_S32, tA, i->getSrc(0), bld.loadImm(NULL, m), in opnd() 1171 i->setSrc(1, bld.loadImm(NULL, imm0.reg.data.u32 - 1)); in opnd() 1184 TYPE_S32, i->getSrc(0), bld.loadImm(NULL, 0)); in opnd() 1186 bld.loadImm(NULL, imm0.reg.data.u32 - 1)); in opnd() 1342 i->setSrc(1, bld.loadImm(NULL, imm0.reg.data.u32 + imm1.reg.data.u32)); in opnd() 1350 i->setSrc(1, bld.loadImm(NULL, ~((1 << imm0.reg.data.u32) - 1))); in opnd() 1367 i->setSrc(1, bld.loadImm(NULL, imm1.reg.data.u32 << imm0.reg.data.u32)); in opnd() 1389 i->setSrc(adds, bld.loadImm(NULL, imm1.reg.data.u32 << imm0.reg.data.u32)); in opnd() [all …]
|