Displaying 3 results from an estimated 3 matches for "initializeclooginfopass".
2011 Nov 08
0
[LLVMdev] loadable passes with dependencies?
...ible,
> registerPollyPasses);
>
> I'm not sure how to code a possible createHelloPass, as the
> constructor for my class takes a argument(ID for ModulePass).
This is the code interesting to you:
66 void initializePollyPasses(PassRegistry &Registry) {
67 initializeCloogInfoPass(Registry);
68 initializeCodeGenerationPass(Registry);
69 initializeCodePreparationPass(Registry);
70 initializeDependencesPass(Registry);
71 initializeIndependentBlocksPass(Registry);
72 initializeIslScheduleOptimizerPass(Registry);
73 #ifdef SCOPLIB_FOUND
74 initializePoccPass(Registry...
2011 Nov 08
2
[LLVMdev] loadable passes with dependencies?
I'm confused by your code. StaticInitializer seems to exist so you can
create InitializeEverything, which doesn't get used.
Do I need to do something along the lines of:
static void registerPollyPasses(const llvm::PassManagerBuilder &Builder,
llvm::PassManagerBase &PM) {
PM.add(llvm::createPromoteMemoryToRegisterPass());
2011 Nov 08
2
[LLVMdev] loadable passes with dependencies?
...gisterPollyPasses);
>>
>> I'm not sure how to code a possible createHelloPass, as the
>> constructor for my class takes a argument(ID for ModulePass).
>
> This is the code interesting to you:
>
> 66 void initializePollyPasses(PassRegistry &Registry) {
> 67 initializeCloogInfoPass(Registry);
> 68 initializeCodeGenerationPass(Registry);
> 69 initializeCodePreparationPass(Registry);
> 70 initializeDependencesPass(Registry);
> 71 initializeIndependentBlocksPass(Registry);
> 72 initializeIslScheduleOptimizerPass(Registry);
> 73 #ifdef SCOPLIB_FOUND
&g...