Searched refs:PredTerm (Results 1 – 3 of 3) sorted by relevance
651 Instruction *PredTerm = BB->getTerminator(); in makeUnconditional() local653 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()657 if (isUnconditionalBranch(PredTerm)) { in makeUnconditional()658 PredTerm->setSuccessor(0, Target); in makeUnconditional()659 InstInfo[PredTerm].Live = true; in makeUnconditional()664 IRBuilder<> Builder(PredTerm); in makeUnconditional()667 if (const DILocation *DL = PredTerm->getDebugLoc()) in makeUnconditional()670 InstInfo.erase(PredTerm); in makeUnconditional()671 PredTerm->eraseFromParent(); in makeUnconditional()
2115 Instruction *PredTerm = PredBB->getTerminator(); in ThreadEdge() local2116 for (unsigned i = 0, e = PredTerm->getNumSuccessors(); i != e; ++i) in ThreadEdge()2117 if (PredTerm->getSuccessor(i) == BB) { in ThreadEdge()2119 PredTerm->setSuccessor(i, NewBB); in ThreadEdge()2441 BranchInst *PredTerm = cast<BranchInst>(Pred->getTerminator()); in UnfoldSelectInstr() local2445 PredTerm->removeFromParent(); in UnfoldSelectInstr()2446 NewBB->getInstList().insert(NewBB->end(), PredTerm); in UnfoldSelectInstr()2480 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator()); in TryToUnfoldSelect() local2481 if (!PredTerm || !PredTerm->isUnconditional()) in TryToUnfoldSelect()2520 BranchInst *PredTerm = dyn_cast<BranchInst>(Pred->getTerminator()); in TryToUnfoldSelect() local[all …]
338 Instruction *PredTerm = PredBB->getTerminator(); in findIBRPredecessor() local339 switch (PredTerm->getOpcode()) { in findIBRPredecessor()