Home
last modified time | relevance | path

Searched refs:mkOp1v (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_build_util.cpp404 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_build_util.h57 LValue *mkOp1v(operation, DataType, Value *, Value *);
273 BuildUtil::mkOp1v(operation op, DataType ty, Value *dst, Value *src) in mkOp1v() function
Dnv50_ir_from_tgsi.cpp1840 val = mkOp1v(OP_ABS, ty, getScratch(), val); in applySrcMod()
1843 val = mkOp1v(OP_NEG, ty, getScratch(), val); in applySrcMod()
2033 return mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_PRIMITIVE_ID, 0)); in fetchSrc()
2272 proj = mkOp1v(OP_RCP, TYPE_F32, getSSA(), proj); in loadProjTexCoords()
2289 proj = mkOp1v(OP_RCP, TYPE_F32, getSSA(), fetchSrc(0, 3)); in loadProjTexCoords()
2447 Value *x = mkOp1v(OP_RDSV, TYPE_F32, getScratch(), mkSysVal(SV_POSITION, 0)); in handleFBFETCH()
2448 Value *y = mkOp1v(OP_RDSV, TYPE_F32, getScratch(), mkSysVal(SV_POSITION, 1)); in handleFBFETCH()
2449 Value *z = mkOp1v(OP_RDSV, TYPE_U32, getScratch(), mkSysVal(SV_LAYER, 0)); in handleFBFETCH()
2450 Value *ms = mkOp1v(OP_RDSV, TYPE_U32, getScratch(), mkSysVal(SV_SAMPLE_INDEX, 0)); in handleFBFETCH()
3247 val0 = mkOp1v(OP_FLOOR, TYPE_F32, getSSA(), src0); in handleInstruction()
[all …]
Dnv50_ir_from_nir.cpp1362 mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_LANEID, 0)), in visit()
1363 mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_INVOCATION_ID, 0))); in visit()
1367 fragCoord[3] = mkOp1v(OP_RDSV, TYPE_F32, getSSA(), sv); in visit()
1368 fp.position = mkOp1v(OP_RCP, TYPE_F32, fragCoord[3], fragCoord[3]); in visit()
1653 src = mkOp1v(OP_SAT, TYPE_F32, getScratch(), src); in visit()
1687 Value *x = mkOp1v(OP_RDSV, TYPE_F32, getSSA(), mkSysVal(SV_POSITION, 0)); in visit()
1688 Value *y = mkOp1v(OP_RDSV, TYPE_F32, getSSA(), mkSysVal(SV_POSITION, 1)); in visit()
1692 srcs.push_back(mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_LAYER, 0))); in visit()
1693 srcs.push_back(mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_SAMPLE_INDEX, 0))); in visit()
2970 proj = mkOp1v(OP_RCP, TYPE_F32, getScratch(), getSrc(&insn->src[projIdx].src, 0)); in visit()
Dnv50_ir_lowering_nv50.cpp514 bf = bld.mkOp1v(OP_RCP, TYPE_F32, bld.getSSA(), bf); in handleDIV()
734 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), i->getSrc(c)); in handleTEX()
975 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), crd[c]); in handleTXD()
1309 Value *vstride = bld.mkOp1v(OP_RDSV, TYPE_U32, bld.getSSA(), sv); in handleLOAD()
Dnv50_ir_lowering_gm107.cpp156 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), crd[c]); in handleManualTXD()
Dnv50_ir_lowering_nvc0.cpp258 bld.mkOp1v(OP_NEG, TYPE_S32, bld.getSSA(), x32_minus_shift)) in handleShift()
944 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), i->getSrc(c)); in handleTEX()
1251 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), crd[c]); in handleManualTXD()
1694 bld.mkOp1v(OP_RDSV, TYPE_U32, bld.getScratch(), bld.mkSysVal(sv, 0)); in handleATOM()
2862 Value *tid = bld.mkOp1v(OP_RDSV, TYPE_U32, bld.getScratch(), in handleRDSV()
2991 vtx = bld.mkOp1v(OP_PFETCH, TYPE_U32, bld.getSSA(), bld.mkImm(0)); in handleRDSV()
Dnv50_ir_peephole.cpp1305 Value *abs = bld.mkOp1v(OP_ABS, TYPE_S32, bld.getSSA(), i->getSrc(0)); in opnd()