mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 19:26:30 +00:00
The getShift method is no obsolete
llvm-svn: 10797
This commit is contained in:
parent
7d2328f69c
commit
cf1d9df549
@ -492,18 +492,13 @@ public:
|
||||
///
|
||||
static Constant *getCast(Constant *C, const Type *Ty);
|
||||
|
||||
/// Binary constant expr - Use with binary operators...
|
||||
/// ConstantExpr::get - Return a binary or shift operator constant expression,
|
||||
/// folding if possible.
|
||||
///
|
||||
static Constant *get(unsigned Opcode, Constant *C1, Constant *C2) {
|
||||
return getTy(C1->getType(), Opcode, C1, C2);
|
||||
}
|
||||
|
||||
/// getShift - Return a shift left or shift right constant expr
|
||||
///
|
||||
static Constant *getShift(unsigned Opcode, Constant *C1, Constant *C2) {
|
||||
return getShiftTy(C1->getType(), Opcode, C1, C2);
|
||||
}
|
||||
|
||||
/// Getelementptr form...
|
||||
///
|
||||
static Constant *getGetElementPtr(Constant *C,
|
||||
|
Loading…
x
Reference in New Issue
Block a user