Searched refs:PrevBB (Results 1 – 6 of 6) sorted by relevance
/external/llvm/lib/CodeGen/ |
D | BranchFolding.cpp | 1245 MachineBasicBlock &PrevBB = *std::prev(MachineFunction::iterator(MBB)); in OptimizeBlock() local 1250 TII->AnalyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true); in OptimizeBlock() 1253 MadeChange |= PrevBB.CorrectExtraCFGEdges(PriorTBB, PriorFBB, in OptimizeBlock() 1260 DebugLoc dl = getBranchDebugLoc(PrevBB); in OptimizeBlock() 1261 TII->RemoveBranch(PrevBB); in OptimizeBlock() 1264 TII->InsertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl); in OptimizeBlock() 1278 PrevBB.succ_size() == 1 && in OptimizeBlock() 1280 DEBUG(dbgs() << "\nMerging into block: " << PrevBB in OptimizeBlock() 1283 if (PrevBB.begin() != PrevBB.end()) { in OptimizeBlock() 1284 MachineBasicBlock::iterator PrevBBIter = PrevBB.end(); in OptimizeBlock() [all …]
|
D | TailDuplication.cpp | 870 MachineBasicBlock *PrevBB = &*std::prev(TailBB->getIterator()); in TailDuplicate() local 875 if (PrevBB->succ_size() == 1 && in TailDuplicate() 876 !TII->AnalyzeBranch(*PrevBB, PriorTBB, PriorFBB, PriorCond, true) && in TailDuplicate() 879 DEBUG(dbgs() << "\nMerging into block: " << *PrevBB in TailDuplicate() 890 ProcessPHI(MI, TailBB, PrevBB, LocalVRMap, CopyInfos, UsedByPhi, true); in TailDuplicate() 901 DuplicateInstruction(MI, TailBB, PrevBB, MF, LocalVRMap, UsedByPhi); in TailDuplicate() 904 MachineBasicBlock::iterator Loc = PrevBB->getFirstTerminator(); in TailDuplicate() 906 Copies.push_back(BuildMI(*PrevBB, Loc, DebugLoc(), in TailDuplicate() 913 PrevBB->splice(PrevBB->end(), TailBB, TailBB->begin(), TailBB->end()); in TailDuplicate() 915 PrevBB->removeSuccessor(PrevBB->succ_begin()); in TailDuplicate() [all …]
|
D | MachineBlockPlacement.cpp | 1249 MachineBasicBlock *PrevBB = &*std::prev(MachineFunction::iterator(ChainBB)); in buildCFGChains() local 1256 if (!TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) { in buildCFGChains() 1269 PrevBB->updateTerminator(); in buildCFGChains() 1273 if (TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond)) { in buildCFGChains() 1282 MBPI->getEdgeProbability(PrevBB, FBB) > in buildCFGChains() 1283 MBPI->getEdgeProbability(PrevBB, TBB) && in buildCFGChains() 1286 << getBlockName(PrevBB) << "\n"); in buildCFGChains() 1288 << MBPI->getEdgeProbability(PrevBB, FBB) << " vs " in buildCFGChains() 1289 << MBPI->getEdgeProbability(PrevBB, TBB) << "\n"); in buildCFGChains() 1291 TII->RemoveBranch(*PrevBB); in buildCFGChains() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64A53Fix835769.cpp | 134 MachineBasicBlock *PrevBB = &*std::prev(MBBI); in getBBFallenThrough() local 136 if (S == PrevBB && !TII->AnalyzeBranch(*PrevBB, TBB, FBB, Cond) && in getBBFallenThrough()
|
/external/llvm/lib/ExecutionEngine/Interpreter/ |
D | Execution.cpp | 931 BasicBlock *PrevBB = SF.CurBB; // Remember where we came from... in SwitchToNewBasicBlock() local 942 int i = PN->getBasicBlockIndex(PrevBB); in SwitchToNewBasicBlock()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 5006 if (BasicBlock *PrevBB = allPredecessorsComeFromSameSource(BB)) in SimplifyCondBranch() local 5007 if (BranchInst *PBI = dyn_cast<BranchInst>(PrevBB->getTerminator())) in SimplifyCondBranch()
|