search for: getsubloops

Displaying 5 results from an estimated 5 matches for "getsubloops".

2020 Jan 02
3
[RFC] Changing LoopUnrollAndJamPass to a function pass.
..." size="3" >Notice that loops are traversed in an inner to outer order in a LPM.</font><br><br><font face="AppleSystemUIFont" size="3" >The current implementation of LoopUnrollAndJamPass supports only loop nest with one inner loop (L->getSubLoops().size() == 1). </font><br><font face="AppleSystemUIFont" size="3" >Consider the example below:</font><br><font face="AppleSystemUIFont" size="3" >Before loop unroll and jam:</font><br><font face="AppleS...
2015 Jul 29
1
[LLVMdev] Loop Dependence Analysis(getDistance())
...AU.addRequired<AliasAnalysis>(); AU.addPreserved<AliasAnalysis>(); AU.addRequired<MemoryDependenceAnalysis>(); AU.addPreserved<MemoryDependenceAnalysis>(); } In runOnFunction I have used dependence = &getAnalysis<DependenceAnalysis>(); if(L->getSubLoops().size()==0) { Dependence* dependence; const SCEV* scev = dependence->getDistance(loopID); .... ................ ............. } loopID is and unsigned int variable which I have increased after each time after...
2010 Apr 20
1
[LLVMdev] iterate over loops inside the runOnFunction
Hello I'm wandring to write a Function parser that iterates over loops inside each function and inside each loop iterates over instructions So I found a way to do the Function parser that iterates over BasicBlocks (using the runOnfunction Pass) but I no know how make it iterates over loops ? So my question is there any way to make a loop inside the runOnfunction to iterate over
2011 Nov 16
0
[LLVMdev] CallSite in innermost loop
On Nov 16, 2011, at 2:43 AM, Pankaj Gode wrote: > In order to detect whether CallSite is present in innermost loop, do I need to insert logic from LoopInfo pass for collecting loops, within a CallGraphSCC pass? > > Is there any other approach for this? > PassManager not only schedules passes, it also - manages memory - ensures that analysis info is valid at the point of use -
2011 Nov 16
2
[LLVMdev] CallSite in innermost loop
In order to detect whether CallSite is present in innermost loop, do I need to insert logic from LoopInfo pass for collecting loops, within a CallGraphSCC pass?   Is there any other approach for this?   Regards, Pankaj -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111116/cd9d51b7/attachment.html>