aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index b5ba1b9671..9016f1a611 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,