Lines Matching refs:Br
363 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in TransitionToCleanupSwitch() local
364 assert(Br->isUnconditional()); in TransitionToCleanupSwitch()
368 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block); in TransitionToCleanupSwitch()
369 Br->eraseFromParent(); in TransitionToCleanupSwitch()
524 llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Pred->getTerminator()); in SimplifyCleanupEntry() local
525 if (!Br || Br->isConditional()) return Entry; in SimplifyCleanupEntry()
526 assert(Br->getSuccessor(0) == Entry); in SimplifyCleanupEntry()
535 Br->eraseFromParent(); in SimplifyCleanupEntry()
585 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in ForwardPrebranchedFallthrough() local
586 assert(Br->isUnconditional() && Br->getSuccessor(0) == From); in ForwardPrebranchedFallthrough()
587 Br->setSuccessor(0, To); in ForwardPrebranchedFallthrough()