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:
5e458e2
)
New method
author
Chris Lattner
<sabre@nondot.org>
Wed, 21 May 2003 17:49:08 +0000
(17:49 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 21 May 2003 17:49:08 +0000
(17:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6259
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 7c0a00506af000ab5e1c4091039c67f3aac6986a..d589767508aabdd67b16cb77fe2a436b83ac611d 100644
(file)
--- a/
include/llvm/Constants.h
+++ b/
include/llvm/Constants.h
@@
-486,6
+486,9
@@
public:
/// 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);