Home
last modified time | relevance | path

Searched refs:getSSA (Results 1 – 7 of 7) sorted by relevance

/external/mesa3d/src/gallium/drivers/nv50/codegen/
Dnv50_ir_lowering_nv50.cpp66 t[j] = bld->getSSA(fullSize); in expandIntegerMUL()
80 c[0] = bld->getSSA(1, FILE_FLAGS); in expandIntegerMUL()
81 c[1] = bld->getSSA(1, FILE_FLAGS); in expandIntegerMUL()
83 r[j] = bld->getSSA(fullSize); in expandIntegerMUL()
337 r = bld.getSSA(); in handleAddrDef()
348 arl = bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.getSSA(), bld.mkImm(0)); in handleAddrDef()
396 Value *a, *af = bld.getSSA(); in handleDIV()
397 Value *b, *bf = bld.getSSA(); in handleDIV()
405 a = bld.getSSA(); in handleDIV()
406 b = bld.getSSA(); in handleDIV()
[all …]
Dnv50_ir_from_sm4.cpp1150 srcPtr[s][dim] = mkOp2v(OP_SHL, TYPE_U32, getSSA(), index, mkImm(shl)); in getSrcPtr()
1167 index = mkOp2v(OP_SHL, TYPE_U32, getSSA(), index, mkImm(shl)); in getDstPtr()
1185 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(), mkImm(idx), vtxBase[s]); in getVtxPtr()
1274 res = getSSA(); in src()
1310 res = mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_PRIMITIVE_ID, 0)); in src()
1315 res = mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_INVOCATION_ID, 0)); in src()
1319 mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_CLOCK, swz ? 1 : 0)); in src()
1347 res = mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_TID, swz)); in src()
1350 res = mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_CTAID, swz)); in src()
1362 res = mkOp1v(OP_ABS, sTy, getSSA(res->reg.size), res); in src()
[all …]
Dnv50_ir_build_util.cpp272 LValue *def0 = getSSA(); in mkSelect()
273 LValue *def1 = getSSA(); in mkSelect()
289 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit()
298 h[0] = getSSA(halfSize, val->reg.file); in mkSplit()
299 h[1] = getSSA(halfSize, val->reg.file); in mkSplit()
Dnv50_ir_from_tgsi.cpp1251 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(), mkImm(index), rel); in getVertexBase()
1334 return mkOp1v(OP_RDSV, TYPE_F32, getSSA(), mkSysVal(SV_FACE, 0)); in fetchSrc()
1343 return mkOp1v(OP_RDSV, TYPE_U32, getSSA(), srcToSym(src, c)); in fetchSrc()
1519 proj = mkOp1v(OP_RCP, TYPE_F32, getSSA(), proj); in loadProjTexCoords()
1536 proj = mkOp1v(OP_RCP, TYPE_F32, getSSA(), fetchSrc(0, 3)); in loadProjTexCoords()
1540 dst[c] = mkOp2v(OP_MUL, TYPE_F32, getSSA(), src[c], proj); in loadProjTexCoords()
1591 src[c] = mkOp1v(OP_ABS, TYPE_F32, getSSA(), arg[c]); in handleTEX()
1597 src[c] = mkOp2v(OP_MUL, TYPE_F32, getSSA(), arg[c], val); in handleTEX()
1847 val0 = mkOp1v(OP_PRESIN, TYPE_F32, getSSA(), fetchSrc(0, 0)); in handleInstruction()
1860 val0 = mkOp1v(OP_FLOOR, TYPE_F32, getSSA(), src0); in handleInstruction()
[all …]
Dnv50_ir_build_util.h50 inline LValue *getSSA(int size = 4, DataFile = FILE_GPR);
226 BuildUtil::getSSA(int size, DataFile f) in getSSA() function
Dnv50_ir_peephole.cpp701 tA = bld.getSSA(); in opnd()
702 tB = bld.getSSA(); in opnd()
707 tA = bld.getSSA(); in opnd()
712 tB = s ? bld.getSSA() : i->getDef(0); in opnd()
734 tA = bld.getSSA(); in opnd()
735 tB = bld.getSSA(); in opnd()
742 tA = bld.getSSA(); in opnd()
744 tD = (d < 0) ? bld.getSSA() : i->getDef(0)->asLValue(); in opnd()
974 abs->setSrc(2, bld.loadImm(bld.getSSA(typeSizeof(ty)), 0)); in handleABS()
/external/mesa3d/src/gallium/drivers/nvc0/codegen/
Dnv50_ir_lowering_nvc0.cpp761 Value *zero = bld.loadImm(bld.getSSA(), 0); in handleManualTXD()
788 def[c][l] = bld.getSSA(); in handleManualTXD()
863 Value *laneid = bld.getSSA(); in readTessCoord()
877 x = bld.getSSA(); in readTessCoord()
878 y = bld.getSSA(); in readTessCoord()
923 vtx = bld.mkOp1v(OP_PFETCH, TYPE_U32, bld.getSSA(), bld.mkImm(0)); in handleRDSV()
939 Instruction *rcp = bld.mkOp1(OP_RCP, i->dType, bld.getSSA(), i->getSrc(1)); in handleDIV()
964 bld.getSSA(), i->getSrc(0)); in handleSQRT()