/external/llvm/include/llvm/Transforms/Scalar/ |
D | JumpThreading.h | 66 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/ |
D | SimplifyCFGPass.cpp | 139 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()
|
D | JumpThreading.cpp | 210 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-10.0/llvm/lib/Transforms/Scalar/ |
D | SimplifyCFGPass.cpp | 155 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()
|
D | JumpThreading.cpp | 411 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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | JumpThreading.h | 87 SmallPtrSet<const BasicBlock *, 16> LoopHeaders; variable 89 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders; variable
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | LoopInfoImpl.h | 629 void addInnerLoopsToHeadersMap(DenseMap<BlockT *, const LoopT *> &LoopHeaders, in addInnerLoopsToHeadersMap() argument 632 LoopHeaders[L.getHeader()] = &L; in addInnerLoopsToHeadersMap() 634 addInnerLoopsToHeadersMap(LoopHeaders, LI, *SL); in addInnerLoopsToHeadersMap()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 182 SmallPtrSetImpl<BasicBlock *> *LoopHeaders; member in __anone14b57140111::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 …]
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 138 SmallPtrSetImpl<BasicBlock *> *LoopHeaders = nullptr);
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyCFG.cpp | 144 SmallPtrSetImpl<BasicBlock *> *LoopHeaders; member in __anon7e275db20111::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/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | Local.h | 224 SmallPtrSetImpl<BasicBlock *> *LoopHeaders = nullptr);
|