projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a710ddc
)
Add some helpers
author
Chris Lattner
<sabre@nondot.org>
Tue, 25 May 2004 05:32:13 +0000
(
05:32
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 25 May 2004 05:32:13 +0000
(
05:32
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13737
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Constants.h
patch
|
blob
|
history
diff --git
a/include/llvm/Constants.h
b/include/llvm/Constants.h
index b5ba1b96713d3cad584a7ffad82e8ce2cda2fb9d..9016f1a611cb91ede6999e15c0446fda4d2987ea 100644
(file)
--- 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,