Home
last modified time | relevance | path

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

12345

/external/llvm-project/llvm/include/llvm/CodeGen/
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 …]
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 …]
DMachineBasicBlock.h84 using instr_iterator =
90 void transferNodesFromList(ilist_traits &FromList, instr_iterator First,
91 instr_iterator Last);
222 using instr_iterator = Instructions::iterator;
246 instr_iterator instr_begin() { return Insts.begin(); }
248 instr_iterator instr_end() { return Insts.end(); }
255 using instr_range = iterator_range<instr_iterator>;
654 instr_iterator getFirstInstrTerminator();
718 instr_iterator insert(instr_iterator I, MachineInstr *M);
748 instr_iterator insertAfterBundle(instr_iterator I, MachineInstr *MI) {
[all …]
DMachineInstrBuilder.h359 MachineBasicBlock::instr_iterator I, in BuildMI()
374 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), DL, MCID, DestReg); in BuildMI()
398 MachineBasicBlock::instr_iterator I, in BuildMI()
413 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), DL, MCID); in BuildMI()
524 MachineBasicBlock::instr_iterator Begin;
525 MachineBasicBlock::instr_iterator End;
560 MachineBasicBlock::instr_iterator begin() const { return Begin; } in begin()
563 MachineBasicBlock::instr_iterator end() const { return End; } in end()
567 MIBundleBuilder &insert(MachineBasicBlock::instr_iterator I, in insert()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
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 …]
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 …]
DMachineBasicBlock.h54 using instr_iterator =
60 void transferNodesFromList(ilist_traits &FromList, instr_iterator First,
61 instr_iterator Last);
176 using instr_iterator = Instructions::iterator;
200 instr_iterator instr_begin() { return Insts.begin(); }
202 instr_iterator instr_end() { return Insts.end(); }
209 using instr_range = iterator_range<instr_iterator>;
558 instr_iterator getFirstInstrTerminator();
609 instr_iterator insert(instr_iterator I, MachineInstr *M);
639 instr_iterator insertAfterBundle(instr_iterator I, MachineInstr *MI) {
[all …]
DMachineInstrBuilder.h349 MachineBasicBlock::instr_iterator I, in BuildMI()
364 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), DL, MCID, DestReg); in BuildMI()
388 MachineBasicBlock::instr_iterator I, in BuildMI()
403 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), DL, MCID); in BuildMI()
514 MachineBasicBlock::instr_iterator Begin;
515 MachineBasicBlock::instr_iterator End;
550 MachineBasicBlock::instr_iterator begin() const { return Begin; } in begin()
553 MachineBasicBlock::instr_iterator end() const { return End; } in end()
557 MIBundleBuilder &insert(MachineBasicBlock::instr_iterator I, in insert()
/external/llvm-project/llvm/lib/Target/Lanai/
DLanaiDelaySlotFiller.cpp39 MachineBasicBlock::instr_iterator LastFiller;
65 void insertDefsUses(MachineBasicBlock::instr_iterator MI,
71 bool delayHasHazard(MachineBasicBlock::instr_iterator MI, bool &SawLoad,
76 MachineBasicBlock::instr_iterator Slot,
77 MachineBasicBlock::instr_iterator &Filler);
95 for (MachineBasicBlock::instr_iterator I = MBB.instr_begin(); in runOnMachineBasicBlock()
98 MachineBasicBlock::instr_iterator InstrWithSlot = I; in runOnMachineBasicBlock()
99 MachineBasicBlock::instr_iterator J = I; in runOnMachineBasicBlock()
119 MachineBasicBlock::instr_iterator FI = RI.getReverse(); in runOnMachineBasicBlock()
145 MachineBasicBlock::instr_iterator Slot, in findDelayInstr()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiDelaySlotFiller.cpp39 MachineBasicBlock::instr_iterator LastFiller;
65 void insertDefsUses(MachineBasicBlock::instr_iterator MI,
71 bool delayHasHazard(MachineBasicBlock::instr_iterator MI, bool &SawLoad,
76 MachineBasicBlock::instr_iterator Slot,
77 MachineBasicBlock::instr_iterator &Filler);
95 for (MachineBasicBlock::instr_iterator I = MBB.instr_begin(); in runOnMachineBasicBlock()
98 MachineBasicBlock::instr_iterator InstrWithSlot = I; in runOnMachineBasicBlock()
99 MachineBasicBlock::instr_iterator J = I; in runOnMachineBasicBlock()
119 MachineBasicBlock::instr_iterator FI = RI.getReverse(); in runOnMachineBasicBlock()
145 MachineBasicBlock::instr_iterator Slot, in findDelayInstr()
[all …]
/external/llvm/lib/Target/Lanai/
DLanaiDelaySlotFiller.cpp40 MachineBasicBlock::instr_iterator LastFiller;
66 void insertDefsUses(MachineBasicBlock::instr_iterator MI,
72 bool delayHasHazard(MachineBasicBlock::instr_iterator MI, bool &SawLoad,
77 MachineBasicBlock::instr_iterator Slot,
78 MachineBasicBlock::instr_iterator &Filler);
96 for (MachineBasicBlock::instr_iterator I = MBB.instr_begin(); in runOnMachineBasicBlock()
99 MachineBasicBlock::instr_iterator InstrWithSlot = I; in runOnMachineBasicBlock()
100 MachineBasicBlock::instr_iterator J = I; in runOnMachineBasicBlock()
121 MachineBasicBlock::instr_iterator FI(RI.base()); in runOnMachineBasicBlock()
147 MachineBasicBlock::instr_iterator Slot, in findDelayInstr()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineInstrBundle.h29 MachineBasicBlock::instr_iterator FirstMI,
30 MachineBasicBlock::instr_iterator LastMI);
37 MachineBasicBlock::instr_iterator finalizeBundle(MachineBasicBlock &MBB,
38 MachineBasicBlock::instr_iterator FirstMI);
47 MachineBasicBlock::instr_iterator I(MI); in getBundleStart()
61 inline MachineBasicBlock::instr_iterator getBundleEnd(MachineInstr &MI) { in getBundleEnd()
62 MachineBasicBlock::instr_iterator I(MI); in getBundleEnd()
94 MachineBasicBlock::instr_iterator InstrI, InstrE;
DMachineInstrBundleIterator.h27 typedef ilist_iterator<Ty> instr_iterator; typedef
28 instr_iterator MII;
31 MachineInstrBundleIterator(instr_iterator MI) : MII(MI) {} in MachineInstrBundleIterator()
87 instr_iterator getInstrIterator() const { return MII; } in getInstrIterator()
DMachineBasicBlock.h162 typedef Instructions::iterator instr_iterator;
164 typedef std::reverse_iterator<instr_iterator> reverse_instr_iterator;
187 instr_iterator instr_begin() { return Insts.begin(); }
189 instr_iterator instr_end() { return Insts.end(); }
196 typedef iterator_range<instr_iterator> instr_range;
478 instr_iterator getFirstInstrTerminator();
523 instr_iterator insert(instr_iterator I, MachineInstr *M);
555 instr_iterator erase(instr_iterator I);
561 instr_iterator erase_instr(MachineInstr *I) {
562 return erase(instr_iterator(I));
[all …]
DMachineInstrBuilder.h275 MachineBasicBlock::instr_iterator I, in BuildMI()
290 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), DL, MCID, DestReg); in BuildMI()
314 MachineBasicBlock::instr_iterator I, in BuildMI()
329 return BuildMI(BB, MachineBasicBlock::instr_iterator(I), DL, MCID); in BuildMI()
413 MachineBasicBlock::instr_iterator Begin;
414 MachineBasicBlock::instr_iterator End;
448 MachineBasicBlock::instr_iterator begin() const { return Begin; } in begin()
451 MachineBasicBlock::instr_iterator end() const { return End; } in end()
455 MIBundleBuilder &insert(MachineBasicBlock::instr_iterator I, in insert()
/external/llvm-project/llvm/lib/Target/ARM/
DMVEVPTBlockPass.cpp101 static bool StepOverPredicatedInstrs(MachineBasicBlock::instr_iterator &Iter, in StepOverPredicatedInstrs()
102 MachineBasicBlock::instr_iterator EndIter, in StepOverPredicatedInstrs()
157 CreateVPTBlock(MachineBasicBlock::instr_iterator &Iter, in CreateVPTBlock()
158 MachineBasicBlock::instr_iterator EndIter, in CreateVPTBlock()
160 MachineBasicBlock::instr_iterator BlockBeg = Iter; in CreateVPTBlock()
170 LLVM_DEBUG(for (MachineBasicBlock::instr_iterator AddedInstIter = in CreateVPTBlock()
189 MachineBasicBlock::instr_iterator VPNOTBlockEndIter = std::next(Iter); in CreateVPTBlock()
233 MachineBasicBlock::instr_iterator MBIter = Block.instr_begin(); in InsertVPTBlocks()
234 MachineBasicBlock::instr_iterator EndIter = Block.instr_end(); in InsertVPTBlocks()
295 Block, MachineBasicBlock::instr_iterator(MIBuilder.getInstr()), MBIter); in InsertVPTBlocks()
/external/llvm-project/llvm/lib/CodeGen/
DMachineInstrBundle.cpp53 for (MachineBasicBlock::instr_iterator MII = MBB->instr_begin(), in runOnMachineFunction()
111 static DebugLoc getDebugLoc(MachineBasicBlock::instr_iterator FirstMI, in getDebugLoc()
112 MachineBasicBlock::instr_iterator LastMI) { in getDebugLoc()
126 MachineBasicBlock::instr_iterator FirstMI, in finalizeBundle()
127 MachineBasicBlock::instr_iterator LastMI) { in finalizeBundle()
244 MachineBasicBlock::instr_iterator
246 MachineBasicBlock::instr_iterator FirstMI) { in finalizeBundle()
247 MachineBasicBlock::instr_iterator E = MBB.instr_end(); in finalizeBundle()
248 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle()
261 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(); in finalizeBundles()
[all …]
DMachineBasicBlock.cpp122 for (MachineBasicBlock::instr_iterator in addNodeToList()
163 instr_iterator First, in transferNodesFromList()
164 instr_iterator Last) { in transferNodesFromList()
186 instr_iterator I = instr_begin(), E = instr_end(); in getFirstNonPHI()
234 MachineBasicBlock::instr_iterator MachineBasicBlock::getFirstInstrTerminator() { in getFirstInstrTerminator()
235 instr_iterator B = instr_begin(), E = instr_end(), I = E; in getFirstInstrTerminator()
250 instr_iterator B = instr_begin(), I = instr_end(); in getLastNonDebugInstr()
1023 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
1043 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
1065 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineInstrBundle.cpp53 for (MachineBasicBlock::instr_iterator MII = MBB->instr_begin(), in runOnMachineFunction()
111 static DebugLoc getDebugLoc(MachineBasicBlock::instr_iterator FirstMI, in getDebugLoc()
112 MachineBasicBlock::instr_iterator LastMI) { in getDebugLoc()
126 MachineBasicBlock::instr_iterator FirstMI, in finalizeBundle()
127 MachineBasicBlock::instr_iterator LastMI) { in finalizeBundle()
244 MachineBasicBlock::instr_iterator
246 MachineBasicBlock::instr_iterator FirstMI) { in finalizeBundle()
247 MachineBasicBlock::instr_iterator E = MBB.instr_end(); in finalizeBundle()
248 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle()
261 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(); in finalizeBundles()
[all …]
DMachineBasicBlock.cpp97 for (MachineBasicBlock::instr_iterator in addNodeToList()
138 instr_iterator First, in transferNodesFromList()
139 instr_iterator Last) { in transferNodesFromList()
161 instr_iterator I = instr_begin(), E = instr_end(); in getFirstNonPHI()
209 MachineBasicBlock::instr_iterator MachineBasicBlock::getFirstInstrTerminator() { in getFirstInstrTerminator()
210 instr_iterator B = instr_begin(), E = instr_end(), I = E; in getFirstInstrTerminator()
225 instr_iterator B = instr_begin(), I = instr_end(); in getLastNonDebugInstr()
903 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
923 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
945 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
[all …]
/external/llvm/lib/CodeGen/
DMachineInstrBundle.cpp52 for (MachineBasicBlock::instr_iterator MII = MBB->instr_begin(), in runOnMachineFunction()
114 MachineBasicBlock::instr_iterator FirstMI, in finalizeBundle()
115 MachineBasicBlock::instr_iterator LastMI) { in finalizeBundle()
223 MachineBasicBlock::instr_iterator
225 MachineBasicBlock::instr_iterator FirstMI) { in finalizeBundle()
226 MachineBasicBlock::instr_iterator E = MBB.instr_end(); in finalizeBundle()
227 MachineBasicBlock::instr_iterator LastMI = std::next(FirstMI); in finalizeBundle()
240 MachineBasicBlock::instr_iterator MII = MBB.instr_begin(); in finalizeBundles()
241 MachineBasicBlock::instr_iterator MIE = MBB.instr_end(); in finalizeBundles()
DMachineBasicBlock.cpp83 for (MachineBasicBlock::instr_iterator in addNodeToList()
141 instr_iterator I = instr_begin(), E = instr_end(); in getFirstNonPHI()
170 MachineBasicBlock::instr_iterator MachineBasicBlock::getFirstInstrTerminator() { in getFirstInstrTerminator()
171 instr_iterator B = instr_begin(), E = instr_end(), I = E; in getFirstInstrTerminator()
189 instr_iterator B = instr_begin(), I = instr_end(); in getLastNonDebugInstr()
652 for (MachineBasicBlock::instr_iterator MI = Succ->instr_begin(), in transferSuccessorsAndUpdatePHIs()
748 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
768 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
790 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
799 for (instr_iterator I = getFirstInstrTerminator(), E = instr_end(); in SplitCriticalEdge()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIPostRABundler.cpp98 MachineBasicBlock::instr_iterator Next; in runOnMachineFunction()
99 MachineBasicBlock::instr_iterator B = MBB.instr_begin(); in runOnMachineFunction()
100 MachineBasicBlock::instr_iterator E = MBB.instr_end(); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
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 …]
/external/llvm-project/llvm/lib/Target/Mips/
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 …]

12345