Home
last modified time | relevance | path

Searched refs:instr_iterator (Results 1 – 25 of 61) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineInstrBundle.h28 MachineBasicBlock::instr_iterator FirstMI,
29 MachineBasicBlock::instr_iterator LastMI);
36 MachineBasicBlock::instr_iterator finalizeBundle(MachineBasicBlock &MBB,
37 MachineBasicBlock::instr_iterator FirstMI);
44 inline MachineBasicBlock::instr_iterator getBundleStart( in getBundleStart()
45 MachineBasicBlock::instr_iterator I) { in getBundleStart()
60 inline MachineBasicBlock::instr_iterator getBundleEnd( in getBundleEnd()
61 MachineBasicBlock::instr_iterator I) { in getBundleEnd()
97 MachineBasicBlock::instr_iterator InstrI, InstrE;
130 explicit MIBundleOperandIteratorBase(MachineBasicBlock::instr_iterator InstrE, in MIBundleOperandIteratorBase()
[all …]
H A DMachineInstrBundleIterator.h27 using instr_iterator = typename list_type::iterator;
33 using instr_iterator = typename list_type::reverse_iterator;
39 using instr_iterator = typename list_type::const_iterator;
45 using instr_iterator = typename list_type::const_reverse_iterator;
110 using instr_iterator = typename Traits::instr_iterator;
112 instr_iterator MII;
115 using value_type = typename instr_iterator::value_type;
116 using difference_type = typename instr_iterator::difference_type;
117 using pointer = typename instr_iterator::pointer;
118 using reference = typename instr_iterator::reference;
[all …]
H A DMachineBasicBlock.h112 using instr_iterator =
118 void transferNodesFromList(ilist_traits &FromList, instr_iterator First,
119 instr_iterator Last);
313 using instr_iterator = Instructions::iterator;
338 instr_iterator instr_begin() { return Insts.begin(); }
340 instr_iterator instr_end() { return Insts.end(); }
347 using instr_range = iterator_range<instr_iterator>;
892 instr_iterator getFirstInstrTerminator();
1000 instr_iterator insert(instr_iterator I, MachineInstr *M);
1030 instr_iterator insertAfterBundle(instr_iterator I, MachineInstr *MI) {
[all …]
H A DMachineInstrBuilder.h413 MachineBasicBlock::instr_iterator I, in BuildMI()
431 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), MIMD, MCID, in BuildMI()
458 MachineBasicBlock::instr_iterator I, in BuildMI()
475 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), MIMD, MCID); in BuildMI()
593 MachineBasicBlock::instr_iterator Begin;
594 MachineBasicBlock::instr_iterator End;
629 MachineBasicBlock::instr_iterator begin() const { return Begin; } in begin()
632 MachineBasicBlock::instr_iterator end() const { return End; } in end()
636 MIBundleBuilder &insert(MachineBasicBlock::instr_iterator I, in insert()
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/
H A DLanaiDelaySlotFiller.cpp39 MachineBasicBlock::instr_iterator LastFiller;
64 void insertDefsUses(MachineBasicBlock::instr_iterator MI,
70 bool delayHasHazard(MachineBasicBlock::instr_iterator MI, bool &SawLoad,
75 MachineBasicBlock::instr_iterator Slot,
76 MachineBasicBlock::instr_iterator &Filler);
94 for (MachineBasicBlock::instr_iterator I = MBB.instr_begin(); in runOnMachineBasicBlock()
97 MachineBasicBlock::instr_iterator InstrWithSlot = I; in runOnMachineBasicBlock()
98 MachineBasicBlock::instr_iterator J = I; in runOnMachineBasicBlock()
118 MachineBasicBlock::instr_iterator FI = RI.getReverse(); in runOnMachineBasicBlock()
144 MachineBasicBlock::instr_iterator Slot, in findDelayInstr()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/
H A DMVEVPTBlockPass.cpp100 static bool StepOverPredicatedInstrs(MachineBasicBlock::instr_iterator &Iter, in StepOverPredicatedInstrs()
101 MachineBasicBlock::instr_iterator EndIter, in StepOverPredicatedInstrs()
163 CreateVPTBlock(MachineBasicBlock::instr_iterator &Iter, in CreateVPTBlock()
164 MachineBasicBlock::instr_iterator EndIter, in CreateVPTBlock()
166 MachineBasicBlock::instr_iterator BlockBeg = Iter; in CreateVPTBlock()
176 LLVM_DEBUG(for (MachineBasicBlock::instr_iterator AddedInstIter = in CreateVPTBlock()
197 MachineBasicBlock::instr_iterator VPNOTBlockEndIter = std::next(Iter); in CreateVPTBlock()
244 MachineBasicBlock::instr_iterator MBIter = Block.instr_begin(); in InsertVPTBlocks()
245 MachineBasicBlock::instr_iterator EndIter = Block.instr_end(); in InsertVPTBlocks()
306 Block, MachineBasicBlock::instr_iterator(MIBuilder.getInstr()), MBIter); in InsertVPTBlocks()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineInstrBundle.cpp52 for (MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in runOnMachineFunction()
109 static DebugLoc getDebugLoc(MachineBasicBlock::instr_iterator FirstMI, in getDebugLoc()
110 MachineBasicBlock::instr_iterator LastMI) { in getDebugLoc()
124 MachineBasicBlock::instr_iterator FirstMI, in finalizeBundle()
125 MachineBasicBlock::instr_iterator LastMI) { in finalizeBundle()
241 MachineBasicBlock::instr_iterator
243 MachineBasicBlock::instr_iterator FirstMI) { in finalizeBundle()
244 MachineBasicBlock::instr_iterator E = MBB.instr_end(); in finalizeBundle()
245 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle()
257 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(); in finalizeBundles()
[all …]
H A DKCFI.cpp54 MachineBasicBlock::instr_iterator I) const;
65 MachineBasicBlock::instr_iterator MBBI) const { in emitCheck()
103 for (MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in runOnMachineFunction()
H A DMachineBasicBlock.cpp178 instr_iterator First, in transferNodesFromList()
179 instr_iterator Last) { in transferNodesFromList()
201 instr_iterator I = instr_begin(), E = instr_end(); in getFirstNonPHI()
251 MachineBasicBlock::instr_iterator MachineBasicBlock::getFirstInstrTerminator() { in getFirstInstrTerminator()
252 instr_iterator B = instr_begin(), E = instr_end(), I = E; in getFirstInstrTerminator()
273 instr_iterator B = instr_begin(), I = instr_end(); in getLastNonDebugInstr()
1261 for (instr_iterator I = instr_end(), E = instr_begin(); I != E;) { in SplitCriticalEdge()
1294 for (MachineBasicBlock::instr_iterator in SplitCriticalEdge()
1440 MachineBasicBlock::instr_iterator
1441 MachineBasicBlock::erase(MachineBasicBlock::instr_iterator I) { in erase()
[all …]
H A DProcessImplicitDefs.cpp103 MachineBasicBlock::instr_iterator UserMI = MI->getIterator(); in processImplicitDef()
104 MachineBasicBlock::instr_iterator UserE = MI->getParent()->instr_end(); in processImplicitDef()
H A DMachineLoopUtils.cpp21 unsigned Offset = std::distance(PB->instr_begin(), MachineBasicBlock::instr_iterator(MI)); in findEquivalentInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIPostRABundler.cpp143 MachineBasicBlock::instr_iterator Next; in runOnMachineFunction()
144 MachineBasicBlock::instr_iterator B = MBB.instr_begin(); in runOnMachineFunction()
145 MachineBasicBlock::instr_iterator E = MBB.instr_end(); in runOnMachineFunction()
157 MachineBasicBlock::instr_iterator BundleStart = I; in runOnMachineFunction()
158 MachineBasicBlock::instr_iterator BundleEnd = I; in runOnMachineFunction()
H A DSIInsertWaitcnts.cpp479 MachineBasicBlock::instr_iterator It) const = 0;
487 MachineBasicBlock::instr_iterator It,
520 MachineBasicBlock::instr_iterator It) const override;
523 MachineBasicBlock::instr_iterator It,
556 MachineBasicBlock::instr_iterator It) const override;
559 MachineBasicBlock::instr_iterator It,
723 MachineBasicBlock::instr_iterator It,
1187 AMDGPU::Waitcnt &Wait, MachineBasicBlock::instr_iterator It) const { in applyPreexistingWaitcnt()
1280 MachineBasicBlock &Block, MachineBasicBlock::instr_iterator It, in createNewWaitcnt()
1334 AMDGPU::Waitcnt &Wait, MachineBasicBlock::instr_iterator It) const { in applyPreexistingWaitcnt()
[all …]
H A DAMDGPUInsertDelayAlu.cpp306 for (auto I = MachineBasicBlock::instr_iterator(LastDelayAlu), in emitDelayAlu()
307 E = MachineBasicBlock::instr_iterator(MI); in emitDelayAlu()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMicroMipsSizeReduction.cpp125 MachineBasicBlock::instr_iterator
129 MachineBasicBlock::instr_iterator &argNextMII) in ReduceEntryFunArgs()
154 bool ReduceMI(const MachineBasicBlock::instr_iterator &MII,
155 MachineBasicBlock::instr_iterator &NextMII);
414 bool MicroMipsSizeReduce::ReduceMI(const MachineBasicBlock::instr_iterator &MII, in ReduceMI()
415 MachineBasicBlock::instr_iterator &NextMII) { in ReduceMI()
457 MachineBasicBlock::instr_iterator &NextMII = Arguments->NextMII; in ReduceXWtoXWP()
458 const MachineBasicBlock::instr_iterator &E = in ReduceXWtoXWP()
614 MachineBasicBlock::instr_iterator &NextMII = Arguments->NextMII; in ReduceMoveToMovep()
615 const MachineBasicBlock::instr_iterator &E = in ReduceMoveToMovep()
[all …]
H A DMipsMulMulBugPass.cpp113 MachineBasicBlock::instr_iterator NextMII; in fixMulMulBB()
116 for (MachineBasicBlock::instr_iterator MII = MBB.instr_begin(), in fixMulMulBB()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonVectorPrint.cpp97 MachineBasicBlock::instr_iterator I, in addAsmInstr()
140 MachineBasicBlock::instr_iterator MII = MI.getIterator(); in runOnMachineFunction()
171 MachineBasicBlock::instr_iterator MII = I->getIterator(); in runOnMachineFunction()
H A DHexagonHardwareLoops.cpp428 using instr_iterator = MachineBasicBlock::instr_iterator; in findInductionRegister() typedef
430 for (instr_iterator I = Header->instr_begin(), E = Header->instr_end(); in findInductionRegister()
1325 using instr_iterator = MachineBasicBlock::instr_iterator; in orderBumpCompare() typedef
1328 for (instr_iterator I(BumpI), E = BB->instr_end(); I != E; ++I) in orderBumpCompare()
1335 instr_iterator CmpIt = CmpI->getIterator(), NextIt = std::next(CmpIt); in orderBumpCompare()
1336 for (instr_iterator I = NextIt, E = BB->instr_end(); I != E; ++I) { in orderBumpCompare()
1611 using instr_iterator = MachineBasicBlock::instr_iterator; in fixupInductionVariable() typedef
1613 for (instr_iterator I = Header->instr_begin(), E = Header->instr_end(); in fixupInductionVariable()
1852 using instr_iterator = MachineBasicBlock::instr_iterator; in createPreheaderForLoop() typedef
1880 for (instr_iterator I = Header->instr_begin(), E = Header->instr_end(); in createPreheaderForLoop()
[all …]
H A DHexagonInstrInfo.h476 MachineBasicBlock::instr_iterator expandVGatherPseudo(MachineInstr &MI) const;
491 void setBundleNoShuf(MachineBasicBlock::instr_iterator MIB) const;
497 void changeDuplexOpcode(MachineBasicBlock::instr_iterator MII,
501 void translateInstrsForDup(MachineBasicBlock::instr_iterator MII,
H A DHexagonLoopAlign.cpp94 for (MachineBasicBlock::instr_iterator II = BB.instr_begin(), in shouldBalignLoop()
H A DHexagonOptAddrMode.cpp566 MachineBasicBlock::instr_iterator InsertPt = UsePos.getInstrIterator(); in changeLoad()
629 MachineBasicBlock::instr_iterator InsertPt = UsePos.getInstrIterator(); in changeStore()
708 MachineBasicBlock::instr_iterator InsertPt = UsePos.getInstrIterator(); in changeAddAsl()
H A DHexagonVLIWPacketizer.cpp164 MachineBasicBlock::instr_iterator InsertPt; in moveInstrOut()
1812 MachineBasicBlock::instr_iterator NextMI = std::next(MI->getIterator()); in endPacket()
1819 MachineBasicBlock::instr_iterator FirstMI(OldPacketMIs.front()); in endPacket()
1820 MachineBasicBlock::instr_iterator LastMI(EndMI.getInstrIterator()); in endPacket()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SLSHardening.cpp160 MachineBasicBlock::instr_iterator MBBI,
385 MachineBasicBlock::instr_iterator MBBI, ThunksSet &Thunks) { in convertBLRToBL()
494 MachineBasicBlock::instr_iterator MBBI = MBB.instr_begin(), in hardenBLRs()
496 MachineBasicBlock::instr_iterator NextMBBI; in hardenBLRs()
H A DAArch64PointerAuth.cpp423 SmallVector<MachineBasicBlock::instr_iterator> PAuthPseudoInstrs; in runOnMachineFunction()
424 SmallVector<MachineBasicBlock::instr_iterator> TailCallInstrs; in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrInfo.cpp141 MachineBasicBlock::instr_iterator I = MBB.instr_end(); in removeBranch()

123