Lines Matching refs:Constant
1 //===-- llvm/Constant.h - Constant class definition -------------*- C++ -*-===//
10 // This file contains the declaration of the Constant class.
40 /// @brief LLVM Constant Representation
41 class Constant : public User {
42 void operator=(const Constant &) LLVM_DELETED_FUNCTION;
43 Constant(const Constant &) LLVM_DELETED_FUNCTION;
47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps)
98 Constant *getAggregateElement(unsigned Elt) const;
99 Constant *getAggregateElement(Constant *Elt) const;
111 static inline bool classof(const Constant *) { return true; }
138 static Constant *getNullValue(Type* Ty);
143 static Constant *getAllOnesValue(Type* Ty);
147 static Constant *getIntegerValue(Type* Ty, const APInt &V);