Lines Matching refs:APValue

38 class APValue {
81 APValue *Elts;
87 APValue *Elts;
93 APValue *Elts;
101 APValue *Value;
120 APValue() : Kind(Uninitialized) {} in APValue() function
121 explicit APValue(APSInt I) : Kind(Uninitialized) { in APValue() function
124 explicit APValue(APFloat F) : Kind(Uninitialized) { in APValue() function
127 explicit APValue(const APValue *E, unsigned N) : Kind(Uninitialized) { in APValue() function
130 APValue(APSInt R, APSInt I) : Kind(Uninitialized) { in APValue() function
133 APValue(APFloat R, APFloat I) : Kind(Uninitialized) { in APValue() function
136 APValue(const APValue &RHS);
137 APValue(APValue &&RHS) : Kind(Uninitialized) { swap(RHS); } in APValue() function
138 APValue(LValueBase B, const CharUnits &O, NoLValuePath N, unsigned CallIndex) in APValue() function
142 APValue(LValueBase B, const CharUnits &O, ArrayRef<LValuePathEntry> Path, in APValue() function
147 APValue(UninitArray, unsigned InitElts, unsigned Size) : Kind(Uninitialized) { in APValue() function
150 APValue(UninitStruct, unsigned B, unsigned M) : Kind(Uninitialized) { in APValue() function
153 explicit APValue(const FieldDecl *D, const APValue &V = APValue())
157 APValue(const ValueDecl *Member, bool IsDerivedMember, in APValue() function
161 APValue(const AddrLabelExpr* LHSExpr, const AddrLabelExpr* RHSExpr) in APValue() function
166 ~APValue() { in ~APValue()
178 void swap(APValue &RHS);
205 return const_cast<APValue*>(this)->getInt(); in getInt()
213 return const_cast<APValue*>(this)->getFloat(); in getFloat()
221 return const_cast<APValue*>(this)->getComplexIntReal(); in getComplexIntReal()
229 return const_cast<APValue*>(this)->getComplexIntImag(); in getComplexIntImag()
237 return const_cast<APValue*>(this)->getComplexFloatReal(); in getComplexFloatReal()
245 return const_cast<APValue*>(this)->getComplexFloatImag(); in getComplexFloatImag()
251 return const_cast<APValue*>(this)->getLValueOffset(); in getLValueOffset()
258 APValue &getVectorElt(unsigned I) { in getVectorElt()
263 const APValue &getVectorElt(unsigned I) const { in getVectorElt()
264 return const_cast<APValue*>(this)->getVectorElt(I); in getVectorElt()
271 APValue &getArrayInitializedElt(unsigned I) { in getArrayInitializedElt()
276 const APValue &getArrayInitializedElt(unsigned I) const { in getArrayInitializedElt()
277 return const_cast<APValue*>(this)->getArrayInitializedElt(I); in getArrayInitializedElt()
282 APValue &getArrayFiller() { in getArrayFiller()
287 const APValue &getArrayFiller() const { in getArrayFiller()
288 return const_cast<APValue*>(this)->getArrayFiller(); in getArrayFiller()
307 APValue &getStructBase(unsigned i) { in getStructBase()
311 APValue &getStructField(unsigned i) { in getStructField()
315 const APValue &getStructBase(unsigned i) const { in getStructBase()
316 return const_cast<APValue*>(this)->getStructBase(i); in getStructBase()
318 const APValue &getStructField(unsigned i) const { in getStructField()
319 return const_cast<APValue*>(this)->getStructField(i); in getStructField()
326 APValue &getUnionValue() { in getUnionValue()
330 const APValue &getUnionValue() const { in getUnionValue()
331 return const_cast<APValue*>(this)->getUnionValue(); in getUnionValue()
355 void setVector(const APValue *E, unsigned N) { in setVector()
357 ((Vec*)(char*)Data.buffer)->Elts = new APValue[N]; in setVector()
381 void setUnion(const FieldDecl *Field, const APValue &Value) { in setUnion()
393 APValue &operator=(APValue RHS) {