[llvm-commits] [vector_llvm] CVS: llvm/include/llvm/Analysis/AliasAnalysis.h CallGraph.h

Robert Bocchino bocchino at cs.uiuc.edu
Tue Oct 18 12:22:20 PDT 2005



Changes in directory llvm/include/llvm/Analysis:

AliasAnalysis.h updated: 1.22 -> 1.22.2.1
CallGraph.h updated: 1.43 -> 1.43.4.1
---
Log message:

Initial commit of Vector LLVM.


---
Diffs of the changes:  (+3 -8)

 AliasAnalysis.h |    3 +++
 CallGraph.h     |    8 --------
 2 files changed, 3 insertions(+), 8 deletions(-)


Index: llvm/include/llvm/Analysis/AliasAnalysis.h
diff -u llvm/include/llvm/Analysis/AliasAnalysis.h:1.22 llvm/include/llvm/Analysis/AliasAnalysis.h:1.22.2.1
--- llvm/include/llvm/Analysis/AliasAnalysis.h:1.22	Mon Jun 20 10:24:23 2005
+++ llvm/include/llvm/Analysis/AliasAnalysis.h	Tue Oct 18 14:21:56 2005
@@ -265,6 +265,9 @@
     case Instruction::Store:  return getModRefInfo((StoreInst*)I, P, Size);
     case Instruction::Call:   return getModRefInfo((CallInst*)I, P, Size);
     case Instruction::Invoke: return getModRefInfo((InvokeInst*)I, P, Size);
+      // FIXME: This is extra safe for now.  Fix it so that we use the
+      // indices to figure out the bounding size of the vscatter.
+    case Instruction::VScatter: return Mod;
     default:                  return NoModRef;
     }
   }


Index: llvm/include/llvm/Analysis/CallGraph.h
diff -u llvm/include/llvm/Analysis/CallGraph.h:1.43 llvm/include/llvm/Analysis/CallGraph.h:1.43.4.1
--- llvm/include/llvm/Analysis/CallGraph.h:1.43	Thu Apr 21 15:16:31 2005
+++ llvm/include/llvm/Analysis/CallGraph.h	Tue Oct 18 14:21:56 2005
@@ -169,10 +169,6 @@
   ///
   void print(std::ostream &o, const Module *M) const;
 
-  /// dump - Print out this call graph.
-  ///
-  void dump() const;
-
   // stub - dummy function, just ignore it
   static void stub();
 private:
@@ -224,10 +220,6 @@
   //
   CallGraphNode *operator[](unsigned i) const { return CalledFunctions[i];}
 
-  /// dump - Print out this call graph node.
-  ///
-  void dump() const;
-  void print(std::ostream &OS) const;
 
   //===---------------------------------------------------------------------
   // Methods to keep a call graph up to date with a function that has been






More information about the llvm-commits mailing list