Searched refs:TVR (Results 1 – 11 of 11) sorted by relevance
49 const auto *TVR = MR->getAs<TypedValueRegion>(); in getConstantArrayElementCount() local50 if (!TVR) in getConstantArrayElementCount()54 SVB.getContext().getAsConstantArrayType(TVR->getValueType())) in getConstantArrayElementCount()
237 const auto *TVR = dyn_cast<TypedValueRegion>(MR); in regionMatchesCXXRecordType() local238 if (!TVR) in regionMatchesCXXRecordType()241 const CXXRecordDecl *RD = TVR->getValueType()->getAsCXXRecordDecl(); in regionMatchesCXXRecordType()309 if (const auto *TVR = dyn_cast<TypedValueRegion>(MR)) in getCXXRecordType() local310 return TVR->getValueType()->getAsCXXRecordDecl(); in getCXXRecordType()
1459 const auto *TVR = dyn_cast_or_null<TypedValueRegion>(R); in tryExtractInitializerFromList() local1461 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()
357 const TypedValueRegion *TVR = Caller->getParameterLocation( in computeObjectUnderConstruction() local359 if (!TVR) in computeObjectUnderConstruction()362 return loc::MemRegionVal(TVR); in computeObjectUnderConstruction()
1408 if (const auto *TVR = dyn_cast<TypedValueRegion>(MR)) in getBinding() local1409 T = TVR->getValueType(); in getBinding()1512 if (const TypedValueRegion *TVR = dyn_cast<TypedValueRegion>(R)) in getUnderlyingType() local1513 RegionTy = TVR->getValueType(); in getUnderlyingType()
274 if (const TypedValueRegion *TVR = in invalidateRegions() local276 ValuesToInvalidate.push_back(loc::MemRegionVal(TVR)); in invalidateRegions()
1542 if (const auto *TVR = dyn_cast<TypedValueRegion>(R)) { in calculateOffset() local1543 Ty = TVR->getDesugaredValueType(R->getContext()); in calculateOffset()
304 const TypedValueRegion *TVR = dyn_cast_or_null<TypedValueRegion>(MR); in checkBind() local305 if (!TVR) in checkBind()308 if (!TVR->getValueType()->isReferenceType()) in checkBind()
353 if (const auto *TVR = MR->getAs<TypedValueRegion>()) { in analyzerDumpElementCount() local354 ElementTy = TVR->getValueType(); in analyzerDumpElementCount()
1254 const TypedValueRegion *TVR = in checkBind() local1256 if (!TVR) in checkBind()1259 QualType LocType = TVR->getValueType(); in checkBind()
521 const TypedValueRegion *TVR = in diagnoseMissingReleases() local523 const ObjCIvarRegion *IvarRegion = cast<ObjCIvarRegion>(TVR); in diagnoseMissingReleases()