/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_lowering_nv50.cpp | 134 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); in expandIntegerMUL() 162 bld->loadImm(one, 1); in expandIntegerMUL() 819 i->setSrc(arg - 1, bld.loadImm(NULL, 0)); in handleTEX() 834 bld.mkOp2(OP_MIN, TYPE_U32, src, src, bld.loadImm(NULL, 511)); in handleTEX() 912 bld.loadImm(NULL, 1)); in handleTXB() 919 Value *imm = bld.loadImm(NULL, (1 << l)); in handleTXB() 1003 Value *zero = bld.loadImm(bld.getSSA(), 0); in handleTXD() 1080 i->getDef(def), bld.loadImm(NULL, 1.0f / 256)); in handleTXLQ() 1109 bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.loadImm(NULL, 1), ms); in handleTXQ() 1138 bld.loadImm(NULL, 6)); in handleSUQ() [all …]
|
D | nv50_ir_lowering_helper.cpp | 101 bld.mkOp2(OP_SHR, TYPE_S32, tmp, insn->getSrc(0), bld.loadImm(bld.getSSA(), 31)); in handleCVT() 106 insn->setSrc(1, bld.loadImm(bld.getSSA(), 0)); in handleCVT() 166 bld.loadImm(lo, (uint32_t)(reg.data.u64 & 0xffffffff)); in handleMOV() 167 bld.loadImm(hi, (uint32_t)(reg.data.u64 >> 32)); in handleMOV() 200 …Value *tmp = bld.mkOp2v(OP_MAX, dTy, bld.getSSA(8), insn->getSrc(0), bld.loadImm(bld.getSSA(8), 0.… in handleSAT() 203 insn->setSrc(1, bld.loadImm(bld.getSSA(8), 1.0)); in handleSAT()
|
D | nv50_ir_build_util.h | 101 Value *loadImm(Value *dst, float); 102 Value *loadImm(Value *dst, double); 103 Value *loadImm(Value *dst, uint16_t); 104 Value *loadImm(Value *dst, uint32_t); 105 Value *loadImm(Value *dst, uint64_t); 107 Value *loadImm(Value *dst, int i) { return loadImm(dst, (uint32_t)i); } in loadImm() function
|
D | nv50_ir_lowering_nvc0.cpp | 138 dst[0] = bld.loadImm(NULL, 0); in handleRCPRSQ() 899 gpEmitAddress = bld.loadImm(NULL, 0)->asLValue(); in visit() 1099 bld.loadImm(src, 0); in handleTEX() 1168 bld.loadImm(NULL, imm), bld.mkImm(0xc10), in handleTEX() 1173 i->setSrc(s, bld.loadImm(NULL, imm << 16)); in handleTEX() 1176 i->setSrc(s, bld.loadImm(NULL, imm)); in handleTEX() 1202 Value *zero = bld.loadImm(bld.getSSA(), 0); in handleManualTXD() 1351 txd->setSrc(s++, bld.loadImm(NULL, 0)); in handleTXD() 1427 i->getDef(def), bld.loadImm(NULL, 1.0f / 256)); in handleTXLQ() 1675 Value *offset = bld.loadImm(NULL, atom->getSrc(0)->reg.data.offset + typeSizeof(atom->sType)); in handleATOM() [all …]
|
D | nv50_ir_from_nir.cpp | 845 indirect = mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), indirect, loadImm(NULL, 4)); in getIndirect() 1824 mkOp2(OP_MIN, TYPE_F32, offs[c], getSrc(&insn->src[0], c), loadImm(NULL, 0.4375f)); in visit() 1825 mkOp2(OP_MAX, TYPE_F32, offs[c], offs[c], loadImm(NULL, -0.5f)); in visit() 1826 mkOp2(OP_MUL, TYPE_F32, offs[c], offs[c], loadImm(NULL, 4096.0f)); in visit() 1845 loadImm(newDefs[1], mode); in visit() 1904 loadImm(def, 0u); in visit() 1913 mkOp2(OP_MERGE, dType, newDefs[i], def, loadImm(getSSA(), 0u)); in visit() 1920 loadImm(newDefs[0], 32u); in visit() 1988 vtxBase = loadImm(NULL, baseVertex); in visit() 2376 loadImm(newDefs[0], 0u); in visit() [all …]
|
D | nv50_ir_build_util.cpp | 416 BuildUtil::loadImm(Value *dst, float f) in loadImm() function in nv50_ir::BuildUtil 422 BuildUtil::loadImm(Value *dst, double d) in loadImm() function in nv50_ir::BuildUtil 428 BuildUtil::loadImm(Value *dst, uint16_t u) in loadImm() function in nv50_ir::BuildUtil 434 BuildUtil::loadImm(Value *dst, uint32_t u) in loadImm() function in nv50_ir::BuildUtil 440 BuildUtil::loadImm(Value *dst, uint64_t u) in loadImm() function in nv50_ir::BuildUtil
|
D | nv50_ir_from_tgsi.cpp | 1893 Value *offset = loadImm(NULL, tgsi.getSrc(s).getIndex(1)); in getOutputBase() 2045 return loadImm(NULL, code->immd.data[idx * 4 + swz]); in fetchSrc() 2052 return loadImm(NULL, swz == TGSI_SWIZZLE_W ? 1.0f : 0.0f); in fetchSrc() 2078 return loadImm(NULL, 0u); in fetchSrc() 2080 return loadImm(NULL, 0u); in fetchSrc() 2082 return loadImm(NULL, 32u); in fetchSrc() 2337 lod = loadImm(NULL, 0); in handleTEX() 2437 texi->setSrc(c++, loadImm(NULL, 0)); in handleTXF() 2495 loadImm(dst0[0], 1.0f); in handleLIT() 2498 loadImm(dst0[3], 1.0f); in handleLIT() [all …]
|
D | nv50_ir_lowering_gm107.cpp | 302 suq->setSrc(1, bld.loadImm(NULL, 0)); in handleSUQ() 312 bld.loadImm(NULL, 6)); in handleSUQ()
|
D | nv50_ir_peephole.cpp | 930 mul1->setSrc(s1, bld.loadImm(NULL, f * imm1.reg.data.f32)); in tryCollapseChainedMULs() 1246 bld.loadImm(NULL, m)); in opnd() 1279 bld.mkOp3(OP_MAD, TYPE_S32, tA, i->getSrc(0), bld.loadImm(NULL, m), in opnd() 1302 i->setSrc(1, bld.loadImm(NULL, imm0.reg.data.u32 - 1)); in opnd() 1315 TYPE_S32, i->getSrc(0), bld.loadImm(NULL, 0)); in opnd() 1317 bld.loadImm(NULL, imm0.reg.data.u32 - 1)); in opnd() 1481 i->setSrc(1, bld.loadImm(NULL, imm0.reg.data.u32 + imm1.reg.data.u32)); in opnd() 1489 i->setSrc(1, bld.loadImm(NULL, ~((1 << imm0.reg.data.u32) - 1))); in opnd() 1511 i->setSrc(1, bld.loadImm(NULL, imm1.reg.data.u32 << imm0.reg.data.u32)); in opnd() 1533 i->setSrc(adds, bld.loadImm(NULL, imm1.reg.data.u32 << imm0.reg.data.u32)); in opnd() [all …]
|