Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.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.cpp411 LoopHeaders.erase(&BB); in runImpl()
426 !LoopHeaders.count(&BB) && !LoopHeaders.count(BI->getSuccessor(0)) && in runImpl()
437 LoopHeaders.clear(); in runImpl()
565 LoopHeaders.insert(Edge.second); in FindLoopHeaders()
1556 if (LoopHeaders.count(BB)) in ProcessThreadableEdges()
1689 return LoopHeaders.count(PredToDest.second) != 0; in ProcessThreadableEdges()
1894 if (LoopHeaders.erase(SinglePred)) in MaybeMergeBasicBlockIntoOnlyPred()
1895 LoopHeaders.insert(BB); in MaybeMergeBasicBlockIntoOnlyPred()
2031 if (LoopHeaders.count(BB) || LoopHeaders.count(SuccBB)) { in TryThreadEdge()
2033 bool BBIsHeader = LoopHeaders.count(BB); in TryThreadEdge()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h87 SmallPtrSet<const BasicBlock *, 16> LoopHeaders; variable
89 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders; variable
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DLoopInfoImpl.h629 void addInnerLoopsToHeadersMap(DenseMap<BlockT *, const LoopT *> &LoopHeaders, in addInnerLoopsToHeadersMap() argument
632 LoopHeaders[L.getHeader()] = &L; in addInnerLoopsToHeadersMap()
634 addInnerLoopsToHeadersMap(LoopHeaders, LI, *SL); in addInnerLoopsToHeadersMap()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp182 SmallPtrSetImpl<BasicBlock *> *LoopHeaders; member in __anonf6f422970111::SimplifyCFGOpt
211 SmallPtrSetImpl<BasicBlock *> *LoopHeaders, in SimplifyCFGOpt() argument
213 : TTI(TTI), DL(DL), LoopHeaders(LoopHeaders), Options(Opts) {} in SimplifyCFGOpt()
3976 if (LoopHeaders) in SimplifySingleResume()
3977 LoopHeaders->erase(BB); in SimplifySingleResume()
4198 if (LoopHeaders) in SimplifyReturn()
4199 LoopHeaders->erase(BB); in SimplifyReturn()
4363 if (LoopHeaders) in SimplifyUnreachable()
4364 LoopHeaders->erase(BB); in SimplifyUnreachable()
5872 (LoopHeaders && BB->hasNPredecessorsOrMore(2) && in SimplifyUncondBranch()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DLocal.h224 SmallPtrSetImpl<BasicBlock *> *LoopHeaders = nullptr);