diff options
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r-- | include/llvm/Constants.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index 442472a..a3bd551 100644 --- a/include/llvm/Constants.h +++ b/include/llvm/Constants.h @@ -448,6 +448,11 @@ class ConstantVector : public Constant { protected: ConstantVector(const VectorType *T, const std::vector<Constant*> &Val); public: + // ConstantVector accessors + static Constant* get(const VectorType* T, const std::vector<Constant*>& V); + static Constant* get(const std::vector<Constant*>& V); + static Constant* get(Constant* const* Vals, unsigned NumVals); + /// Transparently provide more efficient getOperand methods. DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant); |