[llvm-commits] CVS: llvm/include/llvm/DerivedTypes.h Instructions.h Value.h

Reid Spencer reid at x10sys.com
Wed Feb 14 19:40:06 PST 2007



Changes in directory llvm/include/llvm:

DerivedTypes.h updated: 1.83 -> 1.84
Instructions.h updated: 1.59 -> 1.60
Value.h updated: 1.96 -> 1.97
---
Log message:

For PR1195: http://llvm.org/PR1195 :
Change use of "packed" term to "vector" in comments, strings, variable
names, etc.


---
Diffs of the changes:  (+5 -5)

 DerivedTypes.h |    4 ++--
 Instructions.h |    4 ++--
 Value.h        |    2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)


Index: llvm/include/llvm/DerivedTypes.h
diff -u llvm/include/llvm/DerivedTypes.h:1.83 llvm/include/llvm/DerivedTypes.h:1.84
--- llvm/include/llvm/DerivedTypes.h:1.83	Wed Feb 14 20:26:09 2007
+++ llvm/include/llvm/DerivedTypes.h	Wed Feb 14 21:39:17 2007
@@ -286,7 +286,7 @@
 /// SequentialType - This is the superclass of the array, pointer and packed
 /// type classes.  All of these represent "arrays" in memory.  The array type
 /// represents a specifically sized array, pointer types are unsized/unknown
-/// size arrays, packed types represent specifically sized arrays that
+/// size arrays, vector types represent specifically sized arrays that
 /// allow for use of SIMD instructions.  SequentialType holds the common
 /// features of all, which stem from the fact that all three lay their
 /// components out in memory identically.
@@ -350,7 +350,7 @@
   }
 };
 
-/// VectorType - Class to represent packed types
+/// VectorType - Class to represent vector types
 ///
 class VectorType : public SequentialType {
   friend class TypeMap<VectorValType, VectorType>;


Index: llvm/include/llvm/Instructions.h
diff -u llvm/include/llvm/Instructions.h:1.59 llvm/include/llvm/Instructions.h:1.60
--- llvm/include/llvm/Instructions.h:1.59	Wed Feb 14 20:26:09 2007
+++ llvm/include/llvm/Instructions.h	Wed Feb 14 21:39:17 2007
@@ -940,7 +940,7 @@
 
   virtual bool mayWriteToMemory() const { return false; }
 
-  /// getType - Overload to return most specific packed type.
+  /// getType - Overload to return most specific vector type.
   ///
   inline const VectorType *getType() const {
     return reinterpret_cast<const VectorType*>(Instruction::getType());
@@ -992,7 +992,7 @@
 
   virtual bool mayWriteToMemory() const { return false; }
 
-  /// getType - Overload to return most specific packed type.
+  /// getType - Overload to return most specific vector type.
   ///
   inline const VectorType *getType() const {
     return reinterpret_cast<const VectorType*>(Instruction::getType());


Index: llvm/include/llvm/Value.h
diff -u llvm/include/llvm/Value.h:1.96 llvm/include/llvm/Value.h:1.97
--- llvm/include/llvm/Value.h:1.96	Wed Feb 14 20:26:09 2007
+++ llvm/include/llvm/Value.h	Wed Feb 14 21:39:17 2007
@@ -167,7 +167,7 @@
     ConstantFPVal,            // This is an instance of ConstantFP
     ConstantArrayVal,         // This is an instance of ConstantArray
     ConstantStructVal,        // This is an instance of ConstantStruct
-    ConstantVectorVal,        // This is an instance of ConstantPacked
+    ConstantVectorVal,        // This is an instance of ConstantVector
     ConstantPointerNullVal,   // This is an instance of ConstantPointerNull
     InlineAsmVal,             // This is an instance of InlineAsm
     InstructionVal,           // This is an instance of Instruction






More information about the llvm-commits mailing list