Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:MachineBasicBlock

89     MachineBasicBlock *CurPreheader; // The preheader for CurLoop.
92 SmallVector<MachineBasicBlock*, 8> ExitBlocks;
94 bool isExitBlock(const MachineBasicBlock *MBB) const {
227 bool IsGuaranteedToExecute(MachineBasicBlock *BB);
229 void EnterScope(MachineBasicBlock *MBB);
231 void ExitScope(MachineBasicBlock *MBB);
257 void InitRegPressure(MachineBasicBlock *BB);
299 bool Hoist(MachineInstr *MI, MachineBasicBlock *Preheader);
304 void InitCSEMap(MachineBasicBlock *BB);
308 MachineBasicBlock *getCurPreheader();
511 MachineBasicBlock *Preheader = getCurPreheader();
524 const std::vector<MachineBasicBlock *> &Blocks = CurLoop->getBlocks();
526 MachineBasicBlock *BB = Blocks[i];
536 for (MachineBasicBlock::livein_iterator I = BB->livein_begin(),
544 for (MachineBasicBlock::iterator
553 MachineBasicBlock::iterator TI = Preheader->getFirstTerminator();
606 const std::vector<MachineBasicBlock *> &Blocks = CurLoop->getBlocks();
608 MachineBasicBlock *BB = Blocks[i];
611 for (MachineBasicBlock::iterator
628 MachineBasicBlock *Preheader = getCurPreheader();
636 MachineBasicBlock *MBB = MI->getParent();
650 bool MachineLICM::IsGuaranteedToExecute(MachineBasicBlock *BB) {
656 SmallVector<MachineBasicBlock*, 8> CurrentLoopExitingBlocks;
669 void MachineLICM::EnterScope(MachineBasicBlock *MBB) {
676 void MachineLICM::ExitScope(MachineBasicBlock *MBB) {
710 MachineBasicBlock *Preheader = getCurPreheader();
724 MachineBasicBlock *BB = Node->getBlock();
768 MachineBasicBlock *MBB = Node->getBlock();
774 for (MachineBasicBlock::iterator
776 MachineBasicBlock::iterator NextMII = MII; ++NextMII;
789 MachineBasicBlock *Preheader = getCurPreheader();
794 for (MachineBasicBlock::instr_iterator I = Preheader->instr_begin();
809 MachineBasicBlock *B = nullptr;
842 void MachineLICM::InitRegPressure(MachineBasicBlock *BB) {
850 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
1271 MachineBasicBlock *MBB = MI->getParent();
1272 MachineBasicBlock::iterator Pos = MI;
1291 void MachineLICM::InitCSEMap(MachineBasicBlock *BB) {
1292 for (MachineBasicBlock::iterator I = BB->begin(),E = BB->end(); I != E; ++I) {
1384 bool MachineLICM::Hoist(MachineInstr *MI, MachineBasicBlock *Preheader) {
1397 dbgs() << " to MachineBasicBlock "
1400 dbgs() << " from MachineBasicBlock "
1445 MachineBasicBlock *MachineLICM::getCurPreheader() {
1450 if (CurPreheader == reinterpret_cast<MachineBasicBlock *>(-1))
1456 MachineBasicBlock *Pred = CurLoop->getLoopPredecessor();
1458 CurPreheader = reinterpret_cast<MachineBasicBlock *>(-1);
1464 CurPreheader = reinterpret_cast<MachineBasicBlock *>(-1);