Home
last modified time | relevance | path

Searched refs:OldTerm (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp2892 static bool SimplifyTerminatorOnSelect(TerminatorInst *OldTerm, Value *Cond, in SimplifyTerminatorOnSelect() argument
2904 for (BasicBlock *Succ : OldTerm->successors()) { in SimplifyTerminatorOnSelect()
2911 Succ->removePredecessor(OldTerm->getParent(), in SimplifyTerminatorOnSelect()
2915 IRBuilder<> Builder(OldTerm); in SimplifyTerminatorOnSelect()
2916 Builder.SetCurrentDebugLocation(OldTerm->getDebugLoc()); in SimplifyTerminatorOnSelect()
2930 MDBuilder(OldTerm->getContext()). in SimplifyTerminatorOnSelect()
2936 new UnreachableInst(OldTerm->getContext(), OldTerm); in SimplifyTerminatorOnSelect()
2949 EraseTerminatorInstAndDCECond(OldTerm); in SimplifyTerminatorOnSelect()