Home
last modified time | relevance | path

Searched refs:DynamicAllocLValue (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/AST/
H A DAPValue.h65 class DynamicAllocLValue {
69 DynamicAllocLValue() : Index(0) {} in DynamicAllocLValue() function
70 explicit DynamicAllocLValue(unsigned Index) : Index(Index + 1) {} in DynamicAllocLValue() function
79 static DynamicAllocLValue getFromOpaqueValue(void *Value) { in getFromOpaqueValue()
80 DynamicAllocLValue V; in getFromOpaqueValue()
106 template<> struct PointerLikeTypeTraits<clang::DynamicAllocLValue> {
107 static void *getAsVoidPointer(clang::DynamicAllocLValue V) {
110 static clang::DynamicAllocLValue getFromVoidPointer(void *P) {
111 return clang::DynamicAllocLValue::getFromOpaqueValue(P);
114 clang::DynamicAllocLValue::NumLowBitsAvailable;
[all …]
/llvm-project-15.0.7/clang/lib/AST/
H A DAPValue.cpp47 APValue::LValueBase APValue::LValueBase::getDynamicAlloc(DynamicAllocLValue LV, in getDynamicAlloc()
85 if (is<DynamicAllocLValue>()) in getType()
109 return (is<TypeInfoLValue>() || is<DynamicAllocLValue>()) ? 0 in getCallIndex()
114 return (is<TypeInfoLValue>() || is<DynamicAllocLValue>()) ? 0 : Local.Version; in getVersion()
123 assert(is<DynamicAllocLValue>() && "not a dynamic allocation lvalue"); in getDynamicAllocType()
129 if (is<TypeInfoLValue>() || is<DynamicAllocLValue>()) in Profile()
140 if (LHS.is<TypeInfoLValue>() || LHS.is<DynamicAllocLValue>()) in operator ==()
203 if (Base.is<TypeInfoLValue>() || Base.is<DynamicAllocLValue>()) in hash_value()
785 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { in printPretty()
814 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { in printPretty()
[all …]
H A DExprConstant.cpp773 bool operator()(DynamicAllocLValue L, DynamicAllocLValue R) const { in operator ()()
1892 if (NumHeapAllocs > DynamicAllocLValue::getMaxIndex()) { in createHeapAlloc()
1897 DynamicAllocLValue DA(NumHeapAllocs++); in createHeapAlloc()
1985 if (B.is<TypeInfoLValue>() || B.is<DynamicAllocLValue>()) in IsGlobalLValue()
2096 else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { in NoteLValueLocation()
2205 if (Base.is<DynamicAllocLValue>()) { in CheckLValueConstantExpression()
3523 if (Base.getCallIndex() || Base.is<DynamicAllocLValue>()) in lifetimeStartedInEvaluation()
4131 } else if (DynamicAllocLValue DA = LVal.Base.dyn_cast<DynamicAllocLValue>()) { in findCompleteObject()
6739 DynamicAllocLValue DA = Pointer.Base.dyn_cast<DynamicAllocLValue>(); in CheckDeleteKind()
6810 Info.HeapAllocs.erase(Pointer.Base.get<DynamicAllocLValue>()); in HandleOperatorDeleteCall()
[all …]
H A DASTImporter.cpp9741 assert(!FromValue.getLValueBase().is<DynamicAllocLValue>() && in ImportAPValue()