From 02140b025d821ca8cefe5086f90f4d8e0c52ae5b Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Tue, 25 May 2004 05:32:13 +0000 Subject: [PATCH] Add some helpers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13737 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Constants.h | 3 +++ 1 file changed, 3 insertions(+) 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, -- 2.34.1