[llvm-commits] CVS: llvm/include/llvm/Type.h

Chris Lattner sabre at nondot.org
Thu Oct 26 11:23:00 PDT 2006



Changes in directory llvm/include/llvm:

Type.h updated: 1.90 -> 1.91
---
Log message:

Add isFPOrFPVector() method, which indicates if a type is either FP or a 
vector of FP types.


---
Diffs of the changes:  (+4 -0)

 Type.h |    4 ++++
 1 files changed, 4 insertions(+)


Index: llvm/include/llvm/Type.h
diff -u llvm/include/llvm/Type.h:1.90 llvm/include/llvm/Type.h:1.91
--- llvm/include/llvm/Type.h:1.90	Thu Sep 28 18:38:07 2006
+++ llvm/include/llvm/Type.h	Thu Oct 26 13:22:45 2006
@@ -185,6 +185,10 @@
   /// types
   bool isFloatingPoint() const { return ID == FloatTyID || ID == DoubleTyID; }
 
+  /// isFPOrFPVector - Return true if this is a FP type or a vector of FP types.
+  ///
+  bool isFPOrFPVector() const;
+  
   /// isAbstract - True if the type is either an Opaque type, or is a derived
   /// type that includes an opaque type somewhere in it.
   ///






More information about the llvm-commits mailing list