/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 | 277 const SubRegion *superReg = cast<SubRegion>(ER->getSuperRegion()); in CheckLocation() 1885 while (const SubRegion *SR = dyn_cast<SubRegion>(MR)) { in checkRegionChanges() 1906 while (const SubRegion *SR = dyn_cast<SubRegion>(Super)) { in checkRegionChanges()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | RegionStore.cpp | 50 explicit BindingKey(const SubRegion *r, const SubRegion *Base, Kind k) in BindingKey() 74 const SubRegion *getConcreteOffsetRegion() const { in getConcreteOffsetRegion() 76 return reinterpret_cast<const SubRegion *>(static_cast<uintptr_t>(Data)); in getConcreteOffsetRegion() 112 return BindingKey(cast<SubRegion>(R), cast<SubRegion>(RO.getRegion()), k); in Make() 379 const SubRegion *R); 483 SVal getLazyBinding(const SubRegion *LazyBindingRegion, 509 std::pair<Store, const SubRegion *> 510 findLazyBinding(RegionBindingsConstRef B, const SubRegion *R, 511 const SubRegion *originalRegion); 560 if (const SubRegion *R = dyn_cast<SubRegion>(K.getRegion())) { in iterBindings() [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() 433 void SubRegion::anchor() { } in anchor() 968 const SubRegion* SR = dyn_cast<SubRegion>(this); in getMemorySpace() 972 SR = dyn_cast<SubRegion>(R); in getMemorySpace() 1006 R = cast<SubRegion>(R)->getSuperRegion(); in getBaseRegion()
|
D | SimpleConstraintManager.cpp | 85 const SubRegion *SubR = dyn_cast<SubRegion>(R); in assumeAux() 96 SubR = dyn_cast<SubRegion>(SubR->getSuperRegion()); in assumeAux()
|
D | SVals.cpp | 89 while (const SubRegion *SR = dyn_cast<SubRegion>(R)) { in getLocSymbolInBase()
|
D | ProgramState.cpp | 570 if (const SubRegion *SR = dyn_cast<SubRegion>(R)) { in scan() 687 if (const SubRegion *ER = dyn_cast<SubRegion>(Reg)) in isTainted()
|
D | SymbolManager.cpp | 205 SymbolManager::getExtentSymbol(const SubRegion *R) { in getExtentSymbol()
|
D | SimpleSValBuilder.cpp | 926 else if (isa<SubRegion>(region)) { in evalBinOpLN()
|
/external/llvm/include/llvm/Analysis/ |
D | RegionInfo.h | 359 bool contains(const Region *SubRegion) const { in contains() argument 364 return contains(SubRegion->getEntry()) in contains() 365 && (contains(SubRegion->getExit()) || SubRegion->getExit() == getExit()); in contains() 431 void addSubRegion(Region *SubRegion, bool moveChildren = false); 438 Region *removeSubRegion(Region *SubRegion);
|
/external/llvm/lib/Analysis/ |
D | RegionInfo.cpp | 311 void Region::addSubRegion(Region *SubRegion, bool moveChildren) { in addSubRegion() argument 312 assert(SubRegion->parent == 0 && "SubRegion already has a parent!"); in addSubRegion() 313 assert(std::find(begin(), end(), SubRegion) == children.end() in addSubRegion() 316 SubRegion->parent = this; in addSubRegion() 317 children.push_back(SubRegion); in addSubRegion() 322 assert(SubRegion->children.size() == 0 in addSubRegion() 329 if (SubRegion->contains(BB)) in addSubRegion() 330 RI->setRegionFor(BB, SubRegion); in addSubRegion() 335 if (SubRegion->contains(*I) && *I != SubRegion) { in addSubRegion() 336 SubRegion->children.push_back(*I); in addSubRegion() [all …]
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SymbolManager.h | 39 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() 511 const SymbolExtent *getExtentSymbol(const SubRegion *R);
|
D | MemRegion.h | 402 class SubRegion : public MemRegion { 407 SubRegion(const MemRegion* sReg, Kind k) : MemRegion(k), superRegion(sReg) {} in SubRegion() function 433 class AllocaRegion : public SubRegion { 441 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {} in AllocaRegion() 464 class TypedRegion : public SubRegion { 468 TypedRegion(const MemRegion* sReg, Kind k) : SubRegion(sReg, k) {} in TypedRegion() 696 class SymbolicRegion : public SubRegion { 702 : SubRegion(sreg, SymbolicRegionKind), sym(s) {} in SymbolicRegion()
|
/external/llvm/lib/Target/R600/ |
D | AMDGPUStructurizeCFG.cpp | 596 Region *SubRegion = Node->getNodeAs<Region>(); in changeExit() local 597 BasicBlock *OldExit = SubRegion->getExit(); in changeExit() 605 if (!SubRegion->contains(BB)) in changeExit() 627 SubRegion->replaceExit(NewExit); in changeExit()
|