From: Chris Lattner Date: Tue, 25 May 2004 05:32:13 +0000 (+0000) Subject: Add some helpers X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=02140b025d821ca8cefe5086f90f4d8e0c52ae5b;p=oota-llvm.git Add some helpers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13737 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index b5ba1b96713..9016f1a611c 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -583,6 +583,9 @@ public: 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,