Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:MachineBasicBlock

82     MachineBasicBlock *CurPreheader; // The preheader for CurLoop.
85 SmallVector<MachineBasicBlock*, 8> ExitBlocks;
87 bool isExitBlock(const MachineBasicBlock *MBB) const {
222 bool IsGuaranteedToExecute(MachineBasicBlock *BB);
224 void EnterScope(MachineBasicBlock *MBB);
226 void ExitScope(MachineBasicBlock *MBB);
254 void InitRegPressure(MachineBasicBlock *BB);
285 bool Hoist(MachineInstr *MI, MachineBasicBlock *Preheader);
290 void InitCSEMap(MachineBasicBlock *BB);
294 MachineBasicBlock *getCurPreheader();
496 MachineBasicBlock *Preheader = getCurPreheader();
509 const std::vector<MachineBasicBlock *> &Blocks = CurLoop->getBlocks();
511 MachineBasicBlock *BB = Blocks[i];
521 for (MachineBasicBlock::livein_iterator I = BB->livein_begin(),
529 for (MachineBasicBlock::iterator
538 MachineBasicBlock::iterator TI = Preheader->getFirstTerminator();
591 const std::vector<MachineBasicBlock *> &Blocks = CurLoop->getBlocks();
593 MachineBasicBlock *BB = Blocks[i];
596 for (MachineBasicBlock::iterator
613 MachineBasicBlock *Preheader = getCurPreheader();
621 MachineBasicBlock *MBB = MI->getParent();
635 bool MachineLICM::IsGuaranteedToExecute(MachineBasicBlock *BB) {
641 SmallVector<MachineBasicBlock*, 8> CurrentLoopExitingBlocks;
654 void MachineLICM::EnterScope(MachineBasicBlock *MBB) {
661 void MachineLICM::ExitScope(MachineBasicBlock *MBB) {
705 MachineBasicBlock *BB = Node->getBlock();
739 MachineBasicBlock *Preheader = getCurPreheader();
752 MachineBasicBlock *MBB = Node->getBlock();
754 MachineBasicBlock *Preheader = getCurPreheader();
762 for (MachineBasicBlock::iterator
764 MachineBasicBlock::iterator NextMII = MII; ++NextMII;
800 void MachineLICM::InitRegPressure(MachineBasicBlock *BB) {
808 MachineBasicBlock *TBB = nullptr, *FBB = nullptr;
814 for (MachineBasicBlock::iterator MII = BB->begin(), E = BB->end();
1278 MachineBasicBlock *MBB = MI->getParent();
1279 MachineBasicBlock::iterator Pos = MI;
1298 void MachineLICM::InitCSEMap(MachineBasicBlock *BB) {
1299 for (MachineBasicBlock::iterator I = BB->begin(),E = BB->end(); I != E; ++I) {
1399 bool MachineLICM::Hoist(MachineInstr *MI, MachineBasicBlock *Preheader) {
1412 dbgs() << " to MachineBasicBlock "
1415 dbgs() << " from MachineBasicBlock "
1463 MachineBasicBlock *MachineLICM::getCurPreheader() {
1468 if (CurPreheader == reinterpret_cast<MachineBasicBlock *>(-1))
1474 MachineBasicBlock *Pred = CurLoop->getLoopPredecessor();
1476 CurPreheader = reinterpret_cast<MachineBasicBlock *>(-1);
1482 CurPreheader = reinterpret_cast<MachineBasicBlock *>(-1);