Home
last modified time | relevance | path

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

/external/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h66 SmallPtrSet<const BasicBlock *, 16> LoopHeaders; variable
68 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders; variable
92 LoopHeaders(std::move(Other.LoopHeaders)), in JumpThreadingPass()
/external/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp139 SmallPtrSet<BasicBlock *, 16> LoopHeaders; in iterativelySimplifyCFG() local
141 LoopHeaders.insert(const_cast<BasicBlock *>(Edges[i].second)); in iterativelySimplifyCFG()
148 if (SimplifyCFG(&*BBIt++, TTI, BonusInstThreshold, AC, &LoopHeaders)) { in iterativelySimplifyCFG()
DJumpThreading.cpp210 LoopHeaders.erase(BB); in runImpl()
228 BB->getFirstNonPHIOrDbg()->isTerminator() && !LoopHeaders.count(BB)) { in runImpl()
232 bool ErasedFromLoopHeaders = LoopHeaders.erase(BB); in runImpl()
248 LoopHeaders.insert(BB); in runImpl()
254 LoopHeaders.clear(); in runImpl()
346 LoopHeaders.insert(Edge.second); in FindLoopHeaders()
719 if (LoopHeaders.erase(SinglePred)) in ProcessBlock()
720 LoopHeaders.insert(BB); in ProcessBlock()
1177 if (LoopHeaders.count(BB)) in ProcessThreadableEdges()
1450 if (LoopHeaders.count(BB)) { in ThreadEdge()
[all …]
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DJumpThreading.cpp80 SmallPtrSet<BasicBlock*, 16> LoopHeaders; member in __anon6d1f40320111::JumpThreading
82 SmallSet<AssertingVH<BasicBlock>, 16> LoopHeaders; member in __anon6d1f40320111::JumpThreading
168 LoopHeaders.erase(BB); in runOnFunction()
187 bool ErasedFromLoopHeaders = LoopHeaders.erase(BB); in runOnFunction()
203 LoopHeaders.insert(BB); in runOnFunction()
209 LoopHeaders.clear(); in runOnFunction()
281 LoopHeaders.insert(const_cast<BasicBlock*>(Edges[i].second)); in FindLoopHeaders()
639 if (LoopHeaders.erase(SinglePred)) in ProcessBlock()
640 LoopHeaders.insert(BB); in ProcessBlock()
1041 if (LoopHeaders.count(BB)) in ProcessThreadableEdges()
[all …]
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h138 SmallPtrSetImpl<BasicBlock *> *LoopHeaders = nullptr);
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp144 SmallPtrSetImpl<BasicBlock *> *LoopHeaders; member in __anon10771dac0111::SimplifyCFGOpt
168 SmallPtrSetImpl<BasicBlock *> *LoopHeaders) in SimplifyCFGOpt() argument
170 LoopHeaders(LoopHeaders) {} in SimplifyCFGOpt()
3472 if (LoopHeaders) in SimplifySingleResume()
3473 LoopHeaders->erase(BB); in SimplifySingleResume()
3693 if (LoopHeaders) in SimplifyReturn()
3694 LoopHeaders->erase(BB); in SimplifyReturn()
3854 if (LoopHeaders) in SimplifyUnreachable()
3855 LoopHeaders->erase(BB); in SimplifyUnreachable()
5217 (!LoopHeaders || !LoopHeaders->count(BB)) && in SimplifyUncondBranch()
[all …]