Searched refs:ElementRegion (Results 1 – 18 of 18) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 347 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 …]
|
D | Store.cpp | 55 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()
|
D | SimpleSValBuilder.cpp | 770 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()
|
D | RegionStore.cpp | 498 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()
|
D | ExprEngineCXX.cpp | 334 bool IsArray = isa<ElementRegion>(Target); in VisitCXXConstructExpr() 493 const ElementRegion *EleReg = in VisitCXXNewExpr()
|
D | ProgramState.cpp | 710 if (const ElementRegion *ER = dyn_cast<ElementRegion>(Reg)) in isTainted()
|
D | ExprEngineCallAndReturn.cpp | 615 if (Target && isa<ElementRegion>(Target)) in mayInlineCallKind() 662 if (Target && isa<ElementRegion>(Target)) in mayInlineCallKind()
|
D | SymbolManager.cpp | 400 if (auto ER = dyn_cast<ElementRegion>(SR)) { in markElementIndicesLive()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ArrayBoundChecker.cpp | 43 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in checkLocation()
|
D | ReturnPointerRangeChecker.cpp | 46 const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(R); in checkPreStmt()
|
D | ArrayBoundCheckerV2.cpp | 274 const ElementRegion *elemReg = cast<ElementRegion>(region); in computeOffset()
|
D | CStringChecker.cpp | 284 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()
|
D | MallocChecker.cpp | 1612 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in ReportBadFree() 2234 if (isa<FieldRegion>(MR) || isa<ElementRegion>(MR)) in checkPreStmt()
|
D | NullabilityChecker.cpp | 273 if (auto ElementReg = Region->getAs<ElementRegion>()) in getTrackRegion()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | MemRegion.h | 986 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()
|
D | Store.h | 137 const ElementRegion *GetElementZeroRegion(const MemRegion *R, QualType T);
|
/external/clang/test/Analysis/ |
D | misc-ps.m | 445 // 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.
|
D | misc-ps-region-store.m | 449 // Exercise creating ElementRegion with symbolic super region.
|