Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopUnswitch.cpp82 BasicBlock *loopPreheader; member in __anondb7020390111::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/
DLoopUnswitch.cpp190 BasicBlock *loopPreheader; member in __anonbcfadd0d0111::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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopUnswitch.cpp184 BasicBlock *loopPreheader = nullptr; member in __anon2e9142650111::LoopUnswitch
229 loopPreheader = currentLoop->getLoopPreheader(); in initLoopData()
613 if (!loopPreheader) in processCurrentLoop()
987 BasicBlock *NewPH = SplitEdge(loopPreheader, loopHeader, DT, LI); in UnswitchTrivialCondition()
1002 auto *OldBranch = dyn_cast<BranchInst>(loopPreheader->getTerminator()); in UnswitchTrivialCondition()
1219 BasicBlock *NewPreheader = SplitEdge(loopPreheader, loopHeader, DT, LI); in UnswitchNontrivialCondition()
1317 BranchInst *OldBR = cast<BranchInst>(loopPreheader->getTerminator()); in UnswitchNontrivialCondition()