Lines Matching refs:Br
308 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) {
309 assert(Br->isUnconditional());
313 llvm::SwitchInst::Create(Load, Br->getSuccessor(0), 4, Block);
314 Br->eraseFromParent();
408 llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Pred->getTerminator());
409 if (!Br || Br->isConditional()) return Entry;
410 assert(Br->getSuccessor(0) == Entry);
419 Br->eraseFromParent();
475 if (llvm::BranchInst *Br = dyn_cast<llvm::BranchInst>(Term)) {
476 assert(Br->isUnconditional() && Br->getSuccessor(0) == From);
477 Br->setSuccessor(0, To);