[llvm-commits] [poolalloc] r57469 - /poolalloc/trunk/include/dsa/DataStructure.h
Andrew Lenharth
andrewl at lenharth.org
Tue Oct 14 10:05:45 PDT 2008
only local and TD preserves all. the others invalidate the previous result.
On Mon, Oct 13, 2008 at 5:01 PM, John Criswell <criswell at uiuc.edu> wrote:
> Author: criswell
> Date: Mon Oct 13 17:01:01 2008
> New Revision: 57469
>
> URL: http://llvm.org/viewvc/llvm-project?rev=57469&view=rev
> Log:
> All DSA passes preserve all other analysis pass results.
>
> Modified:
> poolalloc/trunk/include/dsa/DataStructure.h
>
> Modified: poolalloc/trunk/include/dsa/DataStructure.h
> URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/include/dsa/DataStructure.h?rev=57469&r1=57468&r2=57469&view=diff
>
> ==============================================================================
> --- poolalloc/trunk/include/dsa/DataStructure.h (original)
> +++ poolalloc/trunk/include/dsa/DataStructure.h Mon Oct 13 17:01:01 2008
> @@ -184,6 +184,7 @@
> ///
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> AU.addRequired<TargetData>();
> + AU.setPreservesAll();
> }
> };
>
> @@ -202,6 +203,7 @@
> ///
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> AU.addRequired<LocalDataStructures>();
> + AU.setPreservesAll();
> }
> };
>
> @@ -234,6 +236,7 @@
>
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> AU.addRequired<StdLibDataStructures>();
> + AU.setPreservesAll();
> }
>
> protected:
> @@ -299,6 +302,7 @@
> ///
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> AU.addRequired<BUDataStructures>();
> + AU.setPreservesAll();
> }
>
> private:
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
More information about the llvm-commits
mailing list