Lines Matching refs:Constant
41 class Constant : public User {
42 void operator=(const Constant &) = delete;
43 Constant(const Constant &) = delete;
47 Constant(Type *ty, ValueTy vty, Use *Ops, unsigned NumOps) in Constant() function
98 Constant *getAggregateElement(unsigned Elt) const;
99 Constant *getAggregateElement(Constant *Elt) const;
103 Constant *getSplatValue() const;
136 static Constant *getNullValue(Type* Ty);
141 static Constant *getAllOnesValue(Type* Ty);
145 static Constant *getIntegerValue(Type *Ty, const APInt &V);
153 Constant *stripPointerCasts() { in stripPointerCasts()
154 return cast<Constant>(Value::stripPointerCasts()); in stripPointerCasts()
157 const Constant *stripPointerCasts() const { in stripPointerCasts()
158 return const_cast<Constant*>(this)->stripPointerCasts(); in stripPointerCasts()