Lines Matching refs:Br
316 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in TransitionToCleanupSwitch() local
317 assert(Br->isUnconditional()); in TransitionToCleanupSwitch()
321 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block); in TransitionToCleanupSwitch()
322 Br->eraseFromParent(); in TransitionToCleanupSwitch()
405 llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Pred->getTerminator()); in SimplifyCleanupEntry() local
406 if (!Br || Br->isConditional()) return Entry; in SimplifyCleanupEntry()
407 assert(Br->getSuccessor(0) == Entry); in SimplifyCleanupEntry()
416 Br->eraseFromParent(); in SimplifyCleanupEntry()
472 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in ForwardPrebranchedFallthrough() local
473 assert(Br->isUnconditional() && Br->getSuccessor(0) == From); in ForwardPrebranchedFallthrough()
474 Br->setSuccessor(0, To); in ForwardPrebranchedFallthrough()