Home
last modified time | relevance | path

Searched refs:TVR (Results 1 – 11 of 11) sorted by relevance

/freebsd-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDDynamicExtent.cpp49 const auto *TVR = MR->getAs<TypedValueRegion>(); in getConstantArrayElementCount() local
50 if (!TVR) in getConstantArrayElementCount()
54 SVB.getContext().getAsConstantArrayType(TVR->getValueType())) in getConstantArrayElementCount()
HDStore.cpp237 const auto *TVR = dyn_cast<TypedValueRegion>(MR); in regionMatchesCXXRecordType() local
238 if (!TVR) in regionMatchesCXXRecordType()
241 const CXXRecordDecl *RD = TVR->getValueType()->getAsCXXRecordDecl(); in regionMatchesCXXRecordType()
309 if (const auto *TVR = dyn_cast<TypedValueRegion>(MR)) in getCXXRecordType() local
310 return TVR->getValueType()->getAsCXXRecordDecl(); in getCXXRecordType()
HDBugReporterVisitors.cpp1459 const auto *TVR = dyn_cast_or_null<TypedValueRegion>(R); in tryExtractInitializerFromList() local
1461 if (!TVR) in tryExtractInitializerFromList()
1468 while (isa<FieldRegion>(TVR) || isa<ElementRegion>(TVR)) { in tryExtractInitializerFromList()
1473 if (ITy == TVR->getValueType().getCanonicalType()) in tryExtractInitializerFromList()
1476 TVRStack.push(TVR); in tryExtractInitializerFromList()
1477 TVR = cast<TypedValueRegion>(TVR->getSuperRegion()); in tryExtractInitializerFromList()
1482 if (ITy != TVR->getValueType().getCanonicalType()) in tryExtractInitializerFromList()
1487 TVR = TVRStack.top(); in tryExtractInitializerFromList()
1498 if (const auto *FR = dyn_cast<FieldRegion>(TVR)) { in tryExtractInitializerFromList()
1505 } else if (const auto *ER = dyn_cast<ElementRegion>(TVR)) { in tryExtractInitializerFromList()
HDExprEngineCXX.cpp357 const TypedValueRegion *TVR = Caller->getParameterLocation( in computeObjectUnderConstruction() local
359 if (!TVR) in computeObjectUnderConstruction()
362 return loc::MemRegionVal(TVR); in computeObjectUnderConstruction()
HDRegionStore.cpp1408 if (const auto *TVR = dyn_cast<TypedValueRegion>(MR)) in getBinding() local
1409 T = TVR->getValueType(); in getBinding()
1512 if (const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(R)) in getUnderlyingType() local
1513 RegionTy = TVR->getValueType(); in getUnderlyingType()
HDCallEvent.cpp274 if (const TypedValueRegion *TVR = in invalidateRegions() local
276 ValuesToInvalidate.push_back(loc::MemRegionVal(TVR)); in invalidateRegions()
HDMemRegion.cpp1542 if (const auto *TVR = dyn_cast<TypedValueRegion>(R)) { in calculateOffset() local
1543 Ty = TVR->getDesugaredValueType(R->getContext()); in calculateOffset()
/freebsd-head/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDDereferenceChecker.cpp304 const TypedValueRegion *TVR = dyn_cast_or_null<TypedValueRegion>(MR); in checkBind() local
305 if (!TVR) in checkBind()
308 if (!TVR->getValueType()->isReferenceType()) in checkBind()
HDExprInspectionChecker.cpp353 if (const auto *TVR = MR->getAs<TypedValueRegion>()) { in analyzerDumpElementCount() local
354 ElementTy = TVR->getValueType(); in analyzerDumpElementCount()
HDNullabilityChecker.cpp1254 const TypedValueRegion *TVR = in checkBind() local
1256 if (!TVR) in checkBind()
1259 QualType LocType = TVR->getValueType(); in checkBind()
HDCheckObjCDealloc.cpp521 const TypedValueRegion *TVR = in diagnoseMissingReleases() local
523 const ObjCIvarRegion *IvarRegion = cast<ObjCIvarRegion>(TVR); in diagnoseMissingReleases()