Home
last modified time | relevance | path

Searched refs:LoopHeaders (Results 1 – 12 of 12) 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 __anon5b07ffbc0111::JumpThreading
82 SmallSet<AssertingVH<BasicBlock>, 16> LoopHeaders; member in __anon5b07ffbc0111::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/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimplifyCFGPass.cpp155 SmallPtrSet<BasicBlock *, 16> LoopHeaders; in iterativelySimplifyCFG() local
157 LoopHeaders.insert(const_cast<BasicBlock *>(Edges[i].second)); in iterativelySimplifyCFG()
164 if (simplifyCFG(&*BBIt++, TTI, Options, &LoopHeaders)) { in iterativelySimplifyCFG()
DJumpThreading.cpp391 LoopHeaders.erase(&BB); in runImpl()
406 !LoopHeaders.count(&BB) && !LoopHeaders.count(BI->getSuccessor(0)) && in runImpl()
417 LoopHeaders.clear(); in runImpl()
544 LoopHeaders.insert(Edge.second); in FindLoopHeaders()
990 if (LoopHeaders.erase(SinglePred)) in ProcessBlock()
991 LoopHeaders.insert(BB); in ProcessBlock()
1568 if (LoopHeaders.count(BB)) in ProcessThreadableEdges()
1704 return LoopHeaders.count(PredToDest.second) != 0; in ProcessThreadableEdges()
1912 if (LoopHeaders.count(BB) || LoopHeaders.count(SuccBB)) { in ThreadEdge()
1914 bool BBIsHeader = LoopHeaders.count(BB); in ThreadEdge()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h87 SmallPtrSet<const BasicBlock *, 16> LoopHeaders; variable
89 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders; variable
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DLoopInfoImpl.h649 void addInnerLoopsToHeadersMap(DenseMap<BlockT *, const LoopT *> &LoopHeaders, in addInnerLoopsToHeadersMap() argument
652 LoopHeaders[L.getHeader()] = &L; in addInnerLoopsToHeadersMap()
654 addInnerLoopsToHeadersMap(LoopHeaders, LI, *SL); in addInnerLoopsToHeadersMap()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp174 SmallPtrSetImpl<BasicBlock *> *LoopHeaders; member in __anoncfefaace0111::SimplifyCFGOpt
199 SmallPtrSetImpl<BasicBlock *> *LoopHeaders, in SimplifyCFGOpt() argument
201 : TTI(TTI), DL(DL), LoopHeaders(LoopHeaders), Options(Opts) {} in SimplifyCFGOpt()
3865 if (LoopHeaders) in SimplifySingleResume()
3866 LoopHeaders->erase(BB); in SimplifySingleResume()
4087 if (LoopHeaders) in SimplifyReturn()
4088 LoopHeaders->erase(BB); in SimplifyReturn()
4249 if (LoopHeaders) in SimplifyUnreachable()
4250 LoopHeaders->erase(BB); in SimplifyUnreachable()
5758 (LoopHeaders && pred_size(BB) > 1 && in SimplifyUncondBranch()
[all …]
/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp144 SmallPtrSetImpl<BasicBlock *> *LoopHeaders; member in __anonf6627b760111::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 …]
/external/llvm/include/llvm/Transforms/Utils/
DLocal.h138 SmallPtrSetImpl<BasicBlock *> *LoopHeaders = nullptr);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DLocal.h218 SmallPtrSetImpl<BasicBlock *> *LoopHeaders = nullptr);