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

Chris Lattner lattner at cs.uiuc.edu
Tue May 25 00:35:02 PDT 2004


Changes in directory llvm/include/llvm:

Constants.h updated: 1.46 -> 1.47

---
Log message:

Add some helpers


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

Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.46 llvm/include/llvm/Constants.h:1.47
--- llvm/include/llvm/Constants.h:1.46	Sun Apr  4 18:20:26 2004
+++ llvm/include/llvm/Constants.h	Tue May 25 00:32:13 2004
@@ -583,6 +583,9 @@
   static Constant *getShl(Constant *C1, Constant *C2);
   static Constant *getShr(Constant *C1, Constant *C2);
 
+  static Constant *getUShr(Constant *C1, Constant *C2); // unsigned shr
+  static Constant *getSShr(Constant *C1, Constant *C2); // signed shr
+
   /// Getelementptr form...
   ///
   static Constant *getGetElementPtr(Constant *C,





More information about the llvm-commits mailing list