Lines Matching refs:Br
369 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in TransitionToCleanupSwitch() local
370 assert(Br->isUnconditional()); in TransitionToCleanupSwitch()
374 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block); in TransitionToCleanupSwitch()
375 Br->eraseFromParent(); in TransitionToCleanupSwitch()
485 llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Pred->getTerminator()); in SimplifyCleanupEntry() local
486 if (!Br || Br->isConditional()) return Entry; in SimplifyCleanupEntry()
487 assert(Br->getSuccessor(0) == Entry); in SimplifyCleanupEntry()
496 Br->eraseFromParent(); in SimplifyCleanupEntry()
546 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) { in ForwardPrebranchedFallthrough() local
547 assert(Br->isUnconditional() && Br->getSuccessor(0) == From); in ForwardPrebranchedFallthrough()
548 Br->setSuccessor(0, To); in ForwardPrebranchedFallthrough()