aboutsummaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Constants.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 58def86fc8..1ee00aadb3 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -550,10 +550,6 @@ public:
///
static Constant *getSizeOf(const Type *Ty);
- /// getPtrPtrFromArrayPtr constant expr - given a pointer to a constant array,
- /// return a pointer to a pointer of the array element type.
- static Constant *getPtrPtrFromArrayPtr(Constant *C);
-
/// ConstantExpr::get - Return a binary or shift operator constant expression,
/// folding if possible.
///
@@ -593,16 +589,6 @@ public:
static Constant *getGetElementPtr(Constant *C,
Value* const *IdxList, unsigned NumIdx);
- // FIXME: Remove these.
- static Constant *getGetElementPtr(Constant *C,
- const std::vector<Constant*> &IdxList) {
- return getGetElementPtr(C, &IdxList[0], IdxList.size());
- }
- static Constant *getGetElementPtr(Constant *C,
- const std::vector<Value*> &IdxList) {
- return getGetElementPtr(C, &IdxList[0], IdxList.size());
- }
-
static Constant *getExtractElement(Constant *Vec, Constant *Idx);
static Constant *getInsertElement(Constant *Vec, Constant *Elt,Constant *Idx);
static Constant *getShuffleVector(Constant *V1, Constant *V2, Constant *Mask);