search for: createfunctiontolooppassadaptor

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

2020 Jan 02
3
[RFC] Changing LoopUnrollAndJamPass to a function pass.
...; ><div dir="ltr" ><font face="AppleSystemUIFont" size="3" >LoopUnrollAndJamPass is currently a loop pass. It is added in a LPM with only itself.</font><br><font face="AppleSystemUIFont" size="3" >`OptimizePM.addPass(createFunctionToLoopPassAdaptor(LoopUnrollAndJamPass(Level)));`</font><br><font face="AppleSystemUIFont" 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 curren...
2020 Jul 15
2
Regarding the project "Create LoopNestPass"
Hi, I'm a college student who is quite new to the community and is interested in contributing to the LLVM project. Although I haven't applied to GSoC, I notice that the project "Create LoopNestPass" seems to be unassigned. So I'm curious whether anyone is currently working on it, and if not, is it possible for me to work on it as a side-project? I've been programming in
2020 Jul 24
2
Regarding the project "Create LoopNestPass"
...sManager LNPM; LoopPassManager LPM; LNPM.addPass(SomeLoopNestPass()); LPM.addPass(SomeLoopPass()); LNPM.addPass(createLoopNestToLoopPassAdaptor(LPM)); FPM.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...
2020 Jul 18
3
Regarding the project "Create LoopNestPass"
..., > you can try to follow along to create a LLVM loop pass in NPM. > > There exist different kinds of passes in the NPM, e.g. ModulePass, > FunctionPass, LoopPass. > One or more loop passes can be added in a LoopPassManager, which then can > be added in FunctionPassManager through createFunctionToLoopPassAdaptor. > Examples can be found in llvm/lib/Passes/PassBuilder.cpp. > There exist passes that best operate as a loop nest, e.g. LoopInterchange. > For those passes, currently can be written as either FunctionPass or > LoopPass. > However, choosing one or the other needs to sacrifice the abi...
2020 Mar 17
4
GSoC Opportunity
Hi everyone, > I probably do not have the time to get a patch through. IMHO, you do. :) First of all, @Benson sorry but I'm not at all familiar with LLDB so I can't help there. Other than that, I'll also disappoint you both probably because I'm not that familiar with the creation of passes and the problem at hand. I'll try to help as I can. > Is there a specific