Displaying 5 results from an estimated 5 matches for "functionanalysis".
2008 Apr 23
0
[LLVMdev] newbie with pass registering Problem
...t;vector>
#include"llvm/Pass.h"
#include"llvm/Function.h"
#include"llvm/BasicBlock.h"
#include"llvm/Instruction.h"
#include"../blockNrs/blockNrs.h"
#include"GenomManager.h"
using namespace std;
using namespace llvm;
namespace {
class FunctionAnalysis : public FunctionPass
{
public:
static char ID;
FunctionAnalysis() : FunctionPass((intptr_t)&ID) {} // Konstruktor ruft Funktionsdurchlauf auf
~FunctionAnalysis() {}
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
AU.addRequ...
2008 Apr 22
1
[LLVMdev] newbie with pass registering Problem
Hi!!
This is my first time with llvm. I'm still learning and really need help.
I wrote only one Function Pass, which uses another Function Pass (blockNrs), and registered this:
RegisterPass<FunctionAnalysis> X("gasched", "Genom Scheduling Pass");
When I compile my sourcecode, everything was okay. But when I tried to test it, i got this error Message:
nicole at fpga3:~/test$ make
opt -load /iss/fpga3/nicole/llvm-2.2/Debug/lib/LLVMblockNrs.so -load /iss/fpga3/nicole/llvm-2.2/Deb...
2008 Apr 21
1
[LLVMdev] newbie with pass registering Problem
Hi!!
This is my first time with llvm. I'm still learning and really need help.
I wrote only one Function Pass, which uses another Function Pass (blockNrs), and registered this:
RegisterPass<FunctionAnalysis> X("gasched", "Genom Scheduling Pass");
When I compile my sourcecode, everything was okay. But when I tried to test it, i got this error Message:
nicole at fpga3:~/test$ make
opt -load /iss/fpga3/nicole/llvm-2.2/Debug/lib/LLVMblockNrs.so -load /iss/fpga3/nicole/llvm-2.2/Deb...
2020 Jul 24
2
Regarding the project "Create LoopNestPass"
...aptor(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 described above, what would be a good way to di...
2020 Jul 18
3
Regarding the project "Create LoopNestPass"
Hi,
Thanks for your help! I've checked the sources that you mentioned.
Currently, I think that I would need to implement a
FunctionToLoopNestPassAdaptor 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