/external/mesa3d/src/gallium/drivers/nouveau/codegen/ |
D | nv50_ir_lowering_helper.cpp | 67 Value *neg = bld.getSSA(8); in handleABS() 69 Value *lo = bld.getSSA(), *hi = bld.getSSA(); in handleABS() 100 Value *tmp = bld.getSSA(); in handleCVT() 101 bld.mkOp2(OP_SHR, TYPE_S32, tmp, insn->getSrc(0), bld.loadImm(bld.getSSA(), 31)); in handleCVT() 106 insn->setSrc(1, bld.loadImm(bld.getSSA(), 0)); in handleCVT() 122 Value *flag = bld.getSSA(1, FILE_FLAGS); in handleMAXMIN() 130 def[0] = bld.getSSA(); in handleMAXMIN() 131 def[1] = bld.getSSA(); in handleMAXMIN() 163 Value *hi = bld.getSSA(); in handleMOV() 164 Value *lo = bld.getSSA(); in handleMOV() [all …]
|
D | nv50_ir_lowering_nv50.cpp | 75 t[j] = bld->getSSA(fullSize); in expandIntegerMUL() 78 s[0] = bld->getSSA(fullSize); in expandIntegerMUL() 79 s[1] = bld->getSSA(fullSize); in expandIntegerMUL() 117 c[0] = bld->getSSA(1, FILE_FLAGS); in expandIntegerMUL() 118 c[1] = bld->getSSA(1, FILE_FLAGS); in expandIntegerMUL() 120 r[j] = bld->getSSA(fullSize); in expandIntegerMUL() 143 Value *one = bld->getSSA(fullSize); in expandIntegerMUL() 146 rr[j] = bld->getSSA(fullSize); in expandIntegerMUL() 154 ->setFlagsDef(0, (cc[0] = bld->getSSA(1, FILE_FLAGS))); in expandIntegerMUL() 165 n->setFlagsDef(0, (cc[1] = bld->getSSA(1, FILE_FLAGS))); in expandIntegerMUL() [all …]
|
D | nv50_ir_lowering_nvc0.cpp | 102 def[0] = bld.getSSA(); in handleRCPRSQLib() 103 def[1] = bld.getSSA(); in handleRCPRSQLib() 139 dst[1] = bld.getSSA(); in handleRCPRSQ() 245 bld.mkOp2(OP_ADD, TYPE_U32, (x32_minus_shift = bld.getSSA()), shift, bld.mkImm(0x20)) in handleShift() 247 bld.mkCmp(OP_SET, CC_LE, TYPE_U8, (pred = bld.getSSA(1, FILE_PREDICATE)), in handleShift() 250 bld.mkOp2(OP_OR, TYPE_U32, (hi1 = bld.getSSA()), in handleShift() 251 bld.mkOp2v(op, TYPE_U32, bld.getSSA(), src[1], shift), in handleShift() 252 bld.mkOp2v(antiop, TYPE_U32, bld.getSSA(), src[0], x32_minus_shift)) in handleShift() 255 bld.mkOp2(op, type, (dst[0] = bld.getSSA()), src[0], shift); in handleShift() 257 bld.mkOp2(op, type, (hi2 = bld.getSSA()), src[0], in handleShift() [all …]
|
D | nv50_ir_lowering_gv100.cpp | 35 Value *pred = bld.getSSA(1, FILE_PREDICATE); in handleCMP() 48 Value *carry = bld.getSSA(1, FILE_PREDICATE); in handleIADD64() 49 Value *def[2] = { bld.getSSA(), bld.getSSA() }; in handleIADD64() 72 Value *def = bld.getSSA(8), *defs[2]; in handleIMAD_HIGH() 77 Value *src2s[2] = { bld.getSSA(), bld.getSSA() }; in handleIMAD_HIGH() 80 src2 = bld.mkOp2(OP_MERGE, TYPE_U64, bld.getSSA(8), src2s[0], src2s[1])->getDef(0); in handleIMAD_HIGH() 99 Value *pred = bld.getSSA(1, FILE_PREDICATE); in handleIMNMX() 175 Value *pred = bld.getSSA(1, FILE_PREDICATE), *met; in handleSET() 327 Value *pred = bld.getSSA(1, FILE_PREDICATE); in handleDMNMX() 410 ipa->setDef(1, bld.getSSA(1, FILE_PREDICATE)); in handlePINTERP()
|
D | nv50_ir_from_nir.cpp | 764 newDef[i] = getSSA(std::max(4, def->bit_size / 8)); in convert() 839 indirect = mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), indirect, loadImm(NULL, 4)); in getIndirect() 1226 Value *lo = getSSA(); in loadFrom() 1227 Value *hi = getSSA(); in loadFrom() 1266 split[0] = mkMov(getSSA(), split[0], ty)->getDef(0); in storeTo() 1267 split[1] = mkMov(getSSA(), split[1], ty)->getDef(0); in storeTo() 1276 src = mkMov(getSSA(size), src, ty)->getDef(0); in storeTo() 1361 OP_SUB, TYPE_U32, getSSA(), in visit() 1362 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() [all …]
|
D | nv50_ir_from_tgsi.cpp | 1858 vtxBase[s] = mkOp2v(OP_PFETCH, TYPE_U32, getSSA(4, FILE_ADDRESS), in getVertexBase() 1871 offset = mkOp2v(OP_ADD, TYPE_U32, getSSA(), in getOutputBase() 1875 vtxBase[s] = mkOp2v(OP_ADD, TYPE_U32, getSSA(), outBase, offset); in getOutputBase() 1980 return mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), index, mkImm(4)); in shiftAddress() 2033 return mkOp1v(OP_RDSV, TYPE_U32, getSSA(), mkSysVal(SV_PRIMITIVE_ID, 0)); in fetchSrc() 2042 ld = mkLoad(TYPE_U32, getSSA(), srcToSym(src, c), shiftAddress(ptr)); in fetchSrc() 2047 ld = mkLoad(TYPE_U32, getSSA(), srcToSym(src, c), shiftAddress(ptr)); in fetchSrc() 2059 ld = mkOp1(OP_RDSV, TYPE_U32, getSSA(), srcToSym(src, c)); 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() [all …]
|
D | nv50_ir_lowering_gm107.cpp | 55 src0 = bld.getSSA(); in handlePFETCH() 156 src[c] = bld.mkOp1v(OP_ABS, TYPE_F32, bld.getSSA(), crd[c]); in handleManualTXD() 162 src[c] = bld.mkOp2v(OP_MUL, TYPE_F32, bld.getSSA(), crd[c], val); in handleManualTXD() 187 def[c][l] = bld.getSSA(); in handleManualTXD()
|
D | nv50_ir_peephole.cpp | 351 OP_SHL, TYPE_U32, bld.getSSA(), insn->getSrc(0), insn->getSrc(1))); in visit() 761 i->setSrc(1, bld.mkMov(bld.getSSA(type), i->getSrc(0), type)->getDef(0)); in expr() 1003 Value *res = c ? bld.getSSA(typeSizeof(ty)) : def; in createMul() 1022 Value *res = c ? bld.getSSA() : def; in createMul() 1037 Value *tmp = bld.mkOp3v(OP_XMAD, TYPE_U32, bld.getSSA(), in createMul() 1237 tA = bld.getSSA(); in opnd() 1238 tB = bld.getSSA(); in opnd() 1243 tA = bld.getSSA(); in opnd() 1248 tB = s ? bld.getSSA() : i->getDef(0); in opnd() 1271 tA = bld.getSSA(); in opnd() [all …]
|
D | nv50_ir_build_util.cpp | 275 LValue *def0 = getSSA(); in mkSelect() 276 LValue *def1 = getSSA(); in mkSelect() 292 val = mkMov(getSSA(halfSize * 2), val, fTy)->getDef(0); in mkSplit() 301 h[0] = getSSA(halfSize, val->reg.file); in mkSplit() 302 h[1] = getSSA(halfSize, val->reg.file); in mkSplit()
|
D | nv50_ir_build_util.h | 50 inline LValue *getSSA(int size = 4, DataFile = FILE_GPR); 236 BuildUtil::getSSA(int size, DataFile f) in getSSA() function
|