Home
last modified time | relevance | path

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

/third_party/mesa3d/src/nouveau/codegen/
Dnv50_ir_lowering_gm107.cpp133 crd[c] = bld.getScratch(); in handleManualTXD()
134 arr = bld.getScratch(); in handleManualTXD()
135 shadow = bld.getScratch(); in handleManualTXD()
136 tmp = bld.getScratch(); in handleManualTXD()
176 val = bld.getScratch(); in handleManualTXD()
243 shfl = bld.mkOp3(OP_SHFL, TYPE_F32, bld.getScratch(), insn->getSrc(0), in handleDFDX()
257 Value *tmp0 = bld.getScratch(); in handlePFETCH()
258 Value *tmp1 = bld.getScratch(); in handlePFETCH()
259 Value *tmp2 = bld.getScratch(); in handlePFETCH()
276 Value *tmp = bld.mkOp2v(OP_AND, i->sType, bld.getScratch(), in handlePOPCNT()
Dnv50_ir_lowering_gv100.cpp348 Value *bit = bld.getScratch(); in handleEXTBF()
349 Value *cnt = bld.getScratch(); in handleEXTBF()
350 Value *mask = bld.getScratch(); in handleEXTBF()
383 Value *bit = bld.getScratch(); in handleINSBF()
384 Value *cnt = bld.getScratch(); in handleINSBF()
385 Value *mask = bld.getScratch(); in handleINSBF()
386 Value *src0 = bld.getScratch(); in handleINSBF()
Dnv50_ir_from_tgsi.cpp1844 insn->setDef(0, getScratch()); in interpolate()
1864 val = mkOp1v(OP_ABS, ty, getScratch(), val); in applySrcMod()
1867 val = mkOp1v(OP_NEG, ty, getScratch(), val); in applySrcMod()
2114 return getScratch(); in acquireDst()
2201 Value *dotp = getScratch(); in buildDot()
2471 Value *x = mkOp1v(OP_RDSV, TYPE_F32, getScratch(), mkSysVal(SV_POSITION, 0)); in handleFBFETCH()
2472 Value *y = mkOp1v(OP_RDSV, TYPE_F32, getScratch(), mkSysVal(SV_POSITION, 1)); in handleFBFETCH()
2473 Value *z = mkOp1v(OP_RDSV, TYPE_U32, getScratch(), mkSysVal(SV_LAYER, 0)); in handleFBFETCH()
2474 Value *ms = mkOp1v(OP_RDSV, TYPE_U32, getScratch(), mkSysVal(SV_SAMPLE_INDEX, 0)); in handleFBFETCH()
2501 val0 = getScratch(); in handleLIT()
[all …]
Dnv50_ir_build_util.cpp418 return mkOp1v(OP_MOV, TYPE_F32, dst ? dst : getScratch(), mkImm(f)); in loadImm()
424 return mkOp1v(OP_MOV, TYPE_F64, dst ? dst : getScratch(8), mkImm(d)); in loadImm()
430 return mkOp1v(OP_MOV, TYPE_U16, dst ? dst : getScratch(2), mkImm(u)); in loadImm()
436 return mkOp1v(OP_MOV, TYPE_U32, dst ? dst : getScratch(), mkImm(u)); in loadImm()
442 return mkOp1v(OP_MOV, TYPE_U64, dst ? dst : getScratch(8), mkImm(u)); in loadImm()
532 return up->getScratch(eltSize); in acquire()
Dnv50_ir_lowering_nvc0.cpp946 val = bld.getScratch(); in handleTEX()
1014 Value *hnd = bld.getScratch(); in handleTEX()
1075 ticRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTEX()
1081 tscRel = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), in handleTEX()
1137 bld.mkMov(offs[n / 2] = bld.getScratch(), i->offset[n][c].get()); in handleTEX()
1166 Value *offset = bld.getScratch(); in handleTEX()
1220 crd[c] = bld.getScratch(); in handleManualTXD()
1222 arr[c] = bld.getScratch(); in handleManualTXD()
1223 shadow = bld.getScratch(); in handleManualTXD()
1253 val = bld.getScratch(); in handleManualTXD()
[all …]
Dnv50_ir_build_util.h48 inline LValue *getScratch(int size = 4, DataFile = FILE_GPR);
234 BuildUtil::getScratch(int size, DataFile f) in getScratch() function
304 LValue *dst = getScratch(typeSizeof(ty)); in mkLoadv()
Dnv50_ir_lowering_nv50.cpp710 tid = bld.mkMov(bld.getScratch(), arg, TYPE_U32)->getDef(0); in visit()
789 val = bld.getScratch(); in handleTEX()
911 Instruction *cond = bld.mkOp1(OP_UNION, TYPE_U32, bld.getScratch(), in handleTXB()
918 Value *pred = bld.getScratch(1, FILE_FLAGS); in handleTXB()
924 Value *flags = bld.getScratch(1, FILE_FLAGS); in handleTXB()
974 Value *pred = bld.getScratch(1, FILE_FLAGS); in handleTXL()
1012 crd[c] = bld.getScratch(); in handleTXD()
1030 val = bld.getScratch(); in handleTXD()
1145 Value *ms = bld.mkOp2v(OP_ADD, TYPE_U32, bld.getScratch(), ms_x, ms_y); in handleSUQ()
1183 Value *pred = bld.getScratch(1, FILE_FLAGS); in handleSLCT()
[all …]
Dnv50_ir_from_common.cpp92 res[i] = mkOp2v(OP_MUL, TYPE_F32, getScratch(), clipVtx[c], ucp); in handleUserClipPlanes()
Dnv50_ir_from_nir.cpp756 newDef[i] = getScratch(std::max(4, reg->bit_size / 8)); in convert()
1377 clipVtx[c] = getScratch(); in visit()
1679 src = mkOp1v(OP_SAT, TYPE_F32, getScratch(), src); in visit()
1823 offs[c] = getScratch(); in visit()
1927 Value *pred = getScratch(1, FILE_PREDICATE); in visit()
1944 Value *tmp = getScratch(); in visit()
2719 LValue *val0 = getScratch(); in visit()
2720 LValue *val1 = getScratch(); in visit()
2877 LValue *def = getScratch(); in visit()