[llvm-commits] [llvm] r82076 - in /llvm/trunk: include/llvm/LinkAllPasses.h include/llvm/Transforms/Scalar.h lib/CodeGen/LLVMTargetMachine.cpp lib/Transforms/Scalar/CodeGenLICM.cpp
Nick Lewycky
nlewycky at google.com
Wed Sep 16 14:17:15 PDT 2009
2009/9/16 Dan Gohman <gohman at apple.com>
> +void CodeGenLICM::getAnalysisUsage(AnalysisUsage &AU) const {
> + // This pass preserves just about everything. List some popular things
> here.
> + AU.setPreservesCFG();
> + AU.addPreservedID(LoopSimplifyID);
> + AU.addPreserved<LoopInfo>();
> + AU.addPreserved<AliasAnalysis>();
>
> + AU.addPreserved<DominanceFrontier>();
> + AU.addPreserved<DominatorTree>();
>
These two are covered by preserving the CFG.
> + AU.addPreserved<ScalarEvolution>();
> + AU.addPreserved<IVUsers>();
> +
> + // Hoisting requires a loop preheader.
> + AU.addRequiredID(LoopSimplifyID);
> +}
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090916/a7456c45/attachment.html>
More information about the llvm-commits
mailing list