Lines Matching refs:It

189   int countActiveBlock(MBBVector::const_iterator It,
324 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in getSCCNum() local
325 if (It == BlockInfoMap.end()) in getSCCNum()
327 return (*It).second->SccNum; in getSCCNum()
332 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep); in getLoopLandInfo() local
333 if (It == LLInfoMap.end()) in getLoopLandInfo()
335 return (*It).second; in getLoopLandInfo()
347 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in isRetiredBlock() local
348 if (It == BlockInfoMap.end()) in isRetiredBlock()
350 return (*It).second->IsRetired; in isRetiredBlock()
384 int R600MachineCFGStructurizer::countActiveBlock(MBBVector::const_iterator It, in countActiveBlock() argument
387 while (It != E) { in countActiveBlock()
388 if (!isRetiredBlock(*It)) in countActiveBlock()
390 ++It; in countActiveBlock()
546 MachineBasicBlock::succ_iterator It = MBB->succ_begin(); in getFalseBranch() local
547 MachineBasicBlock::succ_iterator Next = It; in getFalseBranch()
549 return (*It == TrueBranch) ? *Next : *It; in getFalseBranch()
585 MachineBasicBlock::reverse_iterator It = MBB->rbegin(); in getNormalBlockBranchInstr() local
586 MachineInstr *MI = &*It; in getNormalBlockBranchInstr()
594 for (MachineBasicBlock::reverse_iterator It = MBB->rbegin(), E = MBB->rend(); in getLoopendBlockBranchInstr() local
595 It != E; ++It) { in getLoopendBlockBranchInstr()
597 MachineInstr *MI = &*It; in getLoopendBlockBranchInstr()
609 MachineBasicBlock::reverse_iterator It = MBB->rbegin(); in getReturnInstr() local
610 if (It != MBB->rend()) { in getReturnInstr()
611 MachineInstr *instr = &(*It); in getReturnInstr()
639 for (const MachineInstr &It : *MBB) in clone()
640 NewMBB->push_back(Func->CloneMachineInstr(&It)); in clone()
662 MachineBasicBlock::iterator It = Pre; in wrapup() local
663 while (It != E) { in wrapup()
665 && It->getOpcode() == R600::ENDLOOP) in wrapup()
667 Pre = It; in wrapup()
668 ++It; in wrapup()
746 SmallVectorImpl<MachineBasicBlock *>::const_iterator It = in run() local
752 It; in run()
758 while (It != E) { in run()
759 MBB = *It; in run()
762 SccBeginIter = It; in run()
773 ++It; in run()
776 if (It == E in run()
777 || getSCCNum(SccBeginMBB) != getSCCNum(*It)) { in run()
780 int sccRemainedNumBlk = countActiveBlock(SccBeginIter, It); in run()
789 It = SccBeginIter; in run()
829 for (auto &It : BlockInfoMap) { in run() local
830 if (It.second && It.second->IsRetired) { in run()
831 assert((It.first)->getNumber() != -1); in run()
832 LLVM_DEBUG(dbgs() << "Erase BB" << (It.first)->getNumber() << "\n";); in run()
833 It.first->eraseFromParent(); // Remove from the parent Function. in run()
835 delete It.second; in run()
850 for (scc_iterator<MachineFunction *> It = scc_begin(MF); !It.isAtEnd(); in orderBlocks() local
851 ++It, ++SccNum) { in orderBlocks()
852 const std::vector<MachineBasicBlock *> &SccNext = *It; in orderBlocks()
983 for (auto &It: *MLI) in loopendPatternMatch()
984 for (MachineLoop *ML : depth_first(It)) in loopendPatternMatch()