Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_gm107.cpp115 crd[c] = bld.getScratch(); in handleManualTXD()
116 arr = bld.getScratch(); in handleManualTXD()
117 shadow = bld.getScratch(); in handleManualTXD()
118 tmp = bld.getScratch(); in handleManualTXD()
157 val = bld.getScratch(); in handleManualTXD()
224 shfl = bld.mkOp3(OP_SHFL, TYPE_F32, bld.getScratch(), insn->getSrc(0), in handleDFDX()
238 Value *tmp0 = bld.getScratch(); in handlePFETCH()
239 Value *tmp1 = bld.getScratch(); in handlePFETCH()
240 Value *tmp2 = bld.getScratch(); in handlePFETCH()
257 Value *tmp = bld.mkOp2v(OP_AND, i->sType, bld.getScratch(), in handlePOPCNT()
Dnv50_ir_lowering_gv100.cpp344 Value *bit = bld.getScratch(); in handleEXTBF()
345 Value *cnt = bld.getScratch(); in handleEXTBF()
346 Value *mask = bld.getScratch(); in handleEXTBF()
379 Value *bit = bld.getScratch(); in handleINSBF()
380 Value *cnt = bld.getScratch(); in handleINSBF()
381 Value *mask = bld.getScratch(); in handleINSBF()
382 Value *src0 = bld.getScratch(); in handleINSBF()
Dnv50_ir_from_tgsi.cpp1820 insn->setDef(0, getScratch()); in interpolate()
1840 val = mkOp1v(OP_ABS, ty, getScratch(), val); in applySrcMod()
1843 val = mkOp1v(OP_NEG, ty, getScratch(), val); in applySrcMod()
2090 return getScratch(); in acquireDst()
2177 Value *dotp = getScratch(); in buildDot()
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()
2477 val0 = getScratch(); in handleLIT()
[all …]
Dnv50_ir_lowering_nv50.cpp676 tid = bld.mkMov(bld.getScratch(), arg, TYPE_U32)->getDef(0); in visit()
735 val = bld.getScratch(); in handleTEX()
857 Instruction *cond = bld.mkOp1(OP_UNION, TYPE_U32, bld.getScratch(), in handleTXB()
864 Value *pred = bld.getScratch(1, FILE_FLAGS); in handleTXB()
870 Value *flags = bld.getScratch(1, FILE_FLAGS); in handleTXB()
920 Value *pred = bld.getScratch(1, FILE_FLAGS); in handleTXL()
958 crd[c] = bld.getScratch(); in handleTXD()
976 val = bld.getScratch(); in handleTXD()
1065 Value *pred = bld.getScratch(1, FILE_FLAGS); in handleSLCT()
1253 LValue *val = bld.getScratch(); in handlePOW()
[all …]
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()
502 return up->getScratch(eltSize); in acquire()
Dnv50_ir_lowering_nvc0.cpp945 val = bld.getScratch(); in handleTEX()
1013 Value *hnd = bld.getScratch(); in handleTEX()
1074 ticRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTEX()
1080 tscRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTEX()
1136 bld.mkMov(offs[n / 2] = bld.getScratch(), i->offset[n][c].get()); in handleTEX()
1165 Value *offset = bld.getScratch(); in handleTEX()
1219 crd[c] = bld.getScratch(); in handleManualTXD()
1221 arr[c] = bld.getScratch(); in handleManualTXD()
1222 shadow = bld.getScratch(); in handleManualTXD()
1252 val = bld.getScratch(); in handleManualTXD()
[all …]
Dnv50_ir_build_util.h48 inline LValue *getScratch(int size = 4, DataFile = FILE_GPR);
228 BuildUtil::getScratch(int size, DataFile f) in getScratch() function
298 LValue *dst = getScratch(typeSizeof(ty)); in mkLoadv()
Dnv50_ir_from_common.cpp92 res[i] = mkOp2v(OP_MUL, TYPE_F32, getScratch(), clipVtx[c], ucp); in handleUserClipPlanes()
Dnv50_ir_from_nir.cpp751 newDef[i] = getScratch(std::max(4, reg->bit_size / 8)); in convert()
1355 clipVtx[c] = getScratch(); in visit()
1653 src = mkOp1v(OP_SAT, TYPE_F32, getScratch(), src); in visit()
1797 offs[c] = getScratch(); in visit()
1898 Value *pred = getScratch(1, FILE_PREDICATE); in visit()
1915 Value *tmp = getScratch(); in visit()
2660 LValue *val0 = getScratch(); in visit()
2661 LValue *val1 = getScratch(); in visit()
2818 LValue *def = getScratch(); in visit()
2902 return mkOp2v(OP_MUL, TYPE_F32, getScratch(), src, proj); in applyProjection()
[all …]