Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
DMPIChecker.cpp34 const ElementRegion *const ER = dyn_cast<ElementRegion>(MR); in checkDoubleNonblocking()
63 const ElementRegion *const ER = dyn_cast<ElementRegion>(MR); in checkUnmatchedWaits()
154 if (const ElementRegion *const ER = MR->getAs<ElementRegion>()) { in allRegionsUsedByWait()
172 const ElementRegion *const ER = RegionManager->getElementRegion( in allRegionsUsedByWait()
/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp343 void ElementRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion()
352 void ElementRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
353 ElementRegion::ProfileRegion(ID, ElementType, Index, superRegion); in Profile()
493 void ElementRegion::dumpToStream(raw_ostream &os) const { in dumpToStream()
643 const ElementRegion *ER = nullptr; in getDescriptiveName()
644 while ((ER = R->getAs<ElementRegion>())) { in getDescriptiveName()
960 const ElementRegion*
967 ElementRegion::ProfileRegion(ID, T, Idx, superRegion); in getElementRegion()
971 ElementRegion* R = cast_or_null<ElementRegion>(data); in getElementRegion()
974 R = A.Allocate<ElementRegion>(); in getElementRegion()
[all …]
DStore.cpp55 const ElementRegion *StoreManager::GetElementZeroRegion(const MemRegion *R, in GetElementZeroRegion()
151 const ElementRegion *elementR = cast<ElementRegion>(R); in castRegion()
440 const ElementRegion *ElemR = dyn_cast<ElementRegion>(BaseRegion); in getLValueElement()
471 if (isa<ElementRegion>(BaseRegion->StripCasts())) in getLValueElement()
DSimpleSValBuilder.cpp770 const ElementRegion *RightER = dyn_cast<ElementRegion>(RightMR); in evalBinOpLL()
771 const ElementRegion *LeftER = dyn_cast<ElementRegion>(LeftMR); in evalBinOpLL()
906 if (const ElementRegion *elemReg = dyn_cast<ElementRegion>(region)) { in evalBinOpLN()
DRegionStore.cpp500 SVal getBindingForElement(RegionBindingsConstRef B, const ElementRegion *R);
1425 if (const ElementRegion* ER = dyn_cast<ElementRegion>(R)) { in getBinding()
1541 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in findLazyBinding()
1571 const ElementRegion* R) { in getBindingForElement()
1690 if (const ElementRegion *ER = dyn_cast<ElementRegion>(LazyBindingRegion)) in getLazyBinding()
1764 if (const ElementRegion *ER = dyn_cast<ElementRegion>(Base)) { in getBindingForFieldOrElementCommon()
1776 if (isa<ElementRegion>(R)) { in getBindingForFieldOrElementCommon()
2093 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx); in bindArray()
2140 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector()
DExprEngineCXX.cpp334 bool IsArray = isa<ElementRegion>(Target); in VisitCXXConstructExpr()
493 const ElementRegion *EleReg = in VisitCXXNewExpr()
DProgramState.cpp710 if (const ElementRegion *ER = dyn_cast<ElementRegion>(Reg)) in isTainted()
DExprEngineCallAndReturn.cpp602 if (Target && isa<ElementRegion>(Target)) in mayInlineCallKind()
649 if (Target && isa<ElementRegion>(Target)) in mayInlineCallKind()
DSymbolManager.cpp400 if (auto ER = dyn_cast<ElementRegion>(SR)) { in markElementIndicesLive()
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundChecker.cpp43 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in checkLocation()
DReturnPointerRangeChecker.cpp46 const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(R); in checkPreStmt()
DArrayBoundCheckerV2.cpp274 const ElementRegion *elemReg = cast<ElementRegion>(region); in computeOffset()
DCStringChecker.cpp288 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in CheckLocation()
872 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in IsFirstBufInBound()
910 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in InvalidateBuffer()
DPointerArithChecker.cpp129 Region = Region->getAs<ElementRegion>()->getSuperRegion(); in getArrayRegion()
DMallocChecker.cpp1620 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in ReportBadFree()
2242 if (isa<FieldRegion>(MR) || isa<ElementRegion>(MR)) in checkPreStmt()
DNullabilityChecker.cpp302 if (auto ElementReg = Region->getAs<ElementRegion>()) in getTrackRegion()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h982 class ElementRegion; variable
986 friend class ElementRegion;
1004 class ElementRegion : public TypedValueRegion {
1010 ElementRegion(QualType elementType, NonLoc Idx, const MemRegion* sReg) in ElementRegion() function
1211 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
1215 const ElementRegion *getElementRegionWithSuper(const ElementRegion *ER, in getElementRegionWithSuper()
DRegions.def79 REGION(ElementRegion, TypedValueRegion)
DStore.h137 const ElementRegion *GetElementZeroRegion(const MemRegion *R, QualType T);
/external/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h160 std::string VisitElementRegion(const ElementRegion *R) { in VisitElementRegion()
/external/clang/test/Analysis/
Dmisc-ps.m445 // second line, 'p = &p[i]', p is assigned an ElementRegion whose index
446 // is a 16-bit integer. On the third line, a new ElementRegion is created
450 // ElementRegion is created.
Dmisc-ps-region-store.m449 // Exercise creating ElementRegion with symbolic super region.