search for: simplifygeppass

Displaying 1 result from an estimated 1 matches for "simplifygeppass".

2020 Oct 02
2
Pass dependency error
...analysis that was not " "'required' by pass!"' but i really don't understand why. I have: voidInstrumentationPass::getAnalysisUsage(llvm::AnalysisUsage&AU) const{     AU.setPreservesAll();     AU.addRequired<DetectKernelsPass>();     AU.addRequired<SimplifyGEPPass>() DetectKernelsPass (ModulePass) is a simple analysis pass that gathers kernel functions. SimplifyGEPPass (FunctionPass) performs some transformations. InstrumentationPass (ModulePass) is using the others like: auto kernels = getAnalysis<DetectKernelsPass>().getKernels(); for ( auto*...