Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/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()
171 const ElementRegion *elementR = cast<ElementRegion>(R); in castRegion()
473 const auto *ElemR = dyn_cast<ElementRegion>(BaseRegion); in getLValueElement()
502 if (isa<ElementRegion>(BaseRegion->StripCasts())) in getLValueElement()
H A DMemRegion.cpp332 void ElementRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion()
341 void ElementRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
342 ElementRegion::ProfileRegion(ID, ElementType, Index, superRegion); in Profile()
501 void ElementRegion::dumpToStream(raw_ostream &os) const { in dumpToStream()
683 const ElementRegion *ER = nullptr; in getDescriptiveName()
684 while ((ER = R->getAs<ElementRegion>())) { in getDescriptiveName()
1134 const ElementRegion*
1141 ElementRegion::ProfileRegion(ID, T, Idx, superRegion); in getElementRegion()
1145 auto *R = cast_or_null<ElementRegion>(data); in getElementRegion()
1148 R = A.Allocate<ElementRegion>(); in getElementRegion()
[all …]
H A DRegionStore.cpp430 const ElementRegion *R);
563 SVal getBindingForElement(RegionBindingsConstRef B, const ElementRegion *R);
1473 if (const ElementRegion* ER = dyn_cast<ElementRegion>(R)) { in getBinding()
1589 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in findLazyBinding()
1649 getElementRegionOffsetsWithBase(const ElementRegion *ER) { in getElementRegionOffsetsWithBase()
1656 ER = dyn_cast<ElementRegion>(Base); in getElementRegionOffsetsWithBase()
1726 RegionBindingsConstRef B, const ElementRegion *R) { in getConstantValFromConstArrayInitializer()
1922 const ElementRegion* R) { in getBindingForElement()
1944 } else if (isa<ElementRegion, VarRegion>(superR)) { in getBindingForElement()
2056 if (const ElementRegion *ER = dyn_cast<ElementRegion>(LazyBindingRegion)) in getLazyBinding()
[all …]
H A DSimpleSValBuilder.cpp966 const ElementRegion *RightER = dyn_cast<ElementRegion>(RightMR); in evalBinOpLL()
967 const ElementRegion *LeftER = dyn_cast<ElementRegion>(LeftMR); in evalBinOpLL()
1138 if (const ElementRegion *elemReg = dyn_cast<ElementRegion>(region)) { in evalBinOpLN()
H A DExprEngineCXX.cpp487 if (const auto *EL = dyn_cast_or_null<ElementRegion>(V.getAsRegion())) in updateObjectsUnderConstruction()
1065 const ElementRegion *EleReg = in VisitCXXNewExpr()
H A DSymbolManager.cpp425 if (const auto ER = dyn_cast<ElementRegion>(SR)) { in markElementIndicesLive()
H A DBugReporterVisitors.cpp1439 while (isa<FieldRegion>(TVR) || isa<ElementRegion>(TVR)) { in tryExtractInitializerFromList()
1476 } else if (const auto *ER = dyn_cast<ElementRegion>(TVR)) { in tryExtractInitializerFromList()
1580 while (isa<FieldRegion>(SR) || isa<ElementRegion>(SR)) { in VisitNode()
1600 } else if (const auto *ER = dyn_cast<ElementRegion>(TopR)) { in VisitNode()
H A DSValBuilder.cpp795 if (const auto *ER = dyn_cast<ElementRegion>(R)) { in VisitLocMemRegionVal()
H A DExprEngineCallAndReturn.cpp210 if (auto ThisElementRegion = dyn_cast<ElementRegion>(ThisVal.getAsRegion())) { in getElementCountOfArrayBeingDestructed()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
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 DReturnPointerRangeChecker.cpp51 const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(R); in checkPreStmt()
H A DUndefResultChecker.cpp49 const ElementRegion *ER = dyn_cast<ElementRegion>(MR); in isArrayIndexOutOfBounds()
H A DTaint.cpp168 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.cpp377 const auto *ER = dyn_cast<ElementRegion>(R); in CheckLocation()
1005 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in IsFirstBufInBound()
1043 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 DNullabilityChecker.cpp322 if (const auto *ER = dyn_cast<ElementRegion>(FieldReg->getSuperRegion())) in getTrackRegion()
326 if (auto ElementReg = Region->getAs<ElementRegion>()) in getTrackRegion()
H A DMallocChecker.cpp2224 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in HandleNonHeapDealloc()
2543 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in HandleFunctionPtrFree()
2943 if (isa<FieldRegion, ElementRegion>(MR)) in checkEscapeOnReturn()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DStore.h180 const ElementRegion *GetElementZeroRegion(const SubRegion *R, QualType T);
281 const ElementRegion *MakeElementRegion(const SubRegion *baseRegion,
H A DMemRegion.h1169 friend class ElementRegion; variable
1189 class ElementRegion : public TypedValueRegion {
1195 ElementRegion(QualType elementType, NonLoc Idx, const SubRegion *sReg) in ElementRegion() function
1458 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
1462 const ElementRegion *getElementRegionWithSuper(const ElementRegion *ER, in getElementRegionWithSuper()
H A DRegions.def83 REGION(ElementRegion, TypedValueRegion)
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h45 bool isThisObject(const ElementRegion *R) { in isThisObject()
186 std::string VisitElementRegion(const ElementRegion *R) { in VisitElementRegion()