Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSILoadStoreOptimizer.cpp200 const MachineOperand *AddrReg = TII->getNamedOperand(*I, AMDGPU::OpName::addr); in mergeRead2Pair()
202 const MachineOperand *Dest0 = TII->getNamedOperand(*I, AMDGPU::OpName::vdst); in mergeRead2Pair()
203 const MachineOperand *Dest1 = TII->getNamedOperand(*Paired, AMDGPU::OpName::vdst); in mergeRead2Pair()
206 = TII->getNamedOperand(*I, AMDGPU::OpName::offset)->getImm() & 0xffff; in mergeRead2Pair()
208 = TII->getNamedOperand(*Paired, AMDGPU::OpName::offset)->getImm() & 0xffff; in mergeRead2Pair()
295 const MachineOperand *Addr = TII->getNamedOperand(*I, AMDGPU::OpName::addr); in mergeWrite2Pair()
296 const MachineOperand *Data0 = TII->getNamedOperand(*I, AMDGPU::OpName::data0); in mergeWrite2Pair()
298 = TII->getNamedOperand(*Paired, AMDGPU::OpName::data0); in mergeWrite2Pair()
302 = TII->getNamedOperand(*I, AMDGPU::OpName::offset)->getImm() & 0xffff; in mergeWrite2Pair()
304 = TII->getNamedOperand(*Paired, AMDGPU::OpName::offset)->getImm() & 0xffff; in mergeWrite2Pair()
DSIShrinkInstructions.cpp84 const MachineOperand *Src2 = TII->getNamedOperand(MI, AMDGPU::OpName::src2); in canShrink()
106 const MachineOperand *Src1 = TII->getNamedOperand(MI, AMDGPU::OpName::src1); in canShrink()
108 TII->getNamedOperand(MI, AMDGPU::OpName::src1_modifiers); in canShrink()
349 TII->getNamedOperand(MI, AMDGPU::OpName::src2); in runOnMachineFunction()
379 Inst32.addOperand(*TII->getNamedOperand(MI, AMDGPU::OpName::src0)); in runOnMachineFunction()
382 TII->getNamedOperand(MI, AMDGPU::OpName::src1); in runOnMachineFunction()
387 TII->getNamedOperand(MI, AMDGPU::OpName::src2); in runOnMachineFunction()
DSIInstrInfo.cpp212 getNamedOperand(LdSt, AMDGPU::OpName::offset); in getMemOpBaseRegImmOfs()
216 getNamedOperand(LdSt, AMDGPU::OpName::addr); in getMemOpBaseRegImmOfs()
227 getNamedOperand(LdSt, AMDGPU::OpName::offset0); in getMemOpBaseRegImmOfs()
229 getNamedOperand(LdSt, AMDGPU::OpName::offset1); in getMemOpBaseRegImmOfs()
251 getNamedOperand(LdSt, AMDGPU::OpName::addr); in getMemOpBaseRegImmOfs()
265 getNamedOperand(LdSt, AMDGPU::OpName::vaddr); in getMemOpBaseRegImmOfs()
270 getNamedOperand(LdSt, AMDGPU::OpName::offset); in getMemOpBaseRegImmOfs()
278 getNamedOperand(LdSt, AMDGPU::OpName::offset); in getMemOpBaseRegImmOfs()
283 getNamedOperand(LdSt, AMDGPU::OpName::sbase); in getMemOpBaseRegImmOfs()
290 const MachineOperand *AddrReg = getNamedOperand(LdSt, AMDGPU::OpName::addr); in getMemOpBaseRegImmOfs()
[all …]
DSIRegisterInfo.cpp324 MachineOperand *FIOp = TII->getNamedOperand(MI, AMDGPU::OpName::vaddr); in resolveFrameIndex()
329 MachineOperand *OffsetOp = TII->getNamedOperand(MI, AMDGPU::OpName::offset); in resolveFrameIndex()
640 TII->getNamedOperand(*MI, AMDGPU::OpName::src), in eliminateFrameIndex()
641 TII->getNamedOperand(*MI, AMDGPU::OpName::scratch_rsrc)->getReg(), in eliminateFrameIndex()
642 TII->getNamedOperand(*MI, AMDGPU::OpName::scratch_offset)->getReg(), in eliminateFrameIndex()
644 TII->getNamedOperand(*MI, AMDGPU::OpName::offset)->getImm(), RS); in eliminateFrameIndex()
655 TII->getNamedOperand(*MI, AMDGPU::OpName::dst), in eliminateFrameIndex()
656 TII->getNamedOperand(*MI, AMDGPU::OpName::scratch_rsrc)->getReg(), in eliminateFrameIndex()
657 TII->getNamedOperand(*MI, AMDGPU::OpName::scratch_offset)->getReg(), in eliminateFrameIndex()
659 TII->getNamedOperand(*MI, AMDGPU::OpName::offset)->getImm(), RS); in eliminateFrameIndex()
DSILowerControlFlow.cpp423 if (const MachineOperand *Val = TII->getNamedOperand(MI, AMDGPU::OpName::val)) { in splitLoadM0BlockLiveIns()
435 const MachineOperand *Src = TII->getNamedOperand(MI, AMDGPU::OpName::src); in splitLoadM0BlockLiveIns()
531 const MachineOperand *Idx = TII->getNamedOperand(MI, AMDGPU::OpName::idx); in loadM0()
548 MachineOperand *SaveOp = TII->getNamedOperand(MI, AMDGPU::OpName::sdst); in loadM0()
633 const MachineOperand *SrcVec = TII->getNamedOperand(MI, AMDGPU::OpName::src); in indirectSrc()
634 int Offset = TII->getNamedOperand(MI, AMDGPU::OpName::offset)->getImm(); in indirectSrc()
639 const MachineOperand *Idx = TII->getNamedOperand(MI, AMDGPU::OpName::idx); in indirectSrc()
662 int Offset = TII->getNamedOperand(MI, AMDGPU::OpName::offset)->getImm(); in indirectDst()
665 const MachineOperand *Val = TII->getNamedOperand(MI, AMDGPU::OpName::val); in indirectDst()
668 MachineOperand *Idx = TII->getNamedOperand(MI, AMDGPU::OpName::idx); in indirectDst()
DSIInsertWaits.cpp249 MachineOperand *Data = TII->getNamedOperand(MI, AMDGPU::OpName::data); in isOpRelevant()
255 MachineOperand *Data0 = TII->getNamedOperand(MI, AMDGPU::OpName::data0); in isOpRelevant()
259 MachineOperand *Data1 = TII->getNamedOperand(MI, AMDGPU::OpName::data1); in isOpRelevant()
DSIInstrInfo.h504 MachineOperand *getNamedOperand(MachineInstr &MI, unsigned OperandName) const;
507 const MachineOperand *getNamedOperand(const MachineInstr &MI, in getNamedOperand() function
509 return getNamedOperand(const_cast<MachineInstr &>(MI), OpName); in getNamedOperand()
/external/clang/lib/AST/
DStmt.cpp455 int GCCAsmStmt::getNamedOperand(StringRef SymbolicName) const { in getNamedOperand() function in GCCAsmStmt
619 int N = getNamedOperand(SymbolicName); in AnalyzeAsmString()
/external/clang/include/clang/AST/
DStmt.h1726 int getNamedOperand(StringRef SymbolicName) const;