Home
last modified time | relevance | path

Searched refs:mkOp1 (Results 1 – 9 of 9) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_nv50.cpp80 bld->mkOp1(OP_ABS, mul->sType, s[0], mul->getSrc(0)); in expandIntegerMUL()
81 bld->mkOp1(OP_ABS, mul->sType, s[1], mul->getSrc(1)); in expandIntegerMUL()
157 bld->mkOp1(OP_NOT, fTy, rr[0], r[4]) in expandIntegerMUL()
159 bld->mkOp1(OP_NOT, fTy, rr[1], t[3]) in expandIntegerMUL()
507 bld.mkOp1(OP_ABS, ty, a, div->getSrc(0)); in handleDIV()
508 bld.mkOp1(OP_ABS, ty, b, div->getSrc(1)); in handleDIV()
549 bld.mkOp1(OP_NEG, ty, s, q)->setPredicate(CC_S, cond); in handleDIV()
550 bld.mkOp1(OP_MOV, ty, t, q)->setPredicate(CC_NS, cond); in handleDIV()
738 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleTEX()
857 Instruction *cond = bld.mkOp1(OP_UNION, TYPE_U32, bld.getScratch(), in handleTXB()
[all …]
Dnv50_ir_from_tgsi.cpp2059 ld = mkOp1(OP_RDSV, TYPE_U32, getSSA(), srcToSym(src, c)); in fetchSrc()
2108 mkOp1(OP_SAT, dstTy, val, val); in storeDst()
2145 mkOp1(OP_MOV, TYPE_U32, viewport, val); in storeDst()
3050 insn = mkOp1(OP_PIXLD, TYPE_U32, (offset = getScratch()), fetchSrc(1, 0)); in handleINTERP()
3077 mkOp1(OP_RCP, TYPE_F32, w, w); in handleINTERP()
3085 insn = mkOp1(op, TYPE_F32, dst[c], sym[c] ? sym[c] : srcToSym(src, c)); in handleINTERP()
3196 mkOp1(op, dstTy, dst0[c], fetchSrc(0, c)); in handleInstruction()
3201 mkOp1(OP_ABS, TYPE_F32, val0, src0); in handleInstruction()
3202 mkOp1(OP_RSQ, TYPE_F32, val0, val0); in handleInstruction()
3217 mkOp1(OP_MOV, TYPE_U32, dst0[c], fetchSrc(0, c)); in handleInstruction()
[all …]
Dnv50_ir_lowering_gm107.cpp60 bld.mkOp1(OP_MOV , TYPE_U32, src0, i->getSrc(0)); in handlePFETCH()
160 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleManualTXD()
241 bld.mkOp1(OP_RDSV, TYPE_U32, tmp0, bld.mkSysVal(SV_INVOCATION_INFO, 0)); in handlePFETCH()
247 bld.mkOp1(OP_MOV , TYPE_U32, tmp2, i->getSrc(0)); in handlePFETCH()
Dnv50_ir_from_nir.cpp1750 interp = mkOp1(nvirOp, TYPE_U32, lo, sym); in visit()
1759 interp = mkOp1(nvirOp, TYPE_U32, hi, sym1); in visit()
1769 Instruction *interp = mkOp1(nvirOp, dType, newDefs[i], sym); in visit()
1810mkOp1(OP_PIXLD, TYPE_U32, newDefs[0], getSrc(&insn->src[0], 0))->subOp = NV50_IR_SUBOP_PIXLD_OFFSE… in visit()
1878 Instruction *rdsv = mkOp1(OP_RDSV, TYPE_U32, def, sym); in visit()
1900 mkOp1(OP_VOTE, TYPE_U32, pred, pred)->subOp = getSubOp(op); in visit()
1908 mkOp1(OP_VOTE, TYPE_U32, newDefs[0], pred)->subOp = NV50_IR_SUBOP_VOTE_ANY; in visit()
1918 mkOp1(OP_VOTE, TYPE_U32, tmp, mkImm(1))->subOp = NV50_IR_SUBOP_VOTE_ANY; in visit()
1919 mkOp1(OP_BREV, TYPE_U32, tmp, tmp); in visit()
1920 mkOp1(OP_BFIND, TYPE_U32, tmp, tmp)->subOp = NV50_IR_SUBOP_BFIND_SAMT; in visit()
[all …]
Dnv50_ir_lowering_helper.cpp261 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()
Dnv50_ir_build_util.cpp66 BuildUtil::mkOp1(operation op, DataType ty, Value *dst, Value *src) in mkOp1() function in nv50_ir::BuildUtil
141 Instruction *insn = mkOp1(OP_VFETCH, ty, dst, sym); in mkFetch()
164 Instruction *insn = mkOp1(op, ty, dst, sym); in mkInterp()
303 insn = mkOp1(OP_SPLIT, fTy, h[0], val); in mkSplit()
Dnv50_ir_lowering_nvc0.cpp902 bld.mkOp1(OP_FINAL, TYPE_NONE, NULL, gpEmitAddress)->fixed = 1; in visit()
948 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleTEX()
1255 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleManualTXD()
1722 Instruction *cctl = bld.mkOp1(OP_CCTL, TYPE_NONE, NULL, cas->getSrc(0)); in handleCasExch()
2815 bld.mkOp1(OP_RDSV, TYPE_U32, laneid, bld.mkSysVal(SV_LANEID, 0)); in readTessCoord()
2897 bld.mkOp1(OP_NEG, TYPE_S32, face, face); in handleRDSV()
2926 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, i->getDef(0), bld.mkImm(0)); in handleRDSV()
2931 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, sampleID, bld.mkImm(0)); in handleRDSV()
2960 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, i->getDef(0), bld.mkImm(0)); in handleRDSV()
2963 bld.mkOp1(OP_PIXLD, TYPE_U32, bld.getSSA(), bld.mkImm(0)); in handleRDSV()
[all …]
Dnv50_ir_build_util.h53 Instruction *mkOp1(operation, DataType, Value *, Value *);
275 mkOp1(op, ty, dst, src); in mkOp1v()
Dnv50_ir_peephole.cpp1284 bld.mkOp1(OP_NEG, TYPE_S32, i->getDef(0), tB); in opnd()
1312 bld.mkOp1(OP_NEG, TYPE_S32, (v1 = bld.getSSA()), mod) in opnd()
1314 bld.mkOp1(OP_MOV, TYPE_S32, (v2 = bld.getSSA()), mod) in opnd()