Lines Matching refs:APValue

42 APValue::LValueBase::LValueBase(const ValueDecl *P, unsigned I, unsigned V)  in LValueBase()
44 APValue::LValueBase::LValueBase(const Expr *P, unsigned I, unsigned V) in LValueBase()
47 APValue::LValueBase APValue::LValueBase::getDynamicAlloc(DynamicAllocLValue LV, in getDynamicAlloc()
55 APValue::LValueBase APValue::LValueBase::getTypeInfo(TypeInfoLValue LV, in getTypeInfo()
63 QualType APValue::LValueBase::getType() const { in getType()
108 unsigned APValue::LValueBase::getCallIndex() const { in getCallIndex()
113 unsigned APValue::LValueBase::getVersion() const { in getVersion()
117 QualType APValue::LValueBase::getTypeInfoType() const { in getTypeInfoType()
122 QualType APValue::LValueBase::getDynamicAllocType() const { in getDynamicAllocType()
127 void APValue::LValueBase::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
136 bool operator==(const APValue::LValueBase &LHS, in operator ==()
137 const APValue::LValueBase &RHS) { in operator ==()
147 APValue::LValuePathEntry::LValuePathEntry(BaseOrMemberType BaseOrMember) { in LValuePathEntry()
153 void APValue::LValuePathEntry::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
157 APValue::LValuePathSerializationHelper::LValuePathSerializationHelper( in LValuePathSerializationHelper()
161 QualType APValue::LValuePathSerializationHelper::getType() { in getType()
167 APValue::LValueBase Base;
175 void *APValue::LValueBase::getOpaqueValue() const { in getOpaqueValue()
179 bool APValue::LValueBase::isNull() const { in isNull()
183 APValue::LValueBase::operator bool () const { in operator bool()
187 clang::APValue::LValueBase
188 llvm::DenseMapInfo<clang::APValue::LValueBase>::getEmptyKey() { in getEmptyKey()
189 clang::APValue::LValueBase B; in getEmptyKey()
194 clang::APValue::LValueBase
195 llvm::DenseMapInfo<clang::APValue::LValueBase>::getTombstoneKey() { in getTombstoneKey()
196 clang::APValue::LValueBase B; in getTombstoneKey()
202 llvm::hash_code hash_value(const APValue::LValueBase &Base) { in hash_value()
210 unsigned llvm::DenseMapInfo<clang::APValue::LValueBase>::getHashValue( in getHashValue()
211 const clang::APValue::LValueBase &Base) { in getHashValue()
215 bool llvm::DenseMapInfo<clang::APValue::LValueBase>::isEqual( in isEqual()
216 const clang::APValue::LValueBase &LHS, in isEqual()
217 const clang::APValue::LValueBase &RHS) { in isEqual()
221 struct APValue::LV : LVBase {
262 struct APValue::MemberPointerData : MemberPointerBase {
294 APValue::Arr::Arr(unsigned NumElts, unsigned Size) : in Arr()
295 Elts(new APValue[NumElts + (NumElts != Size ? 1 : 0)]), in Arr()
297 APValue::Arr::~Arr() { delete [] Elts; } in ~Arr()
299 APValue::StructData::StructData(unsigned NumBases, unsigned NumFields) : in StructData()
300 Elts(new APValue[NumBases+NumFields]), in StructData()
302 APValue::StructData::~StructData() { in ~StructData()
306 APValue::UnionData::UnionData() : Field(nullptr), Value(new APValue) {} in UnionData()
307 APValue::UnionData::~UnionData () { in ~UnionData()
311 APValue::APValue(const APValue &RHS) : Kind(None) { in APValue() function in APValue
382 APValue::APValue(APValue &&RHS) : Kind(RHS.Kind), Data(RHS.Data) { in APValue() function in APValue
386 APValue &APValue::operator=(const APValue &RHS) { in operator =()
388 *this = APValue(RHS); in operator =()
392 APValue &APValue::operator=(APValue &&RHS) { in operator =()
403 void APValue::DestroyDataAndMakeUninit() { in DestroyDataAndMakeUninit()
431 bool APValue::needsCleanup() const { in needsCleanup()
468 void APValue::swap(APValue &RHS) { in swap()
479 void APValue::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
633 ArrayRef<APValue> Inits) { in TryPrintAsStringLiteral()
693 void APValue::printPretty(raw_ostream &Out, const ASTContext &Ctx, in printPretty()
698 void APValue::printPretty(raw_ostream &Out, const PrintingPolicy &Policy, in printPretty()
711 case APValue::None: in printPretty()
714 case APValue::Indeterminate: in printPretty()
717 case APValue::Int: in printPretty()
723 case APValue::Float: in printPretty()
726 case APValue::FixedPoint: in printPretty()
729 case APValue::Vector: { in printPretty()
740 case APValue::ComplexInt: in printPretty()
743 case APValue::ComplexFloat: in printPretty()
747 case APValue::LValue: { in printPretty()
868 case APValue::Array: { in printPretty()
893 case APValue::Struct: { in printPretty()
920 case APValue::Union: in printPretty()
928 case APValue::MemberPointer: in printPretty()
937 case APValue::AddrLabelDiff: in printPretty()
946 std::string APValue::getAsString(const ASTContext &Ctx, QualType Ty) const { in getAsString()
954 bool APValue::toIntegralConstant(APSInt &Result, QualType SrcTy, in toIntegralConstant()
974 const APValue::LValueBase APValue::getLValueBase() const { in getLValueBase()
979 bool APValue::isLValueOnePastTheEnd() const { in isLValueOnePastTheEnd()
984 CharUnits &APValue::getLValueOffset() { in getLValueOffset()
989 bool APValue::hasLValuePath() const { in hasLValuePath()
994 ArrayRef<APValue::LValuePathEntry> APValue::getLValuePath() const { in getLValuePath()
1000 unsigned APValue::getLValueCallIndex() const { in getLValueCallIndex()
1005 unsigned APValue::getLValueVersion() const { in getLValueVersion()
1010 bool APValue::isNullPointer() const { in isNullPointer()
1015 void APValue::setLValue(LValueBase B, const CharUnits &O, NoLValuePath, in setLValue()
1026 MutableArrayRef<APValue::LValuePathEntry>
1027 APValue::setLValueUninit(LValueBase B, const CharUnits &O, unsigned Size, in setLValueUninit()
1039 void APValue::setLValue(LValueBase B, const CharUnits &O, in setLValue()
1042 MutableArrayRef<APValue::LValuePathEntry> InternalPath = in setLValue()
1050 void APValue::setUnion(const FieldDecl *Field, const APValue &Value) { in setUnion()
1057 const ValueDecl *APValue::getMemberPointerDecl() const { in getMemberPointerDecl()
1064 bool APValue::isMemberPointerToDerivedMember() const { in isMemberPointerToDerivedMember()
1071 ArrayRef<const CXXRecordDecl*> APValue::getMemberPointerPath() const { in getMemberPointerPath()
1078 void APValue::MakeLValue() { in MakeLValue()
1085 void APValue::MakeArray(unsigned InitElts, unsigned Size) { in MakeArray()
1091 MutableArrayRef<APValue::LValuePathEntry>
1092 setLValueUninit(APValue::LValueBase B, const CharUnits &O, unsigned Size,
1096 APValue::setMemberPointerUninit(const ValueDecl *Member, bool IsDerivedMember, in setMemberPointerUninit()
1108 void APValue::MakeMemberPointer(const ValueDecl *Member, bool IsDerivedMember, in MakeMemberPointer()
1116 LinkageInfo LinkageComputer::getLVForValue(const APValue &V, in getLVForValue()
1124 auto Merge = [&](const APValue &V) { in getLVForValue()
1129 case APValue::None: in getLVForValue()
1130 case APValue::Indeterminate: in getLVForValue()
1131 case APValue::Int: in getLVForValue()
1132 case APValue::Float: in getLVForValue()
1133 case APValue::FixedPoint: in getLVForValue()
1134 case APValue::ComplexInt: in getLVForValue()
1135 case APValue::ComplexFloat: in getLVForValue()
1136 case APValue::Vector: in getLVForValue()
1139 case APValue::AddrLabelDiff: in getLVForValue()
1144 case APValue::Struct: { in getLVForValue()
1154 case APValue::Union: in getLVForValue()
1159 case APValue::Array: { in getLVForValue()
1168 case APValue::LValue: { in getLVForValue()
1200 case APValue::MemberPointer: in getLVForValue()