Home
last modified time | relevance | path

Searched refs:VarRegion (Results 1 – 19 of 19) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp174 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 …]
DBugReporterVisitors.cpp419 static bool isInitializationOfVar(const ExplodedNode *N, const VarRegion *VR) { in isInitializationOfVar()
459 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode()
505 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode()
551 const VarRegion *VR = dyn_cast<VarRegion>(R); in VisitNode()
565 if (const VarRegion *OriginalR = BDR->getOriginalRegion(VR)) { in VisitNode()
600 if (isa<VarRegion>(R)) { in VisitNode()
618 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in VisitNode()
1119 const VarRegion *R = in registerStatementVarDecls()
DSymbolManager.cpp430 if (const VarRegion *VR = dyn_cast<VarRegion>(MR)) in isLiveRegion()
520 bool SymbolReaper::isLive(const VarRegion *VR, bool includeStoreBindings) const{ in isLive()
DRegionStore.cpp504 SVal getBindingForVar(RegionBindingsConstRef B, const VarRegion *R);
1020 const VarRegion *VR = BI.getCapturedRegion(); in VisitCluster()
1444 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in getBinding()
1822 const VarRegion *R) { in getBindingForVar()
2309 if (const VarRegion *VR = dyn_cast<VarRegion>(baseR)) { in VisitAddedToCluster()
DExprEngineC.cpp211 const VarRegion *capturedR = I.getCapturedRegion(); in VisitBlockExpr()
212 const VarRegion *originalR = I.getOriginalRegion(); in VisitBlockExpr()
DCallEvent.cpp610 const VarRegion *CapturedLambdaRegion = getRegionStoringCapturedLambda(); in getInitialStackFrameContents()
/external/clang/lib/StaticAnalyzer/Checkers/
DMacOSXAPIChecker.cpp86 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) in CheckDispatchOnce()
92 if (isa<VarRegion>(R) && isa<StackLocalsSpaceRegion>(R->getMemorySpace())) in CheckDispatchOnce()
DStackAddrEscapeChecker.cpp76 else if (const VarRegion *VR = dyn_cast<VarRegion>(R)) { in genName()
240 const VarRegion *VR = cast<VarRegion>(cb.V[i].first->getBaseRegion()); in checkEndFunction()
DUnixAPIChecker.cpp192 if (const VarRegion *VR = dyn_cast<VarRegion>(R)) in CheckPthreadOnce()
198 if (isa<VarRegion>(R) && isa<StackLocalsSpaceRegion>(R->getMemorySpace())) in CheckPthreadOnce()
DPointerArithChecker.cpp51 if (isa<VarRegion>(LR) || isa<CodeTextRegion>(LR) || in checkPreStmt()
DNSErrorChecker.cpp193 if (const VarRegion *VR = R->getAs<VarRegion>()) in parameterTypeFromSVal()
DUndefCapturedBlockVarChecker.cpp68 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
DMallocChecker.cpp1538 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion()
1553 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion()
1568 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion()
2028 const VarRegion* VR = MR->getBaseRegion()->getAs<VarRegion>(); in getAllocationSite()
2271 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
DRetainCountChecker.cpp2236 const VarRegion *VR = R->getBaseRegion()->getAs<VarRegion>(); in GetAllocationSite()
2727 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
3644 escapes = !isa<VarRegion>(regionLoc->getRegion()); in checkBind()
3651 if (const VarRegion *LVR = dyn_cast_or_null<VarRegion>(loc.getAsRegion())) { in checkBind()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h42 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 …]
DSymbolManager.h38 class VarRegion; variable
597 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
DProgramState.h220 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const;
636 inline const VarRegion* ProgramState::getRegion(const VarDecl *D, in getRegion()
DCallEvent.h519 const VarRegion *getRegionStoringCapturedLambda() const { in getRegionStoringCapturedLambda()
/external/clang/docs/analyzer/
DRegionStore.txt165 // used as a Default binding for the VarRegion 'p2'.