/third_party/mesa3d/src/nouveau/codegen/ |
D | nv50_ir_lowering_nvc0.cpp | 251 bld.mkOp2v(op, TYPE_U32, bld.getSSA(), src[1], shift), in handleShift() 252 bld.mkOp2v(antiop, TYPE_U32, bld.getSSA(), src[0], x32_minus_shift)) in handleShift() 923 ptr = bld.mkOp2v(OP_SHL, TYPE_U32, bld.getSSA(), ptr, bld.mkImm(2)); in loadTexHandle() 951 i->setSrc(c, bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), in handleTEX() 1075 ticRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTEX() 1081 tscRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTEX() 1258 src[c] = bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), crd[c], val); in handleManualTXD() 1380 ticRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTXQ() 1526 stVal = bld.mkOp2v(op, atom->dType, bld.getSSA(), ld->getDef(0), in handleSharedATOMNVE4() 1669 base = bld.mkOp2v(OP_ADD, TYPE_U64, base, base, ptr); in handleATOM() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 538 bf = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), bf, bld.mkImm(-2)); in handleDIV() 732 *ms = bld.mkOp2v(OP_ADD, TYPE_U32, tmp, *ms_x, *ms_y); in loadTexMsInfo() 745 bld.mkOp2v(OP_ADD, TYPE_U32, t, in loadMsInfo() 746 bld.mkOp2v(OP_SHL, TYPE_U32, t, ms, bld.mkImm(3)), in loadMsInfo() 794 i->setSrc(c, bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), in handleTEX() 1035 src[c] = bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), crd[c], val); in handleTXD() 1145 Value *ms = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), ms_x, ms_y); in handleSUQ() 1436 Value *attrib = bld.mkOp2v(OP_SHL, TYPE_U32, bld.getSSA(), in handleLOAD() 1611 sum = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getSSA(), addr, in handleLDST() 1634 Value *off = bld.mkOp2v(OP_SHL, TYPE_U32, bld.getSSA(), in handleMEMBAR() [all …]
|
D | nv50_ir_from_common.cpp | 92 res[i] = mkOp2v(OP_MUL, TYPE_F32, getScratch(), clipVtx[c], ucp); in handleUserClipPlanes()
|
D | nv50_ir_build_util.h | 58 LValue *mkOp2v(operation, DataType, Value *, Value *, Value *); 286 BuildUtil::mkOp2v(operation op, DataType ty, Value *dst, in mkOp2v() function
|
D | nv50_ir_lowering_gm107.cpp | 181 src[c] = bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), crd[c], val); in handleManualTXD() 276 Value *tmp = bld.mkOp2v(OP_AND, i->sType, bld.getScratch(), in handlePOPCNT()
|
D | nv50_ir_lowering_helper.cpp | 200 …Value *tmp = bld.mkOp2v(OP_MAX, dTy, bld.getSSA(8), insn->getSrc(0), bld.loadImm(bld.getSSA(8), 0.… in handleSAT()
|
D | nv50_ir_from_tgsi.cpp | 1882 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(4, FILE_ADDRESS), in getVertexBase() 1895 offset = mkOp2v(OP_ADD, TYPE_U32, getSSA(), in getOutputBase() 1899 vtxBase[s] = mkOp2v(OP_ADD, TYPE_U32, getSSA(), outBase, offset); in getOutputBase() 2004 return mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), index, mkImm(4)); in shiftAddress() 2317 dst[c] = mkOp2v(OP_MUL, TYPE_F32, getSSA(), src[c], proj); in loadProjTexCoords() 3139 w = mkOp2v(OP_RDSV, TYPE_F32, getSSA(), mkSysVal(SV_POSITION, 3), offset); in handleINTERP() 3283 val0 = mkOp2v(op, TYPE_F32, getScratch(), fetchSrc(0, 0), fetchSrc(1, 0)); in handleInstruction() 3369 mkOp2v(OP_SUB, TYPE_F32, getSSA(), src1, src2), src0, src2) in handleInstruction() 4369 outBase = mkOp2v( in run()
|
D | nv50_ir_peephole.cpp | 352 i->setIndirect(s, 0, bld.mkOp2v( in visit() 1316 Value *mod = bld.mkOp2v(OP_AND, TYPE_U32, bld.getSSA(), abs, in opnd() 1333 Value *div = bld.mkOp2v(OP_DIV, i->sType, bld.getSSA(), in opnd() 1336 bld.mkOp2v(OP_MUL, i->sType, bld.getSSA(), div, i->getSrc(1))); in opnd() 1534 i->setSrc(!adds, bld.mkOp2v(OP_SHL, i->dType, in opnd()
|
D | nv50_ir_from_nir.cpp | 845 indirect = mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), indirect, loadImm(NULL, 4)); in getIndirect() 1382 outBase = mkOp2v( in visit() 1967 Value *vtxBase = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(4, FILE_ADDRESS), in visit() 1990 vtxBase = mkOp2v(OP_ADD, TYPE_U32, getSSA(4, FILE_ADDRESS), outBase, vtxBase); in visit()
|