search for: interfacegetanalysi

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

Did you mean: interfacegetanalysis
2009 Apr 10
0
[LLVMdev] Pass Manager Restriction?
"A module pass can use function level passes (e.g. dominators) using getAnalysis interfacegetAnalysis<DominatorTree>(Function), if the function pass does not require any module passes." http://llvm.org/docs/WritingAnLLVMPass.html In your case, A module pass (ModPass2) is trying tu use function level pass (FunPass1) which uses module level pass (ModPass1). This is not supported....
2009 Apr 09
3
[LLVMdev] Pass Manager Restriction?
Having a ModulePass that requires a FunctionPass that in turn requires another ModulePass results in an assertion being fired. Is this expected behavior (that seems to be undocumented), or a bug? Specifically, the following code will emit the assertion: [VMCore/PassManager.cpp:1597: virtual void llvm::ModulePass::assignPassManager(llvm::PMStack&, llvm::PassManagerType): Assertion
2009 Apr 10
2
[LLVMdev] Pass Manager Restriction?
...39;t appear in the existing set of LLVM passes. Is there an obvious way to restructure passes that I'm missing? On Fri, Apr 10, 2009 at 12:53 PM, Devang Patel <dpatel at apple.com> wrote: > > "A module pass can use function level passes (e.g. dominators) using > getAnalysis interfacegetAnalysis<DominatorTree>(Function), if the > function pass does not require any module passes." > > http://llvm.org/docs/WritingAnLLVMPass.html > > In your case, A module pass (ModPass2) is trying tu use function level > pass (FunPass1) which uses module level pass (ModPass1). T...