Displaying 1 result from an estimated 1 matches for "analyzeind".
Did you mean:
analyzekind
2014 Jan 16
3
[LLVMdev] Do all user-written passes have to be run through a PassManager object (called from outside the LLVM infrastructure)?
...n. For those passes, I have verified that at
least the following two approaches are equivalent in terms of executing
those self-written passes and getting the correct results:
#if METHOD_1
PassManager PM;
PM.add(new Analyzeind(F));
PM.run(*M);
#else //METHOD_2
AnalyzeKind *abk = new AnalyzeKind(F);
abk->runOnFunction(*F);
#endif
However, I found that if my own pass has requirements, e...