Home
last modified time | relevance | path

Searched refs:ElementRegion (Results 1 – 23 of 23) sorted by relevance

/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.cpp34 const ElementRegion *const ER = dyn_cast<ElementRegion>(MR); in checkDoubleNonblocking()
64 const ElementRegion *const ER = dyn_cast<ElementRegion>(MR); in checkUnmatchedWaits()
154 if (const ElementRegion *const ER = MR->getAs<ElementRegion>()) { in allRegionsUsedByWait()
173 const ElementRegion *const ER = RegionManager.getElementRegion( in allRegionsUsedByWait()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp60 const ElementRegion *StoreManager::MakeElementRegion(const SubRegion *Base, in MakeElementRegion()
67 const ElementRegion *StoreManager::GetElementZeroRegion(const SubRegion *R, in GetElementZeroRegion()
165 const ElementRegion *elementR = cast<ElementRegion>(R); in castRegion()
459 const auto *ElemR = dyn_cast<ElementRegion>(BaseRegion); in getLValueElement()
488 if (isa<ElementRegion>(BaseRegion->StripCasts())) in getLValueElement()
H A DMemRegion.cpp498 void ElementRegion::dumpToStream(raw_ostream &os) const { in dumpToStream()
680 const ElementRegion *ER = nullptr; in getDescriptiveName()
681 while ((ER = R->getAs<ElementRegion>())) { in getDescriptiveName()
1095 const ElementRegion*
1106 auto *R = cast_or_null<ElementRegion>(data); in getElementRegion()
1109 R = A.Allocate<ElementRegion>(); in getElementRegion()
1110 new (R) ElementRegion(T, Idx, superRegion); in getElementRegion()
1308 const auto *ER = cast<ElementRegion>(R); in StripCasts()
1339 const ElementRegion *ER = this; in getAsArrayOffset()
1375 ER = dyn_cast<ElementRegion>(superR); in getAsArrayOffset()
[all …]
H A DRegionStore.cpp563 SVal getBindingForElement(RegionBindingsConstRef B, const ElementRegion *R);
1483 if (const ElementRegion* ER = dyn_cast<ElementRegion>(R)) { in getBinding()
1599 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in findLazyBinding()
1629 const ElementRegion* R) { in getBindingForElement()
1807 if (const ElementRegion *ER = dyn_cast<ElementRegion>(LazyBindingRegion)) in getLazyBinding()
1881 if (const ElementRegion *ER = dyn_cast<ElementRegion>(Base)) { in getBindingForFieldOrElementCommon()
1893 if (isa<ElementRegion>(R)) { in getBindingForFieldOrElementCommon()
2228 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx); in bindArray()
2275 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector()
H A DSimpleSValBuilder.cpp892 const ElementRegion *RightER = dyn_cast<ElementRegion>(RightMR); in evalBinOpLL()
893 const ElementRegion *LeftER = dyn_cast<ElementRegion>(LeftMR); in evalBinOpLL()
1062 if (const ElementRegion *elemReg = dyn_cast<ElementRegion>(region)) { in evalBinOpLN()
H A DSymbolManager.cpp395 if (const auto ER = dyn_cast<ElementRegion>(SR)) { in markElementIndicesLive()
H A DSValBuilder.cpp791 if (const auto *ER = dyn_cast<ElementRegion>(R)) { in evalCastSubKind()
H A DExprEngineCXX.cpp904 const ElementRegion *EleReg = in VisitCXXNewExpr()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DReturnPointerRangeChecker.cpp46 const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(R); in checkPreStmt()
H A DArrayBoundChecker.cpp43 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in checkLocation()
H A DCheckPlacementNew.cpp47 void checkElementRegionAlign(const ElementRegion *R, CheckerContext &C,
177 const ElementRegion *R, CheckerContext &C, const Expr *P, in checkElementRegionAlign()
284 if (const ElementRegion *TheElementRegion = MRegion->getAs<ElementRegion>()) in checkPlaceIsAlignedProperly()
H A DUndefResultChecker.cpp49 const ElementRegion *ER = dyn_cast<ElementRegion>(MR); in isArrayIndexOutOfBounds()
H A DTaint.cpp165 if (const ElementRegion *ER = dyn_cast<ElementRegion>(Reg)) in isTainted()
H A DArrayBoundCheckerV2.cpp325 const ElementRegion *elemReg = cast<ElementRegion>(region); in computeOffset()
H A DPointerArithChecker.cpp126 if (const auto *ElemRegion = dyn_cast<ElementRegion>(Region)) { in getArrayRegion()
H A DCStringChecker.cpp339 const auto *ER = dyn_cast<ElementRegion>(R); in CheckLocation()
915 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in IsFirstBufInBound()
953 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in InvalidateBuffer()
H A DValistChecker.cpp182 const auto *EReg = dyn_cast_or_null<ElementRegion>(Reg); in getVAListAsRegion()
H A DMallocChecker.cpp2021 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in HandleNonHeapDealloc()
2339 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in HandleFunctionPtrFree()
2736 if (isa<FieldRegion>(MR) || isa<ElementRegion>(MR)) in checkEscapeOnReturn()
H A DNullabilityChecker.cpp290 if (auto ElementReg = Region->getAs<ElementRegion>()) in getTrackRegion()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h179 const ElementRegion *GetElementZeroRegion(const SubRegion *R, QualType T);
280 const ElementRegion *MakeElementRegion(const SubRegion *baseRegion,
H A DMemRegion.h1123 friend class ElementRegion; variable
1141 class ElementRegion : public TypedValueRegion {
1147 ElementRegion(QualType elementType, NonLoc Idx, const SubRegion *sReg) in ElementRegion() function
1404 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
1408 const ElementRegion *getElementRegionWithSuper(const ElementRegion *ER, in getElementRegionWithSuper()
H A DRegions.def83 REGION(ElementRegion, TypedValueRegion)
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h169 std::string VisitElementRegion(const ElementRegion *R) { in VisitElementRegion()