Home
last modified time | relevance | path

Searched refs:getBaseRegion (Results 1 – 17 of 17) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp66 assert((r == r->getBaseRegion() || in BindingKey()
86 const MemRegion *getBaseRegion() const { in getBaseRegion() function in __anonfa909ae00111::BindingKey
88 return getConcreteOffsetRegion()->getBaseRegion(); in getBaseRegion()
89 return getRegion()->getBaseRegion(); in getBaseRegion()
280 const MemRegion *Base = K.getBaseRegion(); in addBinding()
298 const ClusterBindings *Cluster = lookup(K.getBaseRegion()); in lookup()
310 const MemRegion *Base = K.getBaseRegion(); in removeBinding()
560 return B.getDefaultBinding(R->getBaseRegion()); in getDefaultBinding()
785 assert(R == R->getBaseRegion() && "Should only be called for base regions"); in scanReachableSymbols()
934 const MemRegion *ClusterHead = TopKey.getBaseRegion(); in removeSubRegionBindings()
[all …]
H A DSymbolManager.cpp404 LiveRegionRoots.insert(region->getBaseRegion()); in markLive()
409 LazilyCopiedRegionRoots.insert(region->getBaseRegion()); in markLazilyCopied()
433 MR = MR->getBaseRegion(); in isLiveRegion()
452 return LazilyCopiedRegionRoots.count(MR->getBaseRegion()); in isLazilyCopiedRegion()
H A DCallEvent.cpp257 ETraits.setTrait(MR->getBaseRegion(), in invalidateRegions()
730 ETraits->setTrait(ThisRegion->getBaseRegion(), in getExtraInvalidatedValues()
H A DMemRegion.cpp771 if (auto *VR = dyn_cast<VarRegion>(this->getBaseRegion())) { in sourceRange()
1354 const MemRegion *MemRegion::getBaseRegion() const { in getBaseRegion() function in MemRegion
H A DProgramState.cpp585 const MemRegion *R = val.getRegion()->getBaseRegion(); in scan()
H A DBugReporter.cpp2295 R = R->getBaseRegion(); in markInteresting()
2306 R = R->getBaseRegion(); in markNotInteresting()
2367 R = R->getBaseRegion(); in getInterestingnessKind()
H A DExprEngine.cpp1359 Region = ValueRegion->getBaseRegion(); in ProcessAutomaticObjDtor()
3502 if (const auto *VR = dyn_cast<VarRegion>(MR->getBaseRegion())) in processPointerEscapedOnBind()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp196 const DeclRegion *BaseDeclRegion = R->getBaseRegion()->getAs<DeclRegion>(); in checkElementRegionAlign()
238 const MemRegion *BaseRegion = R->getBaseRegion(); in checkFieldRegionAlign()
H A DCXXDeleteChecker.cpp103 const auto *DerivedClassRegion = MR->getBaseRegion()->getAs<SymbolicRegion>(); in checkPreStmt()
H A DMoveChecker.cpp473 const MemRegion *BaseRegion = ArgRegion->getBaseRegion(); in checkPostCall()
725 State = removeFromState(State, Region->getBaseRegion()); in checkRegionChanges()
H A DTaint.cpp135 if (SubRegion == SubRegion->getBaseRegion()) in addPartialTaint()
H A DValistChecker.cpp179 IsSymbolic = Reg && Reg->getBaseRegion()->getAs<SymbolicRegion>(); in getVAListAsRegion()
H A DMallocChecker.cpp2028 const SymbolicRegion *SrBase = dyn_cast<SymbolicRegion>(R->getBaseRegion()); in FreeMemAux()
2440 R->markInteresting(MR->getBaseRegion()); in HandleOffsetFree()
2759 const VarRegion *VR = MR->getBaseRegion()->getAs<VarRegion>(); in getAllocationSite()
3002 dyn_cast<SymbolicRegion>(MR->getBaseRegion())) in checkEscapeOnReturn()
H A DSmartPtrModeling.cpp583 Region->getBaseRegion()); in checkRegionChanges()
H A DCStringChecker.cpp1258 R->getBaseRegion(), in invalidateSourceBuffer()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/cert/
H A DInvalidPtrChecker.cpp219 const MemRegion *MR = SymRegOfRetVal->getBaseRegion(); in postPreviousReturnInvalidatingCall()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h124 LLVM_ATTRIBUTE_RETURNS_NONNULL const MemRegion *getBaseRegion() const;