Lines Matching refs:OldTerm
2466 static bool SimplifyTerminatorOnSelect(TerminatorInst *OldTerm, Value *Cond,
2478 for (unsigned I = 0, E = OldTerm->getNumSuccessors(); I != E; ++I) {
2479 BasicBlock *Succ = OldTerm->getSuccessor(I);
2486 Succ->removePredecessor(OldTerm->getParent());
2489 IRBuilder<> Builder(OldTerm);
2490 Builder.SetCurrentDebugLocation(OldTerm->getDebugLoc());
2504 MDBuilder(OldTerm->getContext()).
2510 new UnreachableInst(OldTerm->getContext(), OldTerm);
2523 EraseTerminatorInstAndDCECond(OldTerm);