Displaying 1 result from an estimated 1 matches for "ed02fb48".
2013 Mar 03
1
[LLVMdev] Can a Function Pass require a Module Pass?
Dear LLVMers,
I am implementing a Function Pass and I would like to use analysis obtained
from a Module Pass. Some extracts of my code look like that:
struct MyPass : public FunctionPass {
static char ID;
MyPass() : FunctionPass(ID) {
PADriver &PD = getAnalysis<AModulePass>();
...
virtual void getAnalysisUsage(AnalysisUsage &AU) const{