Add some helpers

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13737 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-05-25 05:32:13 +00:00
parent a710ddc9c4
commit 02140b025d

View File

@ -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,