Lines Matching defs: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 &); // Do not implement
43 Constant(const Constant &); // Do not implement
46 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps)
97 void getVectorElements(SmallVectorImpl<Constant*> &Elts) const;
109 static inline bool classof(const Constant *) { return true; }
135 static Constant *getNullValue(Type* Ty);
140 static Constant *getAllOnesValue(Type* Ty);
144 static Constant *getIntegerValue(Type* Ty, const APInt &V);