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

Chris Lattner sabre at nondot.org
Sun Sep 17 21:55:12 PDT 2006



Changes in directory llvm/include/llvm:

Instructions.h updated: 1.39 -> 1.40
---
Log message:

add a helper method


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

 Instructions.h |    5 +++++
 1 files changed, 5 insertions(+)


Index: llvm/include/llvm/Instructions.h
diff -u llvm/include/llvm/Instructions.h:1.39 llvm/include/llvm/Instructions.h:1.40
--- llvm/include/llvm/Instructions.h:1.39	Sun Sep 17 14:29:56 2006
+++ llvm/include/llvm/Instructions.h	Sun Sep 17 23:54:57 2006
@@ -498,6 +498,11 @@
     : UnaryInstruction(Ty, Cast, S, Name, InsertAtEnd) {
   }
 
+  /// isTruncIntCast - Return true if this is a truncating integer cast
+  /// instruction, e.g. a cast from long to uint.
+  bool isTruncIntCast() const;
+  
+  
   virtual CastInst *clone() const;
 
   // Methods for support type inquiry through isa, cast, and dyn_cast:






More information about the llvm-commits mailing list