Home
last modified time | relevance | path

Searched refs:mkOp1 (Results 1 – 7 of 7) 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_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()
248 bld.mkOp1(OP_MOV , TYPE_U32, tmp2, i->getSrc(0)); in handlePFETCH()
Dnv50_ir_from_tgsi.cpp2129 ld = mkOp1(OP_RDSV, TYPE_U32, getSSA(), srcToSym(src, c)); in fetchSrc()
2178 mkOp1(OP_SAT, dstTy, val, val); in storeDst()
2215 mkOp1(OP_MOV, TYPE_U32, viewport, val); in storeDst()
3109 insn = mkOp1(OP_PIXLD, TYPE_U32, (offset = getScratch()), fetchSrc(1, 0)); 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()
3279 mkOp1(op, dstTy, dst0[c], fetchSrc(0, c)); in handleInstruction()
3284 mkOp1(OP_ABS, TYPE_F32, val0, src0); in handleInstruction()
3285 mkOp1(OP_RSQ, TYPE_F32, val0, val0); in handleInstruction()
3300 mkOp1(OP_MOV, TYPE_U32, dst0[c], fetchSrc(0, c)); in handleInstruction()
[all …]
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.cpp834 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleTEX()
1157 bld.mkOp1(OP_RCP, TYPE_F32, val, val); in handleManualTXD()
1622 Instruction *cctl = bld.mkOp1(OP_CCTL, TYPE_NONE, NULL, cas->getSrc(0)); in handleCasExch()
2548 bld.mkOp1(OP_RDSV, TYPE_U32, laneid, bld.mkSysVal(SV_LANEID, 0)); in readTessCoord()
2618 bld.mkOp1(OP_NEG, TYPE_S32, face, face); in handleRDSV()
2647 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, i->getDef(0), bld.mkImm(0)); in handleRDSV()
2652 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, i->getDef(0), bld.mkImm(0)); in handleRDSV()
2665 ld = bld.mkOp1(OP_PIXLD, TYPE_U32, i->getDef(0), bld.mkImm(0)); in handleRDSV()
2668 bld.mkOp1(OP_PIXLD, TYPE_U32, bld.getSSA(), bld.mkImm(0)); in handleRDSV()
2716 Instruction *rcp = bld.mkOp1(OP_RCP, i->dType, bld.getSSA(typeSizeof(i->dType)), i->getSrc(1)); in handleDIV()
[all …]
Dnv50_ir_build_util.h53 Instruction *mkOp1(operation, DataType, Value *, Value *);
275 mkOp1(op, ty, dst, src); in mkOp1v()
Dnv50_ir_peephole.cpp1160 bld.mkOp1(OP_NEG, TYPE_S32, i->getDef(0), tB); in opnd()
1187 bld.mkOp1(OP_NEG, TYPE_S32, (v1 = bld.getSSA()), mod) in opnd()
1189 bld.mkOp1(OP_MOV, TYPE_S32, (v2 = bld.getSSA()), mod) in opnd()