search for: loopanalysis

Displaying 6 results from an estimated 6 matches for "loopanalysis".

2017 Jan 28
2
AliasAnalysis supported by the new Pass Manager in v3.9 ?
...                                 AnalysisManager<Function> &AM) {   auto &AC = AM.getResult<AssumptionAnalysis>(F);   auto &DT = AM.getResult<DominatorTreeAnalysis>(F);   auto &TLI = AM.getResult<TargetLibraryAnalysis>(F);   auto *LI = AM.getCachedResult<LoopAnalysis>(F);   // FIXME: The AliasAnalysis is not yet supported in the new pass manager Thanks, Welson -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20170128/8546aca5/attachment.html>
2014 Aug 28
2
[LLVMdev] The problem of densemap and loop
Hello, everyone, I created a dense map like this: DenseMap<Loop *, int> ls; And I have a module which contains 3 functions: function F and it has a loop which is " Loop at depth 1 containing: %1<header><exiting>,%3,%5<latch> " function G and it has two loops which are " Loop at depth 1 containing: %8<header><exiting>,%10,%14<latch>
2014 Aug 29
2
[LLVMdev] The problem of densemap and loop
...a FunctionPass. A FunctionPass > computes its results anew each time it is run on a function, and so it's > possible that this is the cause of the problem. Similarly, the Loop objects > for each function might be deleted and re-allocated for new Loop objects > every time you run the LoopAnalysis on a new function. That would make it > look like you only have three elements when, in fact, you've added six > elements but three were deallocated. > Alternatively, you might have some something silly like making ls a local > variable, so it gets destroyed each time you enter the...
2020 Jul 24
2
Regarding the project "Create LoopNestPass"
....addPass(createFunctionToLoopNestPassAdaptor(LNPM)); // This still works, but the loop canonicalization passes will be run twice: // FPM.addPass(createFunctionToLoopPassAdaptor(LPM)); // FPM.addPass(createFunctionToLoopNestPassAdaptor(LNPM)); ``` `LoopNestAnalysisManager` and the proxies between `LoopAnalysis`, `LoopNestAnalysis` and `FunctionAnalysis` are also implemented. One of the problems now is on parsing the pipeline. In the current `PassBuilder`, a function pass is implicitly created and wrapping the subsequent loop passes. If we allow putting `LoopPass` into `LoopNestPass` in the future as desc...
2020 Jul 18
3
Regarding the project "Create LoopNestPass"
...assAdaptor which is essentially the same as the FunctionToLoopPassAdaptor but operates only on LI.getTopLevelLoops(). We might also need a LNPMUpdater (LoopNestPassManagerUpdater) which disallows adding inner-loops back into the pipeline, and LoopNestPassManager will simply be PassManager<Loop, LoopAnalysisManager, LoopStandardAnalysisResult &, LNPMUpdater &>. One question I have is whether the IRUnit LoopNestPass operates on should be Loop or LoopNest, since I'm not quite sure about the usage of LoopNest and why it should be constructed with a ScalarEvolution. Also, it is stated that...
2016 Jul 25
3
[PM] I think that the new PM needs to learn about inter-analysis dependencies...
Sent from my Verizon Wireless 4G LTE DROID On Jul 25, 2016 6:16 PM, Sean Silva <chisophugis at gmail.com<mailto:chisophugis at gmail.com>> wrote: > > > > On Mon, Jul 25, 2016 at 9:27 AM, Hal Finkel <hfinkel at anl.gov<mailto:hfinkel at anl.gov>> wrote: >> >> >> ________________________________ >>> >>> From: "Sean