Home
last modified time | relevance | path

Searched refs:mkImm (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_gm107.cpp106 Value *quad = bld.mkImm(SHFL_BOUND_QUAD); in handleManualTXD()
122 Value *lane = bld.mkImm(l); in handleManualTXD()
181 bld.mkOp3(OP_SHFL, TYPE_F32, tex->getDef(c), tex->getDef(c), bld.mkImm(0), quad); in handleManualTXD()
225 bld.mkImm(xid), bld.mkImm(SHFL_BOUND_QUAD)); in handleDFDX()
242 bld.mkOp2(OP_SHR , TYPE_U32, tmp1, tmp0, bld.mkImm(16)); in handlePFETCH()
243 bld.mkOp2(OP_AND , TYPE_U32, tmp0, tmp0, bld.mkImm(0xff)); in handlePFETCH()
244 bld.mkOp2(OP_AND , TYPE_U32, tmp1, tmp1, bld.mkImm(0xff)); in handlePFETCH()
Dnv50_ir_lowering_nvc0.cpp207 bld.mkOp2(OP_ADD, TYPE_U32, (x32_minus_shift = bld.getSSA()), shift, bld.mkImm(0x20)) in handleShift()
210 TYPE_U32, shift, bld.mkImm(32)); in handleShift()
808 ptr = bld.mkOp2v(OP_SHL, TYPE_U32, bld.getSSA(), ptr, bld.mkImm(2)); in loadTexHandle()
903 bld.mkOp3(OP_INSBF, TYPE_U32, hnd, rHnd, bld.mkImm(0x1400), sHnd); in handleTEX()
961 ticRel, bld.mkImm(i->tex.r)); in handleTEX()
967 tscRel, bld.mkImm(i->tex.s)); in handleTEX()
988 bld.mkOp3(OP_INSBF, TYPE_U32, src, ticRel, bld.mkImm(0x0917), src); in handleTEX()
990 bld.mkOp3(OP_INSBF, TYPE_U32, src, tscRel, bld.mkImm(0x0710), src); in handleTEX()
1027 bld.mkImm(0x800 | ((n * 16 + c * 8) % 32)), in handleTEX()
1053 bld.loadImm(NULL, imm), bld.mkImm(0xc10), in handleTEX()
[all …]
Dnv50_ir_build_util.h92 ImmediateValue *mkImm(float);
93 ImmediateValue *mkImm(double);
94 ImmediateValue *mkImm(uint32_t);
95 ImmediateValue *mkImm(uint64_t);
97 ImmediateValue *mkImm(int i) { return mkImm((uint32_t)i); } in mkImm() function
Dnv50_ir_build_util.cpp357 BuildUtil::mkImm(uint32_t u) in mkImm() function in nv50_ir::BuildUtil
373 BuildUtil::mkImm(uint64_t u) in mkImm() function in nv50_ir::BuildUtil
385 BuildUtil::mkImm(float f) in mkImm() function in nv50_ir::BuildUtil
392 return mkImm(u.u32); in mkImm()
396 BuildUtil::mkImm(double d) in mkImm() function in nv50_ir::BuildUtil
404 return mkOp1v(OP_MOV, TYPE_F32, dst ? dst : getScratch(), mkImm(f)); in loadImm()
410 return mkOp1v(OP_MOV, TYPE_F64, dst ? dst : getScratch(8), mkImm(d)); in loadImm()
416 return mkOp1v(OP_MOV, TYPE_U32, dst ? dst : getScratch(), mkImm(u)); in loadImm()
422 return mkOp1v(OP_MOV, TYPE_U64, dst ? dst : getScratch(8), mkImm(u)); in loadImm()
Dnv50_ir_lowering_nv50.cpp94 bld->mkImm(src1.reg.data.u32 & 0xffff)); in expandIntegerMUL()
97 src1imm ? bld->mkImm(src1.reg.data.u32 >> 16) : b[1]); in expandIntegerMUL()
105 i[7] = bld->mkOp2(OP_SHL, fTy, t[2], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL()
122 i[8] = bld->mkOp2(OP_SHR, fTy, r[0], t[1], bld->mkImm(halfSize * 8)); in expandIntegerMUL()
448 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef()
515 bf = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), bf, bld.mkImm(-2)); in handleDIV()
710 bld.mkOp2v(OP_SHL, TYPE_U32, t, ms, bld.mkImm(3)), in loadMsInfo()
712 bld.mkImm(3)); in loadMsInfo()
1172 bld.mkOp2(OP_OR, TYPE_U32, def, def, bld.mkImm(0x00000001)); in handleRDSV()
1182 bld.mkMov(def, bld.mkImm(1)); in handleRDSV()
[all …]
Dnv50_ir_from_tgsi.cpp1929 mkImm(index), rel); in getVertexBase()
2050 return mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), index, mkImm(4)); in shiftAddress()
3127 offs[1], mkImm(0x1010), offs[0]); in handleINTERP()
3484 mkOp1(OP_VOTE, TYPE_U32, val0, mkImm(1))->subOp = NV50_IR_SUBOP_VOTE_ANY; in handleInstruction()
3485 mkOp2(OP_EXTBF, TYPE_U32, val0, val0, mkImm(0x2000)) in handleInstruction()
3494 geni = mkOp3(op, dstTy, dst0[c], fetchSrc(0, c), src1, mkImm(0x1f)); in handleInstruction()
3591 mkOp3(OP_INSBF, TYPE_U32, dst0[c], val1, mkImm(0x1010), val0); in handleInstruction()
3616 src0 = mkImm(stream); in handleInstruction()
3798 geni = mkOp2(OP_BAR, TYPE_U32, NULL, mkImm(0), mkImm(0)); in handleInstruction()
3868 mkOp3(OP_INSBF, TYPE_U32, val0, src2, mkImm(0x808), src1); in handleInstruction()
[all …]
Dnv50_ir_peephole.cpp952 newi = bld.mkMov(def, bld.mkImm((uint32_t)(val & mask)), TYPE_U32); in opnd()
968 TYPE_S32, i->getSrc(t), bld.mkImm(0)); in opnd()
1099 i->setSrc(1, bld.mkImm(util_logbase2(imm0.reg.data.u32))); in opnd()
1122 bld.mkOp2(OP_SHR, TYPE_U32, tA, tB, bld.mkImm(r)); in opnd()
1128 bld.mkOp2(OP_SHR, TYPE_U32, i->getDef(0), tB, bld.mkImm(s)); in opnd()
1152 bld.mkOp2(OP_SHR, TYPE_S32, tB, tA, bld.mkImm(l - 1)); in opnd()
1156 bld.mkCmp(OP_SET, CC_LT, TYPE_S32, tA, TYPE_S32, i->getSrc(0), bld.mkImm(0)); in opnd()
1393 bld.mkImm(imm0.reg.data.u32))); in opnd()
1426 i->setSrc(0, bld.mkImm(res)); in opnd()
1490 i->setSrc(0, bld.mkImm(res.data.dst)); \ in opnd()
[all …]