Displaying 1 result from an estimated 1 matches for "e33fbd55".
2016 Jan 22
4
LLVM - getAnalysisUsage()
Hi,
I am using llvm-3.8 for my project. Following is my getAnalysisUsage() method:
virtual void getAnalysisUsage(AnalysisUsage &AU) const override
{
AU.setPreservesAll();
AU.addRequired<X>();
AU.addRequired<Y>();
AU.addRequired<Z>();
}
Now, if I call getAnalysis<X>(*F), instead of invoking just the X
pass, all the passes, i.e., X, Y and Z are being