Home
last modified time | relevance | path

Searched refs:SubRegion (Results 1 – 13 of 13) sorted by relevance

/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp52 explicit BindingKey(const SubRegion *r, const SubRegion *Base, Kind k) in BindingKey()
76 const SubRegion *getConcreteOffsetRegion() const { in getConcreteOffsetRegion()
78 return reinterpret_cast<const SubRegion *>(static_cast<uintptr_t>(Data)); in getConcreteOffsetRegion()
114 return BindingKey(cast<SubRegion>(R), cast<SubRegion>(RO.getRegion()), k); in Make()
405 const SubRegion *R);
422 const SubRegion *SR = cast<SubRegion>(R); in BindDefault()
518 SVal getLazyBinding(const SubRegion *LazyBindingRegion,
544 std::pair<Store, const SubRegion *>
545 findLazyBinding(RegionBindingsConstRef B, const SubRegion *R,
546 const SubRegion *originalRegion);
[all …]
DMemRegion.cpp149 bool SubRegion::isSubRegionOf(const MemRegion* R) const { in isSubRegionOf()
154 if (const SubRegion* sr = dyn_cast<SubRegion>(r)) in isSubRegionOf()
162 MemRegionManager* SubRegion::getMemRegionManager() const { in getMemRegionManager()
163 const SubRegion* r = this; in getMemRegionManager()
166 if (const SubRegion *sr = dyn_cast<SubRegion>(superRegion)) { in getMemRegionManager()
435 void SubRegion::anchor() { } in anchor()
1030 const SubRegion* SR = dyn_cast<SubRegion>(this); in getMemorySpace()
1034 SR = dyn_cast<SubRegion>(R); in getMemorySpace()
1068 R = cast<SubRegion>(R)->getSuperRegion(); in getBaseRegion()
1109 const SubRegion *SubR = dyn_cast<SubRegion>(this); in getSymbolicBase()
[all …]
DSVals.cpp93 while (const SubRegion *SR = dyn_cast<SubRegion>(R)) { in getLocSymbolInBase()
DProgramState.cpp599 if (const SubRegion *SR = dyn_cast<SubRegion>(R)) { in scan()
716 if (const SubRegion *ER = dyn_cast<SubRegion>(Reg)) in isTainted()
DSymbolManager.cpp204 SymbolManager::getExtentSymbol(const SubRegion *R) { in getExtentSymbol()
DSimpleSValBuilder.cpp913 else if (isa<SubRegion>(region)) { in evalBinOpLN()
/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp46 const SubRegion *baseRegion;
53 RegionRawOffsetV2(const SubRegion* base, SVal offset) in RegionRawOffsetV2()
57 const SubRegion *getRegion() const { return baseRegion; } in getRegion()
79 region = cast<SubRegion>(region)->getSuperRegion(); in computeExtentBegin()
276 if (const SubRegion *subReg = dyn_cast<SubRegion>(region)) { in computeOffset()
DCStringChecker.cpp283 const SubRegion *superReg = cast<SubRegion>(ER->getSuperRegion()); in CheckLocation()
1999 while (const SubRegion *SR = dyn_cast<SubRegion>(MR)) { in checkRegionChanges()
2020 while (const SubRegion *SR = dyn_cast<SubRegion>(Super)) { in checkRegionChanges()
/external/llvm/include/llvm/Analysis/
DRegionInfo.h389 bool contains(const Region *SubRegion) const { in contains() argument
394 return contains(SubRegion->getEntry()) in contains()
395 && (contains(SubRegion->getExit()) || SubRegion->getExit() == getExit()); in contains()
461 void addSubRegion(Region *SubRegion, bool moveChildren = false);
468 Region *removeSubRegion(Region *SubRegion);
/external/llvm/lib/Analysis/
DRegionInfo.cpp340 void Region::addSubRegion(Region *SubRegion, bool moveChildren) { in addSubRegion() argument
341 assert(!SubRegion->parent && "SubRegion already has a parent!"); in addSubRegion()
343 return R.get() == SubRegion; in addSubRegion()
347 SubRegion->parent = this; in addSubRegion()
348 children.push_back(std::unique_ptr<Region>(SubRegion)); in addSubRegion()
353 assert(SubRegion->children.size() == 0 in addSubRegion()
360 if (SubRegion->contains(BB)) in addSubRegion()
361 RI->setRegionFor(BB, SubRegion); in addSubRegion()
366 if (SubRegion->contains(I->get()) && I->get() != SubRegion) { in addSubRegion()
367 (*I)->parent = SubRegion; in addSubRegion()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DSymbolManager.h36 class SubRegion; variable
236 const SubRegion *R;
239 SymbolExtent(SymbolID sym, const SubRegion *r) in SymbolExtent()
242 const SubRegion *getRegion() const { return R; } in getRegion()
248 static void Profile(llvm::FoldingSetNodeID& profile, const SubRegion *R) { in Profile()
513 const SymbolExtent *getExtentSymbol(const SubRegion *R);
DMemRegion.h414 class SubRegion : public MemRegion {
419 SubRegion(const MemRegion* sReg, Kind k) : MemRegion(k), superRegion(sReg) {} in SubRegion() function
445 class AllocaRegion : public SubRegion {
453 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {} in AllocaRegion()
476 class TypedRegion : public SubRegion {
480 TypedRegion(const MemRegion* sReg, Kind k) : SubRegion(sReg, k) {} in TypedRegion()
711 class SymbolicRegion : public SubRegion {
717 : SubRegion(sreg, SymbolicRegionKind), sym(s) {} in SymbolicRegion()
/external/llvm/lib/Transforms/Scalar/
DStructurizeCFG.cpp590 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit() local
591 BasicBlock *OldExit = SubRegion->getExit(); in changeExit()
599 if (!SubRegion->contains(BB)) in changeExit()
621 SubRegion->replaceExit(NewExit); in changeExit()