search for: ispassid

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

2010 May 26
0
[LLVMdev] AliasAnalysis as a Loadable Module, Possible 2.6->2.7 issue
...asses. To fix it, your analysis group needs to implement a getAdjustedAnalysisPointer() method. The implementation should look something like this: /// When chaining analyses, changing the pointer to the correct pass virtual void *getAdjustedAnalysisPointer(const PassInfo *PI) { if (PI->isPassID(&ArrayBoundsCheckGroup::ID)) return (ArrayBoundsCheckGroup*)this; return this; } Just replace "ArrayBoundsCheckGroup" with whatever the name of your analysis group is, and it should work. -- John T. Will Dietz wrote: > Thanks for the response, Eli. > > The he...
2010 May 26
2
[LLVMdev] AliasAnalysis as a Loadable Module, Possible 2.6->2.7 issue
Thanks for the response, Eli. The header suggestion could certainly cause this issue (I panicked for a second), but unfortunately as far as I can tell the headers are in fact from LLVM 2.7. The pass is built as a project configured by llvm, so hopefully that would make things right, but also: --include paths look legit (make VERBOSE=1, etc) --strace on the build process for the project confirms
2012 Jun 28
1
[LLVMdev] Any way to use a pass in opt, that does not have normal constructor?
Dear LLVM, The TargetData pass needs target data layout to be specified in constructor, and therefore its normal ctor is defined, but always gives a fatal error. Still, is there any way to make it loadable into the opt tool? I need this to make use of bugpoint in reducing backend test case. Thanks, - Dima.