Home
last modified time | relevance | path

Searched refs:ElementRegion (Results 1 – 16 of 16) 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()
902 const ElementRegion*
910 ElementRegion::ProfileRegion(ID, T, Idx, superRegion); in getElementRegion()
914 ElementRegion* R = cast_or_null<ElementRegion>(data); in getElementRegion()
917 R = (ElementRegion*) A.Allocate<ElementRegion>(); in getElementRegion()
918 new (R) ElementRegion(T, Idx, superRegion); in getElementRegion()
1091 const ElementRegion *ER = cast<ElementRegion>(R); in StripCasts()
[all …]
DStore.cpp66 const ElementRegion *StoreManager::GetElementZeroRegion(const MemRegion *R, in GetElementZeroRegion()
162 const ElementRegion *elementR = cast<ElementRegion>(R); in castRegion()
451 const ElementRegion *ElemR = dyn_cast<ElementRegion>(BaseRegion); in getLValueElement()
482 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.cpp504 SVal getBindingForElement(RegionBindingsConstRef B, const ElementRegion *R);
1328 if (const ElementRegion* ER = dyn_cast<ElementRegion>(R)) { in getBinding()
1444 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in findLazyBinding()
1474 const ElementRegion* R) { in getBindingForElement()
1593 if (const ElementRegion *ER = dyn_cast<ElementRegion>(LazyBindingRegion)) in getLazyBinding()
1667 if (const ElementRegion *ER = dyn_cast<ElementRegion>(Base)) { in getBindingForFieldOrElementCommon()
1679 if (isa<ElementRegion>(R)) { in getBindingForFieldOrElementCommon()
1996 const ElementRegion *ER = MRMgr.getElementRegion(ElementTy, Idx, R, Ctx); in bindArray()
2043 const ElementRegion *ER = MRMgr.getElementRegion(ElemType, Idx, R, Ctx); in bindVector()
DExprEngineCXX.cpp278 bool IsArray = isa<ElementRegion>(Target); in VisitCXXConstructExpr()
437 const ElementRegion *EleReg = in VisitCXXNewExpr()
DProgramState.cpp710 if (const ElementRegion *ER = dyn_cast<ElementRegion>(Reg)) in isTainted()
DExprEngineCallAndReturn.cpp614 if (Target && isa<ElementRegion>(Target)) in mayInlineCallKind()
661 if (Target && isa<ElementRegion>(Target)) in mayInlineCallKind()
/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.cpp284 const ElementRegion *elemReg = cast<ElementRegion>(region); in computeOffset()
DCStringChecker.cpp275 const ElementRegion *ER = dyn_cast<ElementRegion>(R); in CheckLocation()
835 if (const ElementRegion *ER = dyn_cast<ElementRegion>(R)) { in InvalidateBuffer()
DMallocChecker.cpp1350 while (const ElementRegion *ER = dyn_cast_or_null<ElementRegion>(MR)) in ReportBadFree()
1912 if (isa<FieldRegion>(MR) || isa<ElementRegion>(MR)) in checkPreStmt()
/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.m458 // second line, 'p = &p[i]', p is assigned an ElementRegion whose index
459 // is a 16-bit integer. On the third line, a new ElementRegion is created
463 // ElementRegion is created.
Dmisc-ps-region-store.m449 // Exercise creating ElementRegion with symbolic super region.