Home
last modified time | relevance | path

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

/external/clang/lib/StaticAnalyzer/Core/
DMemRegion.cpp170 const StackFrameContext *VarRegion::getStackFrame() const { in getStackFrame()
328 void VarRegion::Profile(llvm::FoldingSetNodeID &ID) const { in Profile()
329 VarRegion::ProfileRegion(ID, getDecl(), superRegion); in Profile()
520 void VarRegion::dumpToStream(raw_ostream &os) const { in dumpToStream()
587 bool VarRegion::canPrintPrettyAsExpr() const { in canPrintPrettyAsExpr()
591 void VarRegion::printPrettyAsExpr(raw_ostream &os) const { in printPrettyAsExpr()
676 const VarRegion *const VR = dyn_cast<VarRegion>(this->getBaseRegion()); in sourceRange()
793 static llvm::PointerUnion<const StackFrameContext *, const VarRegion *>
810 if (const VarRegion *VR = dyn_cast<VarRegion>(I.getOriginalRegion())) in getStackOrCaptureRegionForDeclContext()
812 return cast<VarRegion>(I.getCapturedRegion()); in getStackOrCaptureRegionForDeclContext()
[all …]
DBugReporterVisitors.cpp423 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()
1177 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.cpp506 SVal getBindingForVar(RegionBindingsConstRef B, const VarRegion *R);
1021 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.cpp620 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()
245 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()
DNSErrorChecker.cpp193 if (const VarRegion *VR = R->getAs<VarRegion>()) in parameterTypeFromSVal()
DUndefCapturedBlockVarChecker.cpp68 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
DMallocChecker.cpp1546 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion()
1561 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion()
1576 const VarRegion *VR = dyn_cast<VarRegion>(MR); in SummarizeRegion()
2036 const VarRegion* VR = MR->getBaseRegion()->getAs<VarRegion>(); in getAllocationSite()
2279 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
DRetainCountChecker.cpp2237 const VarRegion *VR = R->getBaseRegion()->getAs<VarRegion>(); in GetAllocationSite()
2728 const VarRegion *VR = I.getCapturedRegion(); in checkPostStmt()
3637 escapes = !isa<VarRegion>(regionLoc->getRegion()); in checkBind()
3644 if (const VarRegion *LVR = dyn_cast_or_null<VarRegion>(loc.getAsRegion())) { in checkBind()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DMemRegion.h44 class VarRegion; variable
656 const VarRegion *getCapturedRegion() const { in getCapturedRegion()
657 return cast<VarRegion>(*R); in getCapturedRegion()
659 const VarRegion *getOriginalRegion() const { in getOriginalRegion()
660 return cast<VarRegion>(*OriginalR); in getOriginalRegion()
680 const VarRegion *getOriginalRegion(const VarRegion *VR) const;
698 std::pair<const VarRegion *, const VarRegion *>
858 class VarRegion : public DeclRegion {
862 VarRegion(const VarDecl *vd, const MemRegion* sReg) in VarRegion() function
1203 const VarRegion* getVarRegion(const VarDecl *D, const LocationContext *LC);
[all …]
DRegions.def76 REGION(VarRegion, DeclRegion)
DSymbolManager.h39 class VarRegion; variable
515 bool isLive(const VarRegion *VR, bool includeStoreBindings = false) const;
DProgramState.h221 const VarRegion* getRegion(const VarDecl *D, const LocationContext *LC) const;
637 inline const VarRegion* ProgramState::getRegion(const VarDecl *D, in getRegion()
DCallEvent.h551 const VarRegion *getRegionStoringCapturedLambda() const { in getRegionStoringCapturedLambda()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h94 if (auto V = dyn_cast<VarRegion>(R)) in VisitSymbolRegionValue()
174 std::string VisitVarRegion(const VarRegion *R) { in VisitVarRegion()
/external/fonttools/Lib/fontTools/varLib/
Dbuilder.py14 self = ot.VarRegion()
DvarStore.py139 ot.VarRegion.get_support = VarRegion_get_support
/external/clang/docs/analyzer/
DRegionStore.txt165 // used as a Default binding for the VarRegion 'p2'.