Home
last modified time | relevance | path

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

/src/contrib/llvm-project/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 …]
H A DPropertiesBase.td456 bool lvalueBaseIsDynamicAlloc = lvalueBase.is<DynamicAllocLValue>();
499 let Read = [{ node.getLValueBase().get<DynamicAllocLValue>().getIndex() }];
543 DynamicAllocLValue(*dynamicAlloc), *type);
/src/contrib/llvm-project/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()
790 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { in printPretty()
819 } else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { in printPretty()
[all …]
H A DExprConstant.cpp809 bool operator()(DynamicAllocLValue L, DynamicAllocLValue R) const { in operator ()()
885 std::map<DynamicAllocLValue, DynAlloc, DynAllocOrder> HeapAllocs;
1100 std::optional<DynAlloc *> lookupDynamicAlloc(DynamicAllocLValue DA) { in lookupDynamicAlloc()
1955 if (NumHeapAllocs > DynamicAllocLValue::getMaxIndex()) { in createHeapAlloc()
1960 DynamicAllocLValue DA(NumHeapAllocs++); in createHeapAlloc()
2071 if (B.is<TypeInfoLValue>() || B.is<DynamicAllocLValue>()) in IsGlobalLValue()
2182 else if (DynamicAllocLValue DA = Base.dyn_cast<DynamicAllocLValue>()) { in NoteLValueLocation()
2289 if (Base.is<DynamicAllocLValue>()) { in CheckLValueConstantExpression()
3604 if (Base.getCallIndex() || Base.is<DynamicAllocLValue>()) in lifetimeStartedInEvaluation()
4231 } else if (DynamicAllocLValue DA = LVal.Base.dyn_cast<DynamicAllocLValue>()) { in findCompleteObject()
[all …]
H A DASTImporter.cpp10329 assert(!FromValue.getLValueBase().is<DynamicAllocLValue>() && in ImportAPValue()