Home
last modified time | relevance | path

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

/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.cpp277 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/
DRegionStore.cpp50 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 …]
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()
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()
DSimpleConstraintManager.cpp85 const SubRegion *SubR = dyn_cast<SubRegion>(R); in assumeAux()
96 SubR = dyn_cast<SubRegion>(SubR->getSuperRegion()); in assumeAux()
DSVals.cpp89 while (const SubRegion *SR = dyn_cast<SubRegion>(R)) { in getLocSymbolInBase()
DProgramState.cpp570 if (const SubRegion *SR = dyn_cast<SubRegion>(R)) { in scan()
687 if (const SubRegion *ER = dyn_cast<SubRegion>(Reg)) in isTainted()
DSymbolManager.cpp205 SymbolManager::getExtentSymbol(const SubRegion *R) { in getExtentSymbol()
DSimpleSValBuilder.cpp926 else if (isa<SubRegion>(region)) { in evalBinOpLN()
/external/llvm/include/llvm/Analysis/
DRegionInfo.h359 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/
DRegionInfo.cpp311 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/
DSymbolManager.h39 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);
DMemRegion.h402 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/
DAMDGPUStructurizeCFG.cpp596 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()