Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp444 LoopHeaders.erase(&BB); in runImpl()
461 !LoopHeaders.count(&BB) && !LoopHeaders.count(Succ) && in runImpl()
474 LoopHeaders.clear(); in runImpl()
1616 if (LoopHeaders.count(BB)) in processThreadableEdges()
1970 LoopHeaders.insert(BB); in maybeMergeBasicBlockIntoOnlyPred()
2157 if (LoopHeaders.count(PredBB)) in maybethreadThroughTwoBasicBlocks()
2208 if (LoopHeaders.count(BB) || LoopHeaders.count(SuccBB)) { in maybethreadThroughTwoBasicBlocks()
2322 if (LoopHeaders.count(BB) || LoopHeaders.count(SuccBB)) { in tryThreadEdge()
2354 assert(!LoopHeaders.count(BB) && !LoopHeaders.count(SuccBB) && in threadEdge()
2596 if (LoopHeaders.count(BB)) { in duplicateCondBranchOnPHIIntoPred()
[all …]
H A DSimplifyCFGPass.cpp234 SmallVector<WeakVH, 16> LoopHeaders(UniqueLoopHeaders.begin(), in iterativelySimplifyCFG() local
255 if (simplifyCFG(&BB, TTI, DTU, Options, LoopHeaders)) { in iterativelySimplifyCFG()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h88 SmallPtrSet<const BasicBlock *, 16> LoopHeaders; variable
90 SmallSet<AssertingVH<const BasicBlock>, 16> LoopHeaders; variable
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DLoopInfoImpl.h637 void addInnerLoopsToHeadersMap(DenseMap<BlockT *, const LoopT *> &LoopHeaders, in addInnerLoopsToHeadersMap() argument
640 LoopHeaders[L.getHeader()] = &L; in addInnerLoopsToHeadersMap()
642 addInnerLoopsToHeadersMap(LoopHeaders, LI, *SL); in addInnerLoopsToHeadersMap()
/llvm-project-15.0.7/llvm/include/llvm/Transforms/Utils/
H A DLocal.h177 ArrayRef<WeakVH> LoopHeaders = {});
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DSimplifyCFG.cpp236 ArrayRef<WeakVH> LoopHeaders; member in __anon3677653b0111::SimplifyCFGOpt
281 const DataLayout &DL, ArrayRef<WeakVH> LoopHeaders, in SimplifyCFGOpt() argument
283 : TTI(TTI), DTU(DTU), DL(DL), LoopHeaders(LoopHeaders), Options(Opts) { in SimplifyCFGOpt()
6773 (!LoopHeaders.empty() && BB->hasNPredecessorsOrMore(2) && in simplifyUncondBranch()
6774 (is_contained(LoopHeaders, BB) || is_contained(LoopHeaders, Succ))); in simplifyUncondBranch()
7172 ArrayRef<WeakVH> LoopHeaders) { in simplifyCFG() argument
7173 return SimplifyCFGOpt(TTI, DTU, BB->getModule()->getDataLayout(), LoopHeaders, in simplifyCFG()