reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
523 llvm::BasicBlock *Pred = Entry->getSinglePredecessor(); 524 if (!Pred) return Entry; 527 if (!Br || Br->isConditional()) return Entry; 528 assert(Br->getSuccessor(0) == Entry); 533 bool WasInsertBlock = CGF.Builder.GetInsertBlock() == Entry; 534 assert(!WasInsertBlock || CGF.Builder.GetInsertPoint() == Entry->end()); 541 Entry->replaceAllUsesWith(Pred); 544 Pred->getInstList().splice(Pred->end(), Entry->getInstList()); 547 Entry->eraseFromParent();