Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp347 void ElementRegion::ProfileRegion(llvm::FoldingSetNodeID& ID, in ProfileRegion()
356 void ElementRegion::Profile(llvm::FoldingSetNodeID& ID) const { in Profile()
357 ElementRegion::ProfileRegion(ID, ElementType, Index, superRegion); in Profile()
497 void ElementRegion::dumpToStream(raw_ostream &os) const { in dumpToStream()
905 const ElementRegion*
913 ElementRegion::ProfileRegion(ID, T, Idx, superRegion); in getElementRegion()
917 ElementRegion* R = cast_or_null<ElementRegion>(data); in getElementRegion()
920 R = (ElementRegion*) A.Allocate<ElementRegion>(); in getElementRegion()
921 new (R) ElementRegion(T, Idx, superRegion); in getElementRegion()
1106 const ElementRegion *ER = cast<ElementRegion>(R); in StripCasts()
[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.cpp498 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.cpp615 if (Target && isa<ElementRegion>(Target)) in mayInlineCallKind()
662 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.cpp284 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in CheckLocation()
868 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in IsFirstBufInBound()
906 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in InvalidateBuffer()
DMallocChecker.cpp1612 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in ReportBadFree()
2234 if (isa<FieldRegion>(MR) || isa<ElementRegion>(MR)) in checkPreStmt()
DNullabilityChecker.cpp273 if (auto ElementReg = Region->getAs<ElementRegion>()) in getTrackRegion()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h986 class ElementRegion; variable
990 friend class ElementRegion;
1008 class ElementRegion : public TypedValueRegion {
1014 ElementRegion(QualType elementType, NonLoc Idx, const MemRegion* sReg) in ElementRegion() function
1215 const ElementRegion *getElementRegion(QualType elementType, NonLoc Idx,
1219 const ElementRegion *getElementRegionWithSuper(const ElementRegion *ER, in getElementRegionWithSuper()
DStore.h137 const ElementRegion *GetElementZeroRegion(const MemRegion *R, QualType T);
/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.