Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DSimplifyCFG.cpp1830 static bool SimplifyTerminatorOnSelect(TerminatorInst *OldTerm, Value *Cond, in SimplifyTerminatorOnSelect() argument
1840 for (unsigned I = 0, E = OldTerm->getNumSuccessors(); I != E; ++I) { in SimplifyTerminatorOnSelect()
1841 BasicBlock *Succ = OldTerm->getSuccessor(I); in SimplifyTerminatorOnSelect()
1848 Succ->removePredecessor(OldTerm->getParent()); in SimplifyTerminatorOnSelect()
1851 IRBuilder<> Builder(OldTerm); in SimplifyTerminatorOnSelect()
1852 Builder.SetCurrentDebugLocation(OldTerm->getDebugLoc()); in SimplifyTerminatorOnSelect()
1867 new UnreachableInst(OldTerm->getContext(), OldTerm); in SimplifyTerminatorOnSelect()
1880 EraseTerminatorInstAndDCECond(OldTerm); in SimplifyTerminatorOnSelect()
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp3007 static bool SimplifyTerminatorOnSelect(TerminatorInst *OldTerm, Value *Cond, in SimplifyTerminatorOnSelect() argument
3019 for (BasicBlock *Succ : OldTerm->successors()) { in SimplifyTerminatorOnSelect()
3026 Succ->removePredecessor(OldTerm->getParent(), in SimplifyTerminatorOnSelect()
3030 IRBuilder<> Builder(OldTerm); in SimplifyTerminatorOnSelect()
3031 Builder.SetCurrentDebugLocation(OldTerm->getDebugLoc()); in SimplifyTerminatorOnSelect()
3045 MDBuilder(OldTerm->getContext()) in SimplifyTerminatorOnSelect()
3051 new UnreachableInst(OldTerm->getContext(), OldTerm); in SimplifyTerminatorOnSelect()
3064 EraseTerminatorInstAndDCECond(OldTerm); in SimplifyTerminatorOnSelect()