1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00

New method

llvm-svn: 6259
This commit is contained in:
Chris Lattner 2003-05-21 17:49:08 +00:00
parent 0a678611b8
commit 1358ad783e

View File

@ -486,6 +486,9 @@ public:
/// Binary constant expr - Use with binary operators... /// Binary constant expr - Use with binary operators...
static Constant *get(unsigned Opcode, Constant *C1, Constant *C2); 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... /// Getelementptr form...
static Constant *getGetElementPtr(Constant *C, static Constant *getGetElementPtr(Constant *C,
const std::vector<Constant*> &IdxList); const std::vector<Constant*> &IdxList);