Home
last modified time | relevance | path

Searched refs:LoopInfo (Results 1 – 25 of 165) sorted by relevance

1234567

/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DBasicBlockUtils.h36 class LoopInfo; variable
97 LoopInfo *LI = nullptr,
112 DomTreeUpdater *DTU = nullptr, LoopInfo *LI = nullptr);
148 LoopInfo *LI;
160 LoopInfo *LI = nullptr,
252 DominatorTree *DT = nullptr, LoopInfo *LI = nullptr,
284 LoopInfo *LI = nullptr,
288 LoopInfo *LI = nullptr,
303 DomTreeUpdater *DTU = nullptr, LoopInfo *LI = nullptr,
307 DomTreeUpdater *DTU = nullptr, LoopInfo *L
[all...]
H A DLoopUtils.h35 class LoopInfo; variable
55 BasicBlock *InsertPreheaderForLoop(Loop *L, DominatorTree *DT, LoopInfo *LI,
63 bool formDedicatedExitBlocks(Loop *L, DominatorTree *DT, LoopInfo *LI,
86 const LoopInfo &LI, ScalarEvolution *SE,
102 bool formLCSSA(Loop &L, const DominatorTree &DT, const LoopInfo *LI,
114 bool formLCSSARecursively(Loop &L, const DominatorTree &DT, const LoopInfo *LI,
153 bool sinkRegion(DomTreeNode *, AAResults *, LoopInfo *, DominatorTree *,
161 bool sinkRegionForLoopNest(DomTreeNode *, AAResults *, LoopInfo *,
177 bool hoistRegion(DomTreeNode *, AAResults *, LoopInfo *, DominatorTree *,
200 LoopInfo *LI, MemorySSA *MSSA = nullptr);
[all …]
H A DUnrollLoop.h32 class LoopInfo; variable
52 BasicBlock *ClonedBB, LoopInfo *LI,
80 LoopUnrollResult UnrollLoop(Loop *L, UnrollLoopOptions ULO, LoopInfo *LI,
91 LoopInfo *LI, ScalarEvolution *SE, DominatorTree *DT, AssumptionCache *AC,
97 LoopInfo *LI, ScalarEvolution *SE,
104 DependenceInfo &DI, LoopInfo &LI);
106 void simplifyLoopAfterUnroll(Loop *L, bool SimplifyIVs, LoopInfo *LI,
153 DominatorTree &DT, LoopInfo *LI, AssumptionCache *AC,
H A DSimplifyIndVar.h28 class LoopInfo; variable
56 DominatorTree *DT, LoopInfo *LI,
65 LoopInfo *LI, const TargetTransformInfo *TTI,
84 LoopInfo *LI, ScalarEvolution *SE, SCEVExpander &Rewriter,
H A DMatrixUtils.h23 class LoopInfo; variable
75 LoopInfo &LI);
85 LoopInfo &LI);
H A DLoopVersioning.h28 class LoopInfo; variable
48 ArrayRef<RuntimePointerCheck> Checks, Loop *L, LoopInfo *LI,
142 LoopInfo *LI;
H A DLoopRotationUtils.h21 class LoopInfo; variable
33 bool LoopRotation(Loop *L, LoopInfo *LI, const TargetTransformInfo *TTI,
H A DLoopSimplify.h48 class LoopInfo; variable
64 bool simplifyLoop(Loop *L, DominatorTree *DT, LoopInfo *LI, ScalarEvolution *SE,
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DLoopInfo.h32 class LoopInfo; variable
324 bool isRecursivelyLCSSAForm(const DominatorTree &DT, const LoopInfo &LI,
412 class LoopInfo : public LoopInfoBase<BasicBlock, Loop> {
417 void operator=(const LoopInfo &) = delete;
418 LoopInfo(const LoopInfo &) = delete;
421 LoopInfo() = default;
422 explicit LoopInfo(const DominatorTreeBase<BasicBlock, false> &DomTree);
424 LoopInfo(LoopInfo &&Arg) : BaseT(std::move(static_cast<BaseT &>(Arg))) {} in LoopInfo() function
425 LoopInfo &operator=(LoopInfo &&RHS) {
554 typedef LoopInfo::iterator ChildIteratorType;
[all …]
H A DCFG.h27 class LoopInfo; variable
72 const DominatorTree *DT = nullptr, const LoopInfo *LI = nullptr);
83 const DominatorTree *DT = nullptr, const LoopInfo *LI = nullptr);
97 const DominatorTree *DT = nullptr, const LoopInfo *LI = nullptr);
109 const DominatorTree *DT = nullptr, const LoopInfo *LI = nullptr);
H A DLoopAnalysisManager.h43 class LoopInfo; variable
57 LoopInfo &LI;
90 explicit Result(LoopAnalysisManager &InnerAM, LoopInfo &LI) in Result()
139 LoopInfo *LI;
H A DLoopCacheAnalysis.h28 class LoopInfo; variable
53 IndexedReference(Instruction &StoreOrLoadInst, const LoopInfo &LI,
100 bool delinearize(const LoopInfo &LI);
201 CacheCost(const LoopVectorTy &Loops, const LoopInfo &LI, ScalarEvolution &SE,
275 const LoopInfo &LI;
H A DLazyBranchProbabilityInfo.h25 class LoopInfo; variable
58 LazyBranchProbabilityInfo(const Function *F, const LoopInfo *LI, in LazyBranchProbabilityInfo()
80 const LoopInfo *LI;
H A DFunctionPropertiesAnalysis.h24 class LoopInfo;
29 void updateAggregateStats(const Function &F, const LoopInfo &LI);
35 const LoopInfo &LI);
25 class LoopInfo; global() variable
H A DBlockFrequencyInfo.h29 class LoopInfo;
46 const LoopInfo &LI);
94 const LoopInfo &LI);
28 class LoopInfo; global() variable
H A DBranchProbabilityInfo.h35 class LoopInfo; variable
117 BranchProbabilityInfo(const Function &F, const LoopInfo &LI,
207 void calculate(const Function &F, const LoopInfo &LI,
301 explicit LoopBlock(const BasicBlock *BB, const LoopInfo &LI,
335 const LoopInfo *LI = nullptr;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DLoopExtractor.cpp62 function_ref<LoopInfo &(Function &)> LookupLoopInfo, in LoopExtractor()
74 function_ref<LoopInfo &(Function &)> LookupLoopInfo;
79 bool extractLoops(Loop::iterator From, Loop::iterator To, LoopInfo &LI,
81 bool extractLoop(Loop *L, LoopInfo &LI, DominatorTree &DT);
120 auto LookupLoopInfo = [this, &Changed](Function &F) -> LoopInfo & { in runOnModule()
170 LoopInfo &LI = LookupLoopInfo(F); in runOnFunction()
221 LoopInfo &LI, DominatorTree &DT) { in extractLoops()
239 bool LoopExtractor::extractLoop(Loop *L, LoopInfo &LI, DominatorTree &DT) { in extractLoop()
266 auto LookupLoopInfo = [&FAM](Function &F) -> LoopInfo & { in run()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGLoopInfo.h90 class LoopInfo {
93 LoopInfo(llvm::BasicBlock *Header, const LoopAttributes &Attrs,
95 LoopInfo *Parent);
115 const LoopInfo *getParent() const { return Parent; } in getParent()
131 LoopInfo *Parent;
302 const LoopInfo &getInfo() const { return *Active.back(); } in getInfo()
308 llvm::SmallVector<std::unique_ptr<LoopInfo>, 4> Active;
H A DCGLoopInfo.cpp25 LoopInfo::createLoopPropertiesMetadata(ArrayRef<Metadata *> LoopProperties) { in createLoopPropertiesMetadata()
36 MDNode *LoopInfo::createPipeliningMetadata(const LoopAttributes &Attrs, in createPipeliningMetadata()
81 LoopInfo::createPartialUnrollMetadata(const LoopAttributes &Attrs, in createPartialUnrollMetadata()
143 LoopInfo::createUnrollAndJamMetadata(const LoopAttributes &Attrs, in createUnrollAndJamMetadata()
211 LoopInfo::createLoopVectorizeMetadata(const LoopAttributes &Attrs, in createLoopVectorizeMetadata()
329 LoopInfo::createLoopDistributeMetadata(const LoopAttributes &Attrs, in createLoopDistributeMetadata()
379 MDNode *LoopInfo::createFullUnrollMetadata(const LoopAttributes &Attrs, in createFullUnrollMetadata()
416 MDNode *LoopInfo::createMetadata( in createMetadata()
484 LoopInfo::LoopInfo(BasicBlock *Header, const LoopAttributes &Attrs, in LoopInfo() function in LoopInfo
486 LoopInfo *Parent) in LoopInfo()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanHCFGBuilder.h32 class LoopInfo; variable
46 LoopInfo *LI;
60 VPlanHCFGBuilder(Loop *Lp, LoopInfo *LI, VPlan &P) in VPlanHCFGBuilder()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DCFG.cpp128 static const Loop *getOutermostLoop(const LoopInfo *LI, const BasicBlock *BB) { in getOutermostLoop()
137 const DominatorTree *DT, const LoopInfo *LI) { in isReachableImpl()
242 const LoopInfo *LI) { in isPotentiallyReachableFromMany()
252 const LoopInfo *LI) { in isManyPotentiallyReachableFromMany()
260 const LoopInfo *LI) { in isPotentiallyReachable()
284 const LoopInfo *LI) { in isPotentiallyReachable()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/Analysis/
H A DSPIRVConvergenceRegionAnalysis.cpp123 ConvergenceRegion::ConvergenceRegion(DominatorTree &DT, LoopInfo &LI, in ConvergenceRegion()
136 DominatorTree &DT, LoopInfo &LI, in ConvergenceRegion()
201 ConvergenceRegionAnalyzer(Function &F, DominatorTree &DT, LoopInfo &LI) in ConvergenceRegionAnalyzer()
223 findPathsToMatch(LoopInfo &LI, BasicBlock *From, in findPathsToMatch()
312 LoopInfo &LI;
317 LoopInfo &LI) { in getConvergenceRegions()
332 LoopInfo &LI = getAnalysis<LoopInfoWrapperPass>().getLoopInfo(); in runOnFunction()
H A DSPIRVConvergenceRegionAnalysis.h44 LoopInfo &LI;
61 ConvergenceRegion(DominatorTree &DT, LoopInfo &LI, Function &F);
65 ConvergenceRegion(DominatorTree &DT, LoopInfo &LI,
172 LoopInfo &LI);
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DFixIrreducible.cpp115 static void reconnectChildLoops(LoopInfo &LI, Loop *ParentLoop, Loop *NewLoop, in INITIALIZE_PASS_DEPENDENCY()
164 static void createNaturalLoopInternal(LoopInfo &LI, DominatorTree &DT,
212 // header. Since the new loop is already in LoopInfo, the new blocks in createNaturalLoopInternal()
253 static void createNaturalLoop(LoopInfo &LI, DominatorTree &DT, Function *F, in unwrapBlock()
259 static void createNaturalLoop(LoopInfo &LI, DominatorTree &DT, Loop &L, in createNaturalLoop()
267 static bool makeReducible(LoopInfo &LI, DominatorTree &DT, Graph &&G) {
313 static bool FixIrreducibleImpl(Function &F, LoopInfo &LI, DominatorTree &DT) { in makeReducible()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorize.h73 class LoopInfo; variable
175 LoopInfo *LI;
191 LoopVectorizeResult runImpl(Function &F, ScalarEvolution &SE_, LoopInfo &LI_,

1234567