Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_lowering_helper.cpp101 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()
166 bld.loadImm(lo, (uint32_t)(reg.data.u64 & 0xffffffff)); in handleMOV()
167 bld.loadImm(hi, (uint32_t)(reg.data.u64 >> 32)); in handleMOV()
200 …Value *tmp = bld.mkOp2v(OP_MAX, dTy, bld.getSSA(8), insn->getSrc(0), bld.loadImm(bld.getSSA(8), 0.… in handleSAT()
203 insn->setSrc(1, bld.loadImm(bld.getSSA(8), 1.0)); in handleSAT()
Dnv50_ir_build_util.h99 Value *loadImm(Value *dst, float);
100 Value *loadImm(Value *dst, double);
101 Value *loadImm(Value *dst, uint32_t);
102 Value *loadImm(Value *dst, uint64_t);
104 Value *loadImm(Value *dst, int i) { return loadImm(dst, (uint32_t)i); } in loadImm() function
Dnv50_ir_from_nir.cpp839 indirect = mkOp2v(OP_SHL, TYPE_U32, getSSA(4, FILE_ADDRESS), indirect, loadImm(NULL, 4)); in getIndirect()
1798 mkOp2(OP_MIN, TYPE_F32, offs[c], getSrc(&insn->src[0], c), loadImm(NULL, 0.4375f)); in visit()
1799 mkOp2(OP_MAX, TYPE_F32, offs[c], offs[c], loadImm(NULL, -0.5f)); in visit()
1800 mkOp2(OP_MUL, TYPE_F32, offs[c], offs[c], loadImm(NULL, 4096.0f)); in visit()
1816 loadImm(newDefs[1], mode); in visit()
1875 loadImm(def, 0u); in visit()
1884 mkOp2(OP_MERGE, dType, newDefs[i], def, loadImm(getSSA(), 0u)); in visit()
1891 loadImm(newDefs[0], 32u); in visit()
1959 vtxBase = loadImm(NULL, baseVertex); in visit()
2328 loadImm(newDefs[0], 0u); in visit()
[all …]
Dnv50_ir_lowering_nvc0.cpp138 dst[0] = bld.loadImm(NULL, 0); in handleRCPRSQ()
898 gpEmitAddress = bld.loadImm(NULL, 0)->asLValue(); in visit()
1098 bld.loadImm(src, 0); in handleTEX()
1167 bld.loadImm(NULL, imm), bld.mkImm(0xc10), in handleTEX()
1172 i->setSrc(s, bld.loadImm(NULL, imm << 16)); in handleTEX()
1175 i->setSrc(s, bld.loadImm(NULL, imm)); in handleTEX()
1201 Value *zero = bld.loadImm(bld.getSSA(), 0); in handleManualTXD()
1350 txd->setSrc(s++, bld.loadImm(NULL, 0)); in handleTXD()
1426 i->getDef(def), bld.loadImm(NULL, 1.0f / 256)); in handleTXLQ()
1674 Value *offset = bld.loadImm(NULL, atom->getSrc(0)->reg.data.offset + typeSizeof(atom->sType)); in handleATOM()
[all …]
Dnv50_ir_lowering_nv50.cpp116 Value *imm = bld->loadImm(NULL, 1 << (halfSize * 8)); in expandIntegerMUL()
144 bld->loadImm(one, 1); in expandIntegerMUL()
765 i->setSrc(arg - 1, bld.loadImm(NULL, 0)); in handleTEX()
780 bld.mkOp2(OP_MIN, TYPE_U32, src, src, bld.loadImm(NULL, 511)); in handleTEX()
858 bld.loadImm(NULL, 1)); in handleTXB()
865 Value *imm = bld.loadImm(NULL, (1 << l)); in handleTXB()
949 Value *zero = bld.loadImm(bld.getSSA(), 0); in handleTXD()
1026 i->getDef(def), bld.loadImm(NULL, 1.0f / 256)); in handleTXLQ()
1041 bld.mkOp2(OP_SHL, TYPE_U32, i->getDef(0), bld.loadImm(NULL, 1), ms); in handleTXQ()
1086 i->setSrc(1, bld.loadImm(NULL, 0)); in handleSLCT()
[all …]
Dnv50_ir_build_util.cpp402 BuildUtil::loadImm(Value *dst, float f) in loadImm() function in nv50_ir::BuildUtil
408 BuildUtil::loadImm(Value *dst, double d) in loadImm() function in nv50_ir::BuildUtil
414 BuildUtil::loadImm(Value *dst, uint32_t u) in loadImm() function in nv50_ir::BuildUtil
420 BuildUtil::loadImm(Value *dst, uint64_t u) in loadImm() function in nv50_ir::BuildUtil
Dnv50_ir_from_tgsi.cpp1869 Value *offset = loadImm(NULL, tgsi.getSrc(s).getIndex(1)); in getOutputBase()
2021 return loadImm(NULL, code->immd.data[idx * 4 + swz]); in fetchSrc()
2028 return loadImm(NULL, swz == TGSI_SWIZZLE_W ? 1.0f : 0.0f); in fetchSrc()
2054 return loadImm(NULL, 0u); in fetchSrc()
2056 return loadImm(NULL, 0u); in fetchSrc()
2058 return loadImm(NULL, 32u); in fetchSrc()
2313 lod = loadImm(NULL, 0); in handleTEX()
2413 texi->setSrc(c++, loadImm(NULL, 0)); in handleTXF()
2471 loadImm(dst0[0], 1.0f); in handleLIT()
2474 loadImm(dst0[3], 1.0f); in handleLIT()
[all …]
Dnv50_ir_lowering_gm107.cpp283 suq->setSrc(1, bld.loadImm(NULL, 0)); in handleSUQ()
293 bld.loadImm(NULL, 6)); in handleSUQ()
Dnv50_ir_peephole.cpp927 mul1->setSrc(s1, bld.loadImm(NULL, f * imm1.reg.data.f32)); in tryCollapseChainedMULs()
1240 bld.loadImm(NULL, m)); in opnd()
1273 bld.mkOp3(OP_MAD, TYPE_S32, tA, i->getSrc(0), bld.loadImm(NULL, m), in opnd()
1296 i->setSrc(1, bld.loadImm(NULL, imm0.reg.data.u32 - 1)); in opnd()
1309 TYPE_S32, i->getSrc(0), bld.loadImm(NULL, 0)); in opnd()
1311 bld.loadImm(NULL, imm0.reg.data.u32 - 1)); in opnd()
1469 i->setSrc(1, bld.loadImm(NULL, imm0.reg.data.u32 + imm1.reg.data.u32)); in opnd()
1477 i->setSrc(1, bld.loadImm(NULL, ~((1 << imm0.reg.data.u32) - 1))); in opnd()
1494 i->setSrc(1, bld.loadImm(NULL, imm1.reg.data.u32 << imm0.reg.data.u32)); in opnd()
1516 i->setSrc(adds, bld.loadImm(NULL, imm1.reg.data.u32 << imm0.reg.data.u32)); in opnd()
[all …]