/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_gm107.cpp | 60 bld.mkOp1(OP_MOV , TYPE_U32, src0, i->getSrc(0)); in handlePFETCH() 179 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleManualTXD() 201 bld.mkOp1(OP_QUADPOP, TYPE_U32, NULL, bar)->fixed = 1; in handleManualTXD() 260 bld.mkOp1(OP_RDSV, TYPE_U32, tmp0, bld.mkSysVal(SV_INVOCATION_INFO, 0)); in handlePFETCH() 266 bld.mkOp1(OP_MOV , TYPE_U32, tmp2, i->getSrc(0)); in handlePFETCH()
|
D | nv50_ir_from_tgsi.cpp | 2083 ld = mkOp1(OP_RDSV, TYPE_U32, getSSA(), srcToSym(src, c)); in fetchSrc() 2132 mkOp1(OP_SAT, dstTy, val, val); in storeDst() 2169 mkOp1(OP_MOV, TYPE_U32, viewport, val); in storeDst() 3108 insn = mkOp1(OP_PIXLD, TYPE_U32, (offset = getScratch()), sample); in handleINTERP() 3136 mkOp1(OP_RCP, TYPE_F32, w, w); in handleINTERP() 3144 insn = mkOp1(op, TYPE_F32, dst[c], sym[c] ? sym[c] : srcToSym(src, c)); in handleINTERP() 3255 mkOp1(op, dstTy, dst0[c], fetchSrc(0, c)); in handleInstruction() 3260 mkOp1(OP_ABS, TYPE_F32, val0, src0); in handleInstruction() 3261 mkOp1(OP_RSQ, TYPE_F32, val0, val0); in handleInstruction() 3276 mkOp1(OP_MOV, TYPE_U32, dst0[c], fetchSrc(0, c)); in handleInstruction() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 98 bld->mkOp1(OP_ABS, mul->sType, s[0], mul->getSrc(0)); in expandIntegerMUL() 99 bld->mkOp1(OP_ABS, mul->sType, s[1], mul->getSrc(1)); in expandIntegerMUL() 175 bld->mkOp1(OP_NOT, fTy, rr[0], r[4]) in expandIntegerMUL() 177 bld->mkOp1(OP_NOT, fTy, rr[1], t[3]) in expandIntegerMUL() 530 bld.mkOp1(OP_ABS, ty, a, div->getSrc(0)); in handleDIV() 531 bld.mkOp1(OP_ABS, ty, b, div->getSrc(1)); in handleDIV() 572 bld.mkOp1(OP_NEG, ty, s, q)->setPredicate(CC_S, cond); in handleDIV() 573 bld.mkOp1(OP_MOV, ty, t, q)->setPredicate(CC_NS, cond); in handleDIV() 792 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleTEX() 911 Instruction *cond = bld.mkOp1(OP_UNION, TYPE_U32, bld.getScratch(), in handleTXB() [all …]
|
D | nv50_ir_from_nir.cpp | 1758 interp = mkOp1(nvirOp, TYPE_U32, lo, sym); in visit() 1767 interp = mkOp1(nvirOp, TYPE_U32, hi, sym1); in visit() 1777 Instruction *interp = mkOp1(nvirOp, dType, newDefs[i], sym); in visit() 1821 mkOp1(OP_PIXLD, TYPE_U32, newDefs[0], sample)->subOp = NV50_IR_SUBOP_PIXLD_OFFSET; in visit() 1889 Instruction *rdsv = mkOp1(OP_RDSV, TYPE_U32, def, sym); in visit() 1911 mkOp1(OP_VOTE, TYPE_U32, pred, pred)->subOp = getSubOp(op); in visit() 1919 mkOp1(OP_VOTE, TYPE_U32, newDefs[0], pred)->subOp = NV50_IR_SUBOP_VOTE_ANY; in visit() 1929 mkOp1(OP_VOTE, TYPE_U32, tmp, mkImm(1))->subOp = NV50_IR_SUBOP_VOTE_ANY; in visit() 1930 mkOp1(OP_BREV, TYPE_U32, tmp, tmp); in visit() 1931 mkOp1(OP_BFIND, TYPE_U32, tmp, tmp)->subOp = NV50_IR_SUBOP_BFIND_SAMT; in visit() [all …]
|
D | nv50_ir_build_util.cpp | 68 BuildUtil::mkOp1(operation op, DataType ty, Value *dst, Value *src) in mkOp1() function in nv50_ir::BuildUtil 143 Instruction *insn = mkOp1(OP_VFETCH, ty, dst, sym); in mkFetch() 166 Instruction *insn = mkOp1(op, ty, dst, sym); in mkInterp() 305 insn = mkOp1(OP_SPLIT, fTy, h[0], val); in mkSplit()
|
D | nv50_ir_lowering_helper.cpp | 261 Instruction *lo = bld.mkOp1(insn->op, sTy, def0, src0[0]); in handleLogOp() 262 Instruction *hi = bld.mkOp1(insn->op, sTy, def1, src0[1]); in handleLogOp()
|
D | nv50_ir_lowering_nvc0.cpp | 903 bld.mkOp1(OP_FINAL, TYPE_NONE, NULL, gpEmitAddress)->fixed = 1; in visit() 949 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleTEX() 1256 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleManualTXD() 1723 Instruction *cctl = bld.mkOp1(OP_CCTL, TYPE_NONE, NULL, cas->getSrc(0)); in handleCasExch() 2904 bld.mkOp1(OP_RDSV, TYPE_U32, laneid, bld.mkSysVal(SV_LANEID, 0)); in readTessCoord() 2986 bld.mkOp1(OP_NEG, TYPE_S32, face, face); in handleRDSV() 3015 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, i->getDef(0), bld.mkImm(0)); in handleRDSV() 3020 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, sampleID, bld.mkImm(0)); in handleRDSV() 3049 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, i->getDef(0), bld.mkImm(0)); in handleRDSV() 3052 bld.mkOp1(OP_PIXLD, TYPE_U32, bld.getSSA(), bld.mkImm(0)); in handleRDSV() [all …]
|
D | nv50_ir_build_util.h | 53 Instruction *mkOp1(operation, DataType, Value *, Value *); 281 mkOp1(op, ty, dst, src); in mkOp1v()
|
D | nv50_ir_peephole.cpp | 1290 bld.mkOp1(OP_NEG, TYPE_S32, i->getDef(0), tB); in opnd() 1318 bld.mkOp1(OP_NEG, TYPE_S32, (v1 = bld.getSSA()), mod) in opnd() 1320 bld.mkOp1(OP_MOV, TYPE_S32, (v2 = bld.getSSA()), mod) in opnd()
|