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

Chris Lattner lattner at cs.uiuc.edu
Wed May 21 12:59:06 PDT 2003


Changes in directory llvm/include/llvm:

Constants.h updated: 1.22 -> 1.23

---
Log message:

New method


---
Diffs of the changes:

Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.22 llvm/include/llvm/Constants.h:1.23
--- llvm/include/llvm/Constants.h:1.22	Wed May 14 12:49:52 2003
+++ llvm/include/llvm/Constants.h	Wed May 21 12:49:08 2003
@@ -486,6 +486,9 @@
   /// Binary constant expr - Use with binary operators...
   static Constant *get(unsigned Opcode, Constant *C1, Constant *C2);
 
+  /// getShift - Return a shift left or shift right constant expr
+  static Constant *getShift(unsigned Opcode, Constant *C1, Constant *C2);
+
   /// Getelementptr form...
   static Constant *getGetElementPtr(Constant *C,
                                     const std::vector<Constant*> &IdxList);





More information about the llvm-commits mailing list