Lines Matching refs:PI
369 for (MachineBasicBlock::pred_iterator PI = (*SI)->pred_begin(), in selectBestSuccessor() local
371 PI != PE; ++PI) { in selectBestSuccessor()
372 if (*PI == *SI || (BlockFilter && !BlockFilter->count(*PI)) || in selectBestSuccessor()
373 BlockToChain[*PI] == &Chain) in selectBestSuccessor()
376 = MBFI->getBlockFreq(*PI) * MBPI->getEdgeProbability(*PI, *SI); in selectBestSuccessor()
569 for (MachineBasicBlock::pred_iterator PI = L.getHeader()->pred_begin(), in findBestLoopTop() local
571 PI != PE; ++PI) { in findBestLoopTop()
572 MachineBasicBlock *Pred = *PI; in findBestLoopTop()
741 for (MachineBasicBlock::pred_iterator PI = Top->pred_begin(), in rotateLoop() local
743 PI != PE; ++PI) { in rotateLoop()
744 BlockChain *PredChain = BlockToChain[*PI]; in rotateLoop()
745 if (!LoopBlockSet.count(*PI) && in rotateLoop()
746 (!PredChain || *PI == *llvm::prior(PredChain->end()))) { in rotateLoop()
823 for (MachineBasicBlock::pred_iterator PI = (*BCI)->pred_begin(), in buildLoopChains() local
825 PI != PE; ++PI) { in buildLoopChains()
826 if (BlockToChain[*PI] == &Chain || !LoopBlockSet.count(*PI)) in buildLoopChains()
924 for (MachineBasicBlock::pred_iterator PI = (*BCI)->pred_begin(), in buildCFGChains() local
926 PI != PE; ++PI) { in buildCFGChains()
927 if (BlockToChain[*PI] == &Chain) in buildCFGChains()