/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
H A D | MPIChecker.cpp | 34 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/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | PointerSubChecker.cpp | 44 const ElementRegion *ElemReg, 53 const ElementRegion *ElemReg, in checkArrayBounds() 128 const auto *ElemLR = dyn_cast<ElementRegion>(LR); in checkPreStmt() 129 const auto *ElemRR = dyn_cast<ElementRegion>(RR); in checkPreStmt()
|
H A D | CheckPlacementNew.cpp | 47 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 D | ArrayBoundCheckerV2.cpp | 53 if (isa<ElementRegion>(SubscriptBaseReg->StripCasts())) in determineElementType() 181 const ElementRegion *CurRegion = in computeOffset() 182 dyn_cast_or_null<ElementRegion>(Location.getAsRegion()); in computeOffset() 212 CurRegion = dyn_cast_or_null<ElementRegion>(OwnerRegion); in computeOffset() 410 const auto *EReg = Location.getAsRegion()->getAs<ElementRegion>(); in getExceedsMsgs()
|
H A D | Taint.cpp | 222 if (const ElementRegion *ER = dyn_cast<ElementRegion>(Reg)) { in getTaintedSymbolsImpl()
|
H A D | CStringChecker.cpp | 405 const ElementRegion *ER, CharKind CK) { in getIndex() 445 const auto *ER = dyn_cast_or_null<ElementRegion>(R); in checkInit() 563 const auto *ER = dyn_cast<ElementRegion>(R); in CheckLocation() 1185 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in isFirstBufInBound() 1285 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in invalidateBufferAux()
|
H A D | ValistChecker.cpp | 181 const auto *EReg = dyn_cast_or_null<ElementRegion>(Reg); in getVAListAsRegion()
|
H A D | NullabilityChecker.cpp | 330 if (const auto *ER = dyn_cast<ElementRegion>(FieldReg->getSuperRegion())) in getTrackRegion() 334 if (auto ElementReg = Region->getAs<ElementRegion>()) in getTrackRegion()
|
H A D | MallocChecker.cpp | 2277 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in HandleNonHeapDealloc() 2596 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in HandleFunctionPtrFree() 3000 if (isa<FieldRegion, ElementRegion>(MR)) in checkEscapeOnReturn()
|
H A D | StreamChecker.cpp | 1040 if (const auto *ER = dyn_cast<ElementRegion>(R)) in getPointeeType() 1059 if (const auto *ER = dyn_cast<ElementRegion>(R)) in getStartIndex() 1082 if (const auto *ER = dyn_cast_or_null<ElementRegion>(Buffer)) in tryToInvalidateFReadBufferByElements()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | Store.cpp | 60 const ElementRegion *StoreManager::MakeElementRegion(const SubRegion *Base, in MakeElementRegion() 67 const ElementRegion *StoreManager::GetElementZeroRegion(const SubRegion *R, in GetElementZeroRegion() 172 const ElementRegion *elementR = cast<ElementRegion>(R); in castRegion() 472 const auto *ElemR = dyn_cast<ElementRegion>(BaseRegion); in getLValueElement() 511 if (isa<ElementRegion>(BaseRegion->StripCasts())) in getLValueElement()
|
H A D | MemRegion.cpp | 342 void ElementRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion() 351 void ElementRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile() 352 ElementRegion::ProfileRegion(ID, ElementType, Index, superRegion); in Profile() 533 void ElementRegion::dumpToStream(raw_ostream &os) const { in dumpToStream() 726 const ElementRegion *ER = nullptr; in getDescriptiveName() 727 while ((ER = R->getAs<ElementRegion>())) { in getDescriptiveName() 1169 const ElementRegion * 1176 ElementRegion::ProfileRegion(ID, T, Idx, superRegion); in getElementRegion() 1180 auto *R = cast_or_null<ElementRegion>(data); in getElementRegion() 1183 R = new (A) ElementRegion(T, Idx, superRegion); in getElementRegion() [all …]
|
H A D | RegionStore.cpp | 432 const ElementRegion *R); 565 SVal getBindingForElement(RegionBindingsConstRef B, const ElementRegion *R); 1460 if (const ElementRegion* ER = dyn_cast<ElementRegion>(R)) { in getBinding() 1576 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in findLazyBinding() 1636 getElementRegionOffsetsWithBase(const ElementRegion *ER) { in getElementRegionOffsetsWithBase() 1643 ER = dyn_cast<ElementRegion>(Base); in getElementRegionOffsetsWithBase() 1713 RegionBindingsConstRef B, const ElementRegion *R) { in getConstantValFromConstArrayInitializer() 1909 const ElementRegion* R) { in getBindingForElement() 1931 } else if (isa<ElementRegion, VarRegion>(superR)) { in getBindingForElement() 2043 if (const ElementRegion *ER = dyn_cast<ElementRegion>(LazyBindingRegion)) in getLazyBinding() [all …]
|
H A D | ExprEngineCXX.cpp | 495 if (const auto *EL = dyn_cast_or_null<ElementRegion>(V.getAsRegion())) in updateObjectsUnderConstruction() 1070 const ElementRegion *EleReg = in VisitCXXNewExpr()
|
H A D | SymbolManager.cpp | 415 if (const auto ER = dyn_cast<ElementRegion>(SR)) { in markElementIndicesLive()
|
H A D | BugReporterVisitors.cpp | 1468 while (isa<FieldRegion>(TVR) || isa<ElementRegion>(TVR)) { in tryExtractInitializerFromList() 1505 } else if (const auto *ER = dyn_cast<ElementRegion>(TVR)) { in tryExtractInitializerFromList() 1609 while (isa<FieldRegion>(SR) || isa<ElementRegion>(SR)) { in VisitNode() 1629 } else if (const auto *ER = dyn_cast<ElementRegion>(TopR)) { in VisitNode()
|
H A D | ExprEngineCallAndReturn.cpp | 210 if (auto ThisElementRegion = dyn_cast<ElementRegion>(ThisVal.getAsRegion())) { in getElementCountOfArrayBeingDestructed()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | Store.h | 180 const ElementRegion *GetElementZeroRegion(const SubRegion *R, QualType T); 277 const ElementRegion *MakeElementRegion(const SubRegion *baseRegion,
|
H A D | MemRegion.h | 1179 friend class ElementRegion; variable 1199 class ElementRegion : public TypedValueRegion { 1205 ElementRegion(QualType elementType, NonLoc Idx, const SubRegion *sReg) in ElementRegion() function 1509 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx, 1513 const ElementRegion *getElementRegionWithSuper(const ElementRegion *ER, in getElementRegionWithSuper()
|
H A D | Regions.def | 84 REGION(ElementRegion, TypedValueRegion)
|