search for: myaliasusingpass

Displaying 3 results from an estimated 3 matches for "myaliasusingpass".

2013 Jul 10
1
[LLVMdev] Problem Adding New Pass to Alias Analysis Group
On 7/10/13 3:43 PM, Cristianno Martins wrote: > Hello John, > > What opt command line arguments are you using? I'm not using opt. I'm manually scheduling a pipline within a tool. The code looks like this: PassManager pm; MyAlias * aa = new MyAlias(); pm.add(aa); pm.add(new MyAliasUsingPass()); Both MyAlias and MyAliasUsingPass are now ModulePass'es. MyAlias is an alias analysis pass while MyAliasUsingPass is a pass that requires an alias analysis and performs a test query. The output of -debug-pass=Structure is the following: No Alias Analysis (always returns 'may'...
2013 Jul 10
0
[LLVMdev] Problem Adding New Pass to Alias Analysis Group
Hello John, What opt command line arguments are you using? If you follow this link<http://llvm.org/docs/Passes.html#no-aa-no-alias-analysis-always-returns-may-alias>, you can see that -no-aa is the default alias analysis implementation if you do not manually specify which AA passes you want to use. Note that you can pass as many different implementations of AA as you want, and each of them
2013 Jul 10
2
[LLVMdev] Problem Adding New Pass to Alias Analysis Group
Dear All, I'm trying to add a new alias analysis to the alias analysis group in LLVM 3.2. This new pass is linked statically into a tool that lives outside the LLVM source tree, so I'm trying to avoid making patches to the LLVM sources. I've added the INITIALIZE_AG_PASS_BEGIN() and INITIALIZE_AG_PASS_END() code to the pass, manually scheduled it before the