Searched refs:VarRegion (Results 1 – 16 of 16) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 174 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame() 332 void VarRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile() 333 VarRegion::ProfileRegion(ID, getDecl(), superRegion); in Profile() 524 void VarRegion::dumpToStream(raw_ostream &os) const { in dumpToStream() 589 bool VarRegion::canPrintPrettyAsExpr() const { in canPrintPrettyAsExpr() 593 void VarRegion::printPrettyAsExpr(raw_ostream &os) const { in printPrettyAsExpr() 737 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *> 754 if (const VarRegion *VR = dyn_cast<VarRegion>(I.getOriginalRegion())) in getStackOrCaptureRegionForDeclContext() 756 return cast<VarRegion>(I.getCapturedRegion()); in getStackOrCaptureRegionForDeclContext() 765 const VarRegion* MemRegionManager::getVarRegion(const VarDecl *D, in getVarRegion() [all …]
|
D | BugReporterVisitors.cpp | 423 static bool isInitializationOfVar(const ExplodedNode *N, const VarRegion *VR) { in isInitializationOfVar() 463 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode() 509 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode() 555 const VarRegion *VR = dyn_cast<VarRegion>(R); in VisitNode() 569 if (const VarRegion *OriginalR = BDR->getOriginalRegion(VR)) { in VisitNode() 604 if (isa<VarRegion>(R)) { in VisitNode() 622 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode() 1127 const VarRegion *R = in registerStatementVarDecls()
|
D | SymbolManager.cpp | 418 if (const VarRegion *VR = dyn_cast<VarRegion>(MR)) in isLiveRegion() 508 bool SymbolReaper::isLive(const VarRegion *VR, bool includeStoreBindings) const{ in isLive()
|
D | RegionStore.cpp | 510 SVal getBindingForVar(RegionBindingsConstRef B, const VarRegion *R); 1014 const VarRegion *VR = BI.getCapturedRegion(); in VisitCluster() 1347 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in getBinding() 1725 const VarRegion *R) { in getBindingForVar() 2203 if (const VarRegion *VR = dyn_cast<VarRegion>(baseR)) { in VisitAddedToCluster()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MacOSXAPIChecker.cpp | 86 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) in CheckDispatchOnce() 92 if (isa<VarRegion>(R) && isa<StackLocalsSpaceRegion>(R->getMemorySpace())) in CheckDispatchOnce()
|
D | StackAddrEscapeChecker.cpp | 76 else if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in genName() 231 const VarRegion *VR = cast<VarRegion>(cb.V[i].first->getBaseRegion()); in checkEndFunction()
|
D | UnixAPIChecker.cpp | 168 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) in CheckPthreadOnce() 174 if (isa<VarRegion>(R) && isa<StackLocalsSpaceRegion>(R->getMemorySpace())) in CheckPthreadOnce()
|
D | PointerArithChecker.cpp | 51 if (isa<VarRegion>(LR) || isa<CodeTextRegion>(LR) || in checkPreStmt()
|
D | NSErrorChecker.cpp | 193 if (const VarRegion *VR = R->getAs<VarRegion>()) in parameterTypeFromSVal()
|
D | UndefCapturedBlockVarChecker.cpp | 71 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
|
D | MallocChecker.cpp | 1275 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion() 1290 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion() 1305 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion() 1711 const VarRegion* VR = MR->getBaseRegion()->getAs<VarRegion>(); in getAllocationSite() 1949 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
|
D | RetainCountChecker.cpp | 2165 const VarRegion *VR = R->getBaseRegion()->getAs<VarRegion>(); in GetAllocationSite() 2667 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt() 3487 escapes = !isa<VarRegion>(regionLoc->getRegion()); in checkBind() 3494 if (const VarRegion *LVR = dyn_cast_or_null<VarRegion>(loc.getAsRegion())) { in checkBind()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | MemRegion.h | 42 class VarRegion; variable 660 const VarRegion *getCapturedRegion() const { in getCapturedRegion() 661 return cast<VarRegion>(*R); in getCapturedRegion() 663 const VarRegion *getOriginalRegion() const { in getOriginalRegion() 664 return cast<VarRegion>(*OriginalR); in getOriginalRegion() 684 const VarRegion *getOriginalRegion(const VarRegion *VR) const; 702 std::pair<const VarRegion *, const VarRegion *> 862 class VarRegion : public DeclRegion { 866 VarRegion(const VarDecl *vd, const MemRegion* sReg) in VarRegion() function 1207 const VarRegion* getVarRegion(const VarDecl *D, const LocationContext *LC); [all …]
|
D | SymbolManager.h | 38 class VarRegion; variable 599 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
|
D | ProgramState.h | 198 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const; 628 inline const VarRegion* ProgramState::getRegion(const VarDecl *D, in getRegion()
|
/external/clang/docs/analyzer/ |
D | RegionStore.txt | 165 // used as a Default binding for the VarRegion 'p2'.
|