search for: analyzekind

Displaying 1 result from an estimated 1 matches for "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)?
...f-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.g. AU.addRequired<DominatorTree>(); AU.addPreserved<DominatorTre...