Searched refs:loopPreheader (Results 1 – 2 of 2) sorted by relevance
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 82 BasicBlock *loopPreheader; member in __anon73635aad0111::LoopUnswitch 96 loopPreheader(NULL) { in LoopUnswitch() 134 loopPreheader = currentLoop->getLoopPreheader(); in initLoopData() 417 if (!loopPreheader) in UnswitchIfProfitable() 525 BasicBlock *NewPH = SplitEdge(loopPreheader, loopHeader, this); in UnswitchTrivialCondition() 541 loopPreheader->getTerminator()); in UnswitchTrivialCondition() 542 LPM->deleteSimpleAnalysisValue(loopPreheader->getTerminator(), L); in UnswitchTrivialCondition() 543 loopPreheader->getTerminator()->eraseFromParent(); in UnswitchTrivialCondition() 597 BasicBlock *NewPreheader = SplitEdge(loopPreheader, loopHeader, this); in UnswitchNontrivialCondition() 685 BranchInst *OldBR = cast<BranchInst>(loopPreheader->getTerminator()); in UnswitchNontrivialCondition()
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopUnswitch.cpp | 190 BasicBlock *loopPreheader; member in __anon4dae7b810111::LoopUnswitch 207 loopPreheader(nullptr) { in LoopUnswitch() 231 loopPreheader = currentLoop->getLoopPreheader(); in initLoopData() 493 if (!loopPreheader) in processCurrentLoop() 829 BasicBlock *NewPH = SplitEdge(loopPreheader, loopHeader, DT, LI); in UnswitchTrivialCondition() 845 loopPreheader->getTerminator(), TI); in UnswitchTrivialCondition() 846 LPM->deleteSimpleAnalysisValue(loopPreheader->getTerminator(), L); in UnswitchTrivialCondition() 847 loopPreheader->getTerminator()->eraseFromParent(); in UnswitchTrivialCondition() 1042 BasicBlock *NewPreheader = SplitEdge(loopPreheader, loopHeader, DT, LI); in UnswitchNontrivialCondition() 1140 BranchInst *OldBR = cast<BranchInst>(loopPreheader->getTerminator()); in UnswitchNontrivialCondition()
|