Home
last modified time | relevance | path

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

/external/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 *&,
821 Converter::getIndirect(nir_src *src, uint8_t idx, Value *&indirect) in getIndirect() function in __anon87abe68c0111::Converter
835 Converter::getIndirect(nir_intrinsic_instr *insn, uint8_t s, uint8_t c, Value *&indirect, bool isSc… in getIndirect() function in __anon87abe68c0111::Converter
837 int32_t idx = nir_intrinsic_base(insn) + getIndirect(&insn->src[s], c, indirect); in getIndirect()
1629 uint32_t coffset = getIndirect(insn, 0, 0, indirect); in visit()
1639 uint32_t idx = getIndirect(insn, op == nir_intrinsic_store_output ? 1 : 2, 0, indirect); in visit()
1717 …uint32_t idx = getIndirect(insn, op == nir_intrinsic_load_interpolated_input ? 1 : 0, 0, indirect); in visit()
1935 uint32_t baseVertex = getIndirect(&insn->src[0], 0, indirectVertex); in visit()
1936 uint32_t idx = getIndirect(insn, 1, 0, indirectOffset); in visit()
[all …]
Dnv50_ir_emit_gk110.cpp1962 srcId(i->src(0).getIndirect(0), 10); in emitAFETCH()
1999 srcId(i->src(0).getIndirect(0), 10); in emitVFETCH()
2000 srcId(i->src(0).getIndirect(1), 32 + 10); // vertex address in emitVFETCH()
2020 srcId(i->src(0).getIndirect(0), 10); in emitEXPORT()
2021 srcId(i->src(0).getIndirect(1), 32 + 10); // vertex base address in emitEXPORT()
2087 srcId(i->src(0).getIndirect(0), 10); in emitINTERP()
2208 srcId(i->src(0).getIndirect(0), 10); in emitSTORE()
2211 i->getIndirect(0, 0)->reg.size == 8) in emitSTORE()
2281 if (i->getIndirect(0, 0)) { in emitLOAD()
2282 srcId(i->src(0).getIndirect(0), 10); in emitLOAD()
[all …]
Dnv50_ir_emit_nv50.cpp408 int reg = i->src(0).getIndirect(0)->rep()->reg.data.id; in setSrcFileBits()
504 if (i->getIndirect(0, 0)) { in emitForm_MAD()
505 assert(!i->srcExists(1) || !i->getIndirect(1, 0)); in emitForm_MAD()
506 assert(!i->srcExists(2) || !i->getIndirect(2, 0)); in emitForm_MAD()
508 } else if (i->srcExists(1) && i->getIndirect(1, 0)) { in emitForm_MAD()
509 assert(!i->srcExists(2) || !i->getIndirect(2, 0)); in emitForm_MAD()
533 if (i->getIndirect(0, 0)) { in emitForm_ADD()
534 assert(!i->getIndirect(1, 0)); in emitForm_ADD()
683 srcId(*i->src(0).getIndirect(0), 9); in emitLOAD()
741 srcId(*i->src(0).getIndirect(0), 9); in emitSTORE()
[all …]
Dnv50_ir_emit_gv100.cpp804 emitGPR (32, insn->src(0).getIndirect(1)); in emitALD()
816 emitGPR (64, insn->src(0).getIndirect(1)); in emitAST()
866 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitATOM()
1038 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitLD()
1049 emitGPR (24, insn->src(0).getIndirect(0)); in emitLDC()
1105 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitRED()
1117 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitST()
1509 emitGPR (24, insn->src(0).getIndirect(0)); in emitAL2P()
1575 emitField(72, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitCCTL()
Dnv50_ir_lowering_nvc0.cpp1441 bufq->setSrc(0, loadBufLength32(bufq->getIndirect(0, 1), in handleBUFQ()
1474 atom->getIndirect(0, 0)); in handleSharedATOMNVE4()
1531 atom->getIndirect(0, 0), stVal); in handleSharedATOMNVE4()
1569 atom->getIndirect(0, 0)); in handleSharedATOM()
1627 atom->getIndirect(0, 0), stVal); in handleSharedATOM()
1647 Value *ptr = atom->getIndirect(0, 0), *ind = atom->getIndirect(0, 1), *base; in handleATOM()
1723 cctl->setIndirect(0, 0, cas->getIndirect(0, 0)); in handleCasExch()
2694 st = bld.mkStore(OP_EXPORT, i->dType, sym, i->getIndirect(0, 0), in handleWRSV()
2714 i->getIndirect(0, 0), bld.mkImm(4)); in handleLDST()
2723 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.cpp1503 srcId(f->src(0).getIndirect(0), 20); in emitFlow()
1623 srcId(i->src(0).getIndirect(0), 20); in emitAFETCH()
1658 srcId(i->src(0).getIndirect(0), 20); in emitVFETCH()
1659 srcId(i->src(0).getIndirect(1), 26); // vertex address in emitVFETCH()
1679 srcId(i->src(0).getIndirect(0), 20); in emitEXPORT()
1680 srcId(i->src(0).getIndirect(1), 32 + 17); // vertex base address in emitEXPORT()
1771 srcId(i->src(0).getIndirect(0), 20); in emitINTERP()
1861 ldst->getIndirect(0, 0)->reg.size == 8; in uses64bitAddress()
1901 srcId(i->src(0).getIndirect(0), 20); in emitSTORE()
1973 srcId(i->src(0).getIndirect(0), 20); in emitLOAD()
[all …]
Dnv50_ir_emit_gv100.h285 emitGPR(gpr, ref.getIndirect(0)); in emitCBUF()
306 emitGPR(gpr, ref.getIndirect(0)); in emitADDR()
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
1856 rel = fetchSrc(tgsi.getSrc(s).getIndirect(1), 0, NULL); in getVertexBase()
1872 fetchSrc(tgsi.getSrc(s).getIndirect(1), 0, NULL), in getOutputBase()
1889 ptr = fetchSrc(src.getIndirect(0), 0, NULL); in fetchSrc()
1902 dimRel = fetchSrc(src.getIndirect(1), 0, 0); in fetchSrc()
1926 ptr = fetchSrc(dst.getIndirect(0), 0, NULL); in fetchDst()
1941 dimRel = fetchSrc(dst.getIndirect(1), 0, 0); in fetchDst()
2113 ptr = shiftAddress(fetchSrc(dst.getIndirect(0), 0, NULL)); in storeDst()
2227 tex->setSrc(s++, fetchSrc(tgsi.getSrc(R).getIndirect(0), 0, NULL)); in setTexRS()
[all …]
Dnv50_ir_emit_gm107.cpp308 emitGPR(gpr, ref.getIndirect(0)); in emitADDR()
323 emitGPR(gpr, ref.getIndirect(0)); in emitCBUF()
2480 emitField(0x34, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitLD()
2511 emitField(0x34, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitST()
2521 emitGPR (0x27, insn->src(0).getIndirect(1)); in emitALD()
2533 emitGPR (0x27, insn->src(0).getIndirect(1)); in emitAST()
2555 emitGPR (0x08, insn->src(0).getIndirect(0)); in emitAL2P()
2666 emitField(0x30, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitATOM()
2727 emitField(0x30, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitRED()
2745 emitField(0x34, 1, insn->src(0).getIndirect(0)->getSize() == 8); in emitCCTL()
Dnv50_ir_lowering_nv50.cpp1122 bld.mkStore(OP_EXPORT, i->dType, sym, i->getIndirect(0, 0), i->getSrc(1)); in handleWRSV()
1221 FILE_SHADER_INPUT, addr, i->getIndirect(0, 0), NULL); in handleRDSV()
1270 if (i->getIndirect(0, 0)) { in handleEXPORT()
1301 Value *addr = i->getIndirect(0, 1); in handleLOAD()
1311 i->getIndirect(0, 0), bld.mkImm(2)); in handleLOAD()
Dnv50_ir_print.cpp737 getIndirect(s, 0), in print()
738 getIndirect(s, 1)); in print()
Dnv50_ir.h646 inline const ValueRef *getIndirect(int dim) const;
854 inline Value *getIndirect(int s, int dim) const;
Dnv50_ir.cpp721 values[0] = getIndirect(s, 0); in takeExtraSources()
725 values[1] = getIndirect(s, 1); in takeExtraSources()
Dnv50_ir_peephole.cpp285 i->setIndirect(s, 0, ld->getIndirect(0, 0)); in visit()
320 insn = i->getIndirect(s, 0)->getInsn(); in visit()
2899 rel[0] = ldst->getIndirect(0, 0); in set()
2900 rel[1] = ldst->getIndirect(0, 1); in set()
2959 it->rel[0] != insn->getIndirect(0, 0) || in findRecord()
2961 it->rel[1] != insn->getIndirect(0, 1)) in findRecord()
Dnv50_ir_ra.cpp2566 addHazard(i, i->src(0).getIndirect(0)); in visit()
2568 addHazard(i, i->src(0).getIndirect(1)); in visit()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h151 static ABIArgInfo getIndirect(CharUnits Alignment, bool ByVal = true,
164 auto AI = getIndirect(Alignment, ByVal, Realign);
/external/clang/lib/CodeGen/
DSwiftCallingConv.cpp759 return ABIArgInfo::getIndirect(alignmentForIndirect, /*byval*/ false); in classifyExpandedType()
774 return ABIArgInfo::getIndirect(layout.getAlignment(), /*byval*/ false); in classifyType()
DTargetInfo.cpp80 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirect()
1376 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(4), /*ByVal=*/true); in getIndirectResult()
1381 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(StackAlign), in getIndirectResult()
2736 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(Align)); in getIndirectResult()
3596 return ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classify()
3629 return ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classify()
4271 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(ABIAlign), in classifyArgumentType()
5306 return ABIArgInfo::getIndirect( in classifyArgumentType()
5322 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(ABIAlign), in classifyArgumentType()
6807 return ABIArgInfo::getIndirect(CharUnits::fromQuantity(4), /*ByVal=*/true, in getIndirectResult()
DMicrosoftCXXABI.cpp1087 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classifyReturnType()
1092 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classifyReturnType()
DItaniumCXXABI.cpp982 FI.getReturnInfo() = ABIArgInfo::getIndirect(Align, /*ByVal=*/false); in classifyReturnType()