aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 1823f1d49e..d3fd766ee7 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -489,10 +489,6 @@ public:
// ConstantVector accessors
static Constant *get(ArrayRef<Constant*> V);
- /// getSplat - Return a ConstantVector with the specified constant in each
- /// element.
- static Constant *getSplat(unsigned NumElts, Constant *Elt);
-
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);
@@ -761,11 +757,6 @@ public:
static Constant *get(LLVMContext &Context, ArrayRef<float> Elts);
static Constant *get(LLVMContext &Context, ArrayRef<double> Elts);
- /// getSplat - Return a ConstantVector with the specified constant in each
- /// element. The specified constant has to be a of a compatible type (i8/i16/
- /// i32/i64/float/double) and must be a ConstantFP or ConstantInt.
- static Constant *getSplat(unsigned NumElts, Constant *Elt);
-
/// getType - Specialize the getType() method to always return a VectorType,
/// which reduces the amount of casting needed in parts of the compiler.
///