summaryrefslogtreecommitdiff
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-13 23:50:59 +0000
committerOwen Anderson <resistor@mac.com>2009-07-13 23:50:59 +0000
commit385396221bc244d6592a60133c55874ff57571ac (patch)
tree5c41e721e23dbe0259457b526c82a3f74be127a6 /include/llvm/Constants.h
parent47728a2819b9d0d57b41898d086a1141e54a4c72 (diff)
downloadllvm-385396221bc244d6592a60133c55874ff57571ac.tar.gz
llvm-385396221bc244d6592a60133c55874ff57571ac.tar.bz2
llvm-385396221bc244d6592a60133c55874ff57571ac.tar.xz
Move more functionality over to LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 4590528f61..448a87e770 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -692,26 +692,8 @@ public:
/// ConstantExpr::get* - Return some common constants without having to
/// specify the full Instruction::OPCODE identifier.
///
- static Constant *getAdd(Constant *C1, Constant *C2);
- static Constant *getFAdd(Constant *C1, Constant *C2);
- static Constant *getSub(Constant *C1, Constant *C2);
- static Constant *getFSub(Constant *C1, Constant *C2);
- static Constant *getMul(Constant *C1, Constant *C2);
- static Constant *getFMul(Constant *C1, Constant *C2);
- static Constant *getUDiv(Constant *C1, Constant *C2);
- static Constant *getSDiv(Constant *C1, Constant *C2);
- static Constant *getFDiv(Constant *C1, Constant *C2);
- static Constant *getURem(Constant *C1, Constant *C2); // unsigned rem
- static Constant *getSRem(Constant *C1, Constant *C2); // signed rem
- static Constant *getFRem(Constant *C1, Constant *C2);
- static Constant *getAnd(Constant *C1, Constant *C2);
- static Constant *getOr(Constant *C1, Constant *C2);
- static Constant *getXor(Constant *C1, Constant *C2);
static Constant *getICmp(unsigned short pred, Constant *LHS, Constant *RHS);
static Constant *getFCmp(unsigned short pred, Constant *LHS, Constant *RHS);
- static Constant *getShl(Constant *C1, Constant *C2);
- static Constant *getLShr(Constant *C1, Constant *C2);
- static Constant *getAShr(Constant *C1, Constant *C2);
/// Getelementptr form. std::vector<Value*> is only accepted for convenience:
/// all elements must be Constant's.