Home
last modified time | relevance | path

Searched refs:getIndirect (Results 1 – 16 of 16) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/nouveau/codegen/
Dnv50_ir_from_nir.cpp108 uint32_t getIndirect(nir_src *, uint8_t, Value *&);
111 uint32_t getIndirect(nir_intrinsic_instr *, uint8_t s, uint8_t c, Value *&,
829 Converter::getIndirect(nir_src *src, uint8_t idx, Value *&indirect) in getIndirect() function in __anon8c55b3d20111::Converter
843 Converter::getIndirect(nir_intrinsic_instr *insn, uint8_t s, uint8_t c, Value *&indirect, bool isSc… in getIndirect() function in __anon8c55b3d20111::Converter
845 int32_t idx = nir_intrinsic_base(insn) + getIndirect(&insn->src[s], c, indirect); in getIndirect()
1637 uint32_t coffset = getIndirect(insn, 0, 0, indirect); in visit()
1647 uint32_t idx = getIndirect(insn, op == nir_intrinsic_store_output ? 1 : 2, 0, indirect); in visit()
1725 …uint32_t idx = getIndirect(insn, op == nir_intrinsic_load_interpolated_input ? 1 : 0, 0, indirect); in visit()
1946 uint32_t baseVertex = getIndirect(&insn->src[0], 0, indirectVertex); in visit()
1947 uint32_t idx = getIndirect(insn, 1, 0, indirectOffset); in visit()
[all …]
Dnv50_ir_emit_gk110.cpp1969 srcId(i->src(0).getIndirect(0), 10); in emitAFETCH()
2006 srcId(i->src(0).getIndirect(0), 10); in emitVFETCH()
2007 srcId(i->src(0).getIndirect(1), 32 + 10); // vertex address in emitVFETCH()
2027 srcId(i->src(0).getIndirect(0), 10); in emitEXPORT()
2028 srcId(i->src(0).getIndirect(1), 32 + 10); // vertex base address in emitEXPORT()
2094 srcId(i->src(0).getIndirect(0), 10); in emitINTERP()
2215 srcId(i->src(0).getIndirect(0), 10); in emitSTORE()
2218 i->getIndirect(0, 0)->reg.size == 8) in emitSTORE()
2288 if (i->getIndirect(0, 0)) { in emitLOAD()
2289 srcId(i->src(0).getIndirect(0), 10); in emitLOAD()
[all …]
Dnv50_ir_emit_nv50.cpp406 int reg = i->src(0).getIndirect(0)->rep()->reg.data.id; in setSrcFileBits()
502 if (i->getIndirect(0, 0)) { in emitForm_MAD()
503 assert(!i->srcExists(1) || !i->getIndirect(1, 0)); in emitForm_MAD()
504 assert(!i->srcExists(2) || !i->getIndirect(2, 0)); in emitForm_MAD()
506 } else if (i->srcExists(1) && i->getIndirect(1, 0)) { in emitForm_MAD()
507 assert(!i->srcExists(2) || !i->getIndirect(2, 0)); in emitForm_MAD()
531 if (i->getIndirect(0, 0)) { in emitForm_ADD()
532 assert(!i->getIndirect(1, 0)); in emitForm_ADD()
684 srcId(*i->src(0).getIndirect(0), 9); in emitLOAD()
744 srcId(*i->src(0).getIndirect(0), 9); in emitSTORE()
[all …]
Dnv50_ir_emit_gv100.cpp844 emitGPR (32, insn->src(0).getIndirect(1)); in emitALD()
856 emitGPR (64, insn->src(0).getIndirect(1)); in emitAST()
907 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitATOM()
1079 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitLD()
1090 emitGPR (24, insn->src(0).getIndirect(0)); in emitLDC()
1146 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitRED()
1158 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitST()
1550 emitGPR (24, insn->src(0).getIndirect(0)); in emitAL2P()
1616 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitCCTL()
Dnv50_ir_lowering_nvc0.cpp1442 bufq->setSrc(0, loadBufLength32(bufq->getIndirect(0, 1), in handleBUFQ()
1475 atom->getIndirect(0, 0)); in handleSharedATOMNVE4()
1532 atom->getIndirect(0, 0), stVal); in handleSharedATOMNVE4()
1570 atom->getIndirect(0, 0)); in handleSharedATOM()
1628 atom->getIndirect(0, 0), stVal); in handleSharedATOM()
1648 Value *ptr = atom->getIndirect(0, 0), *ind = atom->getIndirect(0, 1), *base; in handleATOM()
1724 cctl->setIndirect(0, 0, cas->getIndirect(0, 0)); in handleCasExch()
2783 st = bld.mkStore(OP_EXPORT, i->dType, sym, i->getIndirect(0, 0), in handleWRSV()
2803 i->getIndirect(0, 0), bld.mkImm(4)); in handleLDST()
2812 Value *ind = i->getIndirect(0, 1); in handleLDST()
[all …]
Dnv50_ir_inlines.h160 const ValueRef *ValueRef::getIndirect(int dim) const in getIndirect() function
244 Value *Instruction::getIndirect(int s, int dim) const in getIndirect() function
Dnv50_ir_emit_nvc0.cpp1510 srcId(f->src(0).getIndirect(0), 20); in emitFlow()
1630 srcId(i->src(0).getIndirect(0), 20); in emitAFETCH()
1665 srcId(i->src(0).getIndirect(0), 20); in emitVFETCH()
1666 srcId(i->src(0).getIndirect(1), 26); // vertex address in emitVFETCH()
1686 srcId(i->src(0).getIndirect(0), 20); in emitEXPORT()
1687 srcId(i->src(0).getIndirect(1), 32 + 17); // vertex base address in emitEXPORT()
1778 srcId(i->src(0).getIndirect(0), 20); in emitINTERP()
1868 ldst->getIndirect(0, 0)->reg.size == 8; in uses64bitAddress()
1908 srcId(i->src(0).getIndirect(0), 20); in emitSTORE()
1980 srcId(i->src(0).getIndirect(0), 20); in emitLOAD()
[all …]
Dnv50_ir_from_tgsi.cpp109 SrcRegister getIndirect(int dim) const in getIndirect() function in tgsi::Instruction::SrcRegister
158 SrcRegister getIndirect(int dim) const in getIndirect() function in tgsi::Instruction::DstRegister
1880 rel = fetchSrc(tgsi.getSrc(s).getIndirect(1), 0, NULL); in getVertexBase()
1896 fetchSrc(tgsi.getSrc(s).getIndirect(1), 0, NULL), in getOutputBase()
1913 ptr = fetchSrc(src.getIndirect(0), 0, NULL); in fetchSrc()
1926 dimRel = fetchSrc(src.getIndirect(1), 0, 0); in fetchSrc()
1950 ptr = fetchSrc(dst.getIndirect(0), 0, NULL); in fetchDst()
1965 dimRel = fetchSrc(dst.getIndirect(1), 0, 0); in fetchDst()
2137 ptr = shiftAddress(fetchSrc(dst.getIndirect(0), 0, NULL)); in storeDst()
2251 tex->setSrc(s++, fetchSrc(tgsi.getSrc(R).getIndirect(0), 0, NULL)); in setTexRS()
[all …]
Dnv50_ir_emit_gv100.h302 emitGPR(gpr, ref.getIndirect(0)); in emitCBUF()
323 emitGPR(gpr, ref.getIndirect(0)); in emitADDR()
Dnv50_ir_emit_gm107.cpp308 emitGPR(gpr, ref.getIndirect(0)); in emitADDR()
323 emitGPR(gpr, ref.getIndirect(0)); in emitCBUF()
2489 emitField(0x34, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitLD()
2520 emitField(0x34, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitST()
2530 emitGPR (0x27, insn->src(0).getIndirect(1)); in emitALD()
2542 emitGPR (0x27, insn->src(0).getIndirect(1)); in emitAST()
2564 emitGPR (0x08, insn->src(0).getIndirect(0)); in emitAL2P()
2675 emitField(0x30, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitATOM()
2736 emitField(0x30, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitRED()
2754 emitField(0x34, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitCCTL()
Dnv50_ir_lowering_nv50.cpp1240 bld.mkStore(OP_EXPORT, i->dType, sym, i->getIndirect(0, 0), i->getSrc(1)); in handleWRSV()
1338 FILE_SHADER_INPUT, addr, i->getIndirect(0, 0), NULL); in handleRDSV()
1387 if (i->getIndirect(0, 0)) { in handleEXPORT()
1427 Value *addr = i->getIndirect(0, 1); in handleLOAD()
1437 i->getIndirect(0, 0), bld.mkImm(2)); in handleLOAD()
1482 atom->getIndirect(0, 0)); in handleSharedATOM()
1551 atom->getIndirect(0, 0), stVal); in handleSharedATOM()
1590 Value *addr = i->getIndirect(0, 0); in handleLDST()
1606 Value *addr = i->getIndirect(0, 0); in handleLDST()
Dnv50_ir_print.cpp766 getIndirect(s, 0), in print()
767 getIndirect(s, 1)); in print()
Dnv50_ir.h672 inline const ValueRef *getIndirect(int dim) const;
880 inline Value *getIndirect(int s, int dim) const;
Dnv50_ir.cpp723 values[0] = getIndirect(s, 0); in takeExtraSources()
727 values[1] = getIndirect(s, 1); in takeExtraSources()
Dnv50_ir_peephole.cpp287 i->setIndirect(s, 0, ld->getIndirect(0, 0)); in visit()
322 insn = i->getIndirect(s, 0)->getInsn(); in visit()
2916 rel[0] = ldst->getIndirect(0, 0); in set()
2917 rel[1] = ldst->getIndirect(0, 1); in set()
2976 it->rel[0] != insn->getIndirect(0, 0) || in findRecord()
2978 it->rel[1] != insn->getIndirect(0, 1)) in findRecord()
Dnv50_ir_ra.cpp2570 addHazard(i, i->src(0).getIndirect(0)); in visit()
2572 addHazard(i, i->src(0).getIndirect(1)); in visit()