Lines Matching refs:MachineBasicBlock
29 #include "llvm/CodeGen/MachineBasicBlock.h"
89 MachineBasicBlock::iterator MBBI;
92 MachineBasicBlock::iterator i)
101 void UpdateBaseRegUses(MachineBasicBlock &MBB,
102 MachineBasicBlock::iterator MBBI,
105 bool MergeOps(MachineBasicBlock &MBB, MachineBasicBlock::iterator MBBI,
111 void MergeOpsUpdate(MachineBasicBlock &MBB,
124 SmallVectorImpl<MachineBasicBlock::iterator> &Merges);
125 void MergeLDR_STR(MachineBasicBlock &MBB, unsigned SIndex, unsigned Base,
129 SmallVectorImpl<MachineBasicBlock::iterator> &Merges);
130 void AdvanceRS(MachineBasicBlock &MBB, MemOpQueue &MemOps);
131 bool FixInvalidRegPairOp(MachineBasicBlock &MBB,
132 MachineBasicBlock::iterator &MBBI);
133 bool MergeBaseUpdateLoadStore(MachineBasicBlock &MBB,
134 MachineBasicBlock::iterator MBBI,
137 MachineBasicBlock::iterator &I);
138 bool MergeBaseUpdateLSMultiple(MachineBasicBlock &MBB,
139 MachineBasicBlock::iterator MBBI,
141 MachineBasicBlock::iterator &I);
142 bool LoadStoreMultipleOpti(MachineBasicBlock &MBB);
143 bool MergeReturnIntoLDM(MachineBasicBlock &MBB);
378 ARMLoadStoreOpt::UpdateBaseRegUses(MachineBasicBlock &MBB,
379 MachineBasicBlock::iterator MBBI,
478 ARMLoadStoreOpt::MergeOps(MachineBasicBlock &MBB,
479 MachineBasicBlock::iterator MBBI,
494 MachineBasicBlock::LQR_Dead);
728 void ARMLoadStoreOpt::MergeOpsUpdate(MachineBasicBlock &MBB,
737 SmallVectorImpl<MachineBasicBlock::iterator> &Merges) {
783 MachineBasicBlock::iterator Loc = memOps[insertAfter].MBBI;
831 ARMLoadStoreOpt::MergeLDR_STR(MachineBasicBlock &MBB, unsigned SIndex,
835 SmallVectorImpl<MachineBasicBlock::iterator> &Merges) {
840 MachineBasicBlock::iterator Loc = MemOps[SIndex].MBBI;
1100 bool ARMLoadStoreOpt::MergeBaseUpdateLSMultiple(MachineBasicBlock &MBB,
1101 MachineBasicBlock::iterator MBBI,
1103 MachineBasicBlock::iterator &I) {
1126 MachineBasicBlock::iterator BeginMBBI = MBB.begin();
1128 MachineBasicBlock::iterator PrevMBBI = std::prev(MBBI);
1145 MachineBasicBlock::iterator EndMBBI = MBB.end();
1147 MachineBasicBlock::iterator NextMBBI = std::next(MBBI);
1238 bool ARMLoadStoreOpt::MergeBaseUpdateLoadStore(MachineBasicBlock &MBB,
1239 MachineBasicBlock::iterator MBBI,
1242 MachineBasicBlock::iterator &I) {
1277 MachineBasicBlock::iterator BeginMBBI = MBB.begin();
1279 MachineBasicBlock::iterator PrevMBBI = std::prev(MBBI);
1296 MachineBasicBlock::iterator EndMBBI = MBB.end();
1298 MachineBasicBlock::iterator NextMBBI = std::next(MBBI);
1435 void ARMLoadStoreOpt::AdvanceRS(MachineBasicBlock &MBB, MemOpQueue &MemOps) {
1436 MachineBasicBlock::iterator Loc = MemOps[0].MBBI;
1449 static void InsertLDR_STR(MachineBasicBlock &MBB,
1450 MachineBasicBlock::iterator &MBBI,
1473 bool ARMLoadStoreOpt::FixInvalidRegPairOp(MachineBasicBlock &MBB,
1474 MachineBasicBlock::iterator &MBBI) {
1492 MachineBasicBlock::iterator NewBBI = MBBI;
1595 bool ARMLoadStoreOpt::LoadStoreMultipleOpti(MachineBasicBlock &MBB) {
1605 SmallVector<MachineBasicBlock::iterator,4> Merges;
1608 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
1786 bool ARMLoadStoreOpt::MergeReturnIntoLDM(MachineBasicBlock &MBB) {
1791 MachineBasicBlock::iterator MBBI = MBB.getLastNonDebugInstr();
1830 MachineBasicBlock &MBB = *MFI;
1870 bool RescheduleOps(MachineBasicBlock *MBB,
1874 bool RescheduleLoadStoreInstrs(MachineBasicBlock *MBB);
1896 MachineBasicBlock::iterator I,
1897 MachineBasicBlock::iterator E,
2032 bool ARMPreAllocLoadStoreOpt::RescheduleOps(MachineBasicBlock *MBB,
2111 MachineBasicBlock::iterator InsertPos = isLd ? FirstOp : LastOp;
2192 ARMPreAllocLoadStoreOpt::RescheduleLoadStoreInstrs(MachineBasicBlock *MBB) {
2202 MachineBasicBlock::iterator MBBI = MBB->begin();
2203 MachineBasicBlock::iterator E = MBB->end();