• Home
  • Raw
  • Download

Lines Matching refs:It

218   int countActiveBlock(MBBVector::const_iterator It,
354 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in getSCCNum() local
355 if (It == BlockInfoMap.end()) in getSCCNum()
357 return (*It).second->SccNum; in getSCCNum()
362 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep); in getLoopLandInfo() local
363 if (It == LLInfoMap.end()) in getLoopLandInfo()
365 return (*It).second; in getLoopLandInfo()
381 MBBInfoMap::const_iterator It = BlockInfoMap.find(MBB); in isRetiredBlock() local
382 if (It == BlockInfoMap.end()) in isRetiredBlock()
384 return (*It).second->IsRetired; in isRetiredBlock()
417 int AMDGPUCFGStructurizer::countActiveBlock(MBBVector::const_iterator It, in countActiveBlock() argument
420 while (It != E) { in countActiveBlock()
421 if (!isRetiredBlock(*It)) in countActiveBlock()
423 ++It; in countActiveBlock()
589 MachineBasicBlock::succ_iterator It = MBB->succ_begin(); in getFalseBranch() local
590 MachineBasicBlock::succ_iterator Next = It; in getFalseBranch()
592 return (*It == TrueBranch) ? *Next : *It; in getFalseBranch()
620 for (MachineBasicBlock::iterator It = MBB->begin(); It != MBB->end(); in getLastDebugLocInBB() local
621 ++It) { in getLastDebugLocInBB()
622 MachineInstr *instr = &(*It); in getLastDebugLocInBB()
631 MachineBasicBlock::reverse_iterator It = MBB->rbegin(); in getNormalBlockBranchInstr() local
632 MachineInstr *MI = &*It; in getNormalBlockBranchInstr()
640 for (MachineBasicBlock::reverse_iterator It = MBB->rbegin(), E = MBB->rend(); in getLoopendBlockBranchInstr() local
641 It != E; ++It) { in getLoopendBlockBranchInstr()
643 MachineInstr *MI = &*It; in getLoopendBlockBranchInstr()
655 MachineBasicBlock::reverse_iterator It = MBB->rbegin(); in getReturnInstr() local
656 if (It != MBB->rend()) { in getReturnInstr()
657 MachineInstr *instr = &(*It); in getReturnInstr()
665 MachineBasicBlock::reverse_iterator It = MBB->rbegin(); in getContinueInstr() local
666 if (It != MBB->rend()) { in getContinueInstr()
667 MachineInstr *MI = &(*It); in getContinueInstr()
688 for (MachineBasicBlock::succ_iterator It = SrcMBB->succ_begin(), in cloneSuccessorList() local
689 iterEnd = SrcMBB->succ_end(); It != iterEnd; ++It) in cloneSuccessorList()
690 DstMBB->addSuccessor(*It); // *iter's predecessor is also taken care of in cloneSuccessorList()
697 for (MachineBasicBlock::iterator It = MBB->begin(), E = MBB->end(); in clone() local
698 It != E; ++It) { in clone()
699 MachineInstr *MI = Func->CloneMachineInstr(It); in clone()
723 MachineBasicBlock::iterator It = Pre; in wrapup() local
724 while (It != E) { in wrapup()
726 && It->getOpcode() == AMDGPU::ENDLOOP) in wrapup()
728 Pre = It; in wrapup()
729 ++It; in wrapup()
756 for (MachineLoopInfo::iterator It = MLI->begin(), in prepare() local
757 E = MLI->end(); It != E; ++It) { in prepare()
758 MachineLoop *LoopRep = (*It); in prepare()
772 It = OrderedBlks.begin(), E = OrderedBlks.end(); It != E; ++It) { in prepare() local
773 MachineBasicBlock *MBB = *It; in prepare()
815 SmallVectorImpl<MachineBasicBlock *>::const_iterator It = in run() local
821 It; in run()
827 while (It != E) { in run()
828 MBB = *It; in run()
831 SccBeginIter = It; in run()
844 ++It; in run()
847 if (It == E in run()
848 || getSCCNum(SccBeginMBB) != getSCCNum(*It)) { in run()
851 int sccRemainedNumBlk = countActiveBlock(SccBeginIter, It); in run()
861 It = SccBeginIter; in run()
907 for (MBBInfoMap::iterator It = BlockInfoMap.begin(), E = BlockInfoMap.end(); in run() local
908 It != E; ++It) { in run()
909 if ((*It).second && (*It).second->IsRetired) { in run()
910 assert(((*It).first)->getNumber() != -1); in run()
912 dbgs() << "Erase BB" << ((*It).first)->getNumber() << "\n"; in run()
914 (*It).first->eraseFromParent(); //Remove from the parent Function. in run()
916 delete (*It).second; in run()
934 for (scc_iterator<MachineFunction *> It = scc_begin(MF); !It.isAtEnd(); in orderBlocks() local
935 ++It, ++SccNum) { in orderBlocks()
936 const std::vector<MachineBasicBlock *> &SccNext = *It; in orderBlocks()
948 MachineFunction::iterator It = GTM::nodes_begin(MF), E = GTM::nodes_end(MF); in orderBlocks() local
949 for (; It != E; ++It) { in orderBlocks()
950 MachineBasicBlock *MBB = &(*It); in orderBlocks()
1078 for (MachineLoopInfo::iterator It = MLI->begin(), E = MLI->end(); It != E; in loopendPatternMatch() local
1079 ++It) in loopendPatternMatch()
1080 for (MachineLoop *ML : depth_first(*It)) in loopendPatternMatch()
1089 for (std::vector<MachineLoop *>::reverse_iterator It = NestedLoops.rbegin(), in loopendPatternMatch() local
1090 E = NestedLoops.rend(); It != E; ++It) { in loopendPatternMatch()
1091 MachineLoop *ExaminedLoop = *It; in loopendPatternMatch()
1152 GTIM::ChildIteratorType It = GTIM::child_begin(LoopHeader), in loopcontPatternMatch() local
1154 for (; It != E; ++It) { in loopcontPatternMatch()
1155 MachineBasicBlock *MBB = *It; in loopcontPatternMatch()
1164 for (SmallVectorImpl<MachineBasicBlock *>::iterator It = ContMBB.begin(), in loopcontPatternMatch() local
1165 E = ContMBB.end(); It != E; ++It) { in loopcontPatternMatch()
1166 (*It)->removeSuccessor(LoopHeader); in loopcontPatternMatch()
1783 for (SmallVectorImpl<MachineBasicBlock *>::iterator It = RetMBB.begin(), in addDummyExitBlock() local
1784 E = RetMBB.end(); It != E; ++It) { in addDummyExitBlock()
1785 MachineBasicBlock *MBB = *It; in addDummyExitBlock()
1877 std::set<MachineBasicBlock *>::const_iterator It = MBBs.begin(); in findNearestCommonPostDom() local
1879 for (CommonDom = *It; It != E && CommonDom; ++It) { in findNearestCommonPostDom()
1880 MachineBasicBlock *MBB = *It; in findNearestCommonPostDom()