Searched refs:SubRegion (Results 1 – 13 of 13) sorted by relevance
/external/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 52 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 …]
|
D | MemRegion.cpp | 149 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 …]
|
D | SVals.cpp | 93 while (const SubRegion *SR = dyn_cast<SubRegion>(R)) { in getLocSymbolInBase()
|
D | ProgramState.cpp | 599 if (const SubRegion *SR = dyn_cast<SubRegion>(R)) { in scan() 716 if (const SubRegion *ER = dyn_cast<SubRegion>(Reg)) in isTainted()
|
D | SymbolManager.cpp | 204 SymbolManager::getExtentSymbol(const SubRegion *R) { in getExtentSymbol()
|
D | SimpleSValBuilder.cpp | 913 else if (isa<SubRegion>(region)) { in evalBinOpLN()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | ArrayBoundCheckerV2.cpp | 46 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()
|
D | CStringChecker.cpp | 283 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/ |
D | RegionInfo.h | 389 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/ |
D | RegionInfo.cpp | 340 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/ |
D | SymbolManager.h | 36 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);
|
D | MemRegion.h | 414 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/ |
D | StructurizeCFG.cpp | 590 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()
|