/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Vectorize/ |
VPlanVerifier.cpp | 120 if (const auto *SubRegion = dyn_cast<VPRegionBlock>(VPB)) 121 verifyRegionRec(SubRegion);
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
ArrayBoundCheckerV2.cpp | 46 const SubRegion *baseRegion; 53 RegionRawOffsetV2(const SubRegion* base, SVal offset) 57 const SubRegion *getRegion() const { return baseRegion; } 79 region = cast<SubRegion>(region)->getSuperRegion(); 266 if (const SubRegion *subReg = dyn_cast<SubRegion>(region)) {
|
ObjCSuperDeallocChecker.cpp | 154 while (const SubRegion *SR = dyn_cast<SubRegion>(R)) {
|
ExprInspectionChecker.cpp | 160 auto MR = dyn_cast_or_null<SubRegion>(C.getSVal(CE->getArg(0)).getAsRegion());
|
CStringChecker.cpp | 296 const SubRegion *superReg = cast<SubRegion>(ER->getSuperRegion()); [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
RegionInfo.h | 49 /// selected for SubRegions just one RegionNode containing the subregion is 54 /// @brief A RegionNode represents a subregion or a BasicBlock that is part of a 71 /// Use one bit to save, if this RegionNode is a subregion or BasicBlock 85 /// BasicBlock itself. If it represents a subregion, this 86 /// is the entry BasicBlock of the subregion. 87 /// @param isSubRegion If this RegionNode represents a SubRegion. 104 /// itself, otherwise we return the entry BasicBlock of the Subregion 111 /// This can be either a BasicBlock or a subregion. Before calling getNodeAs() 118 /// @brief Is this RegionNode a subregion? 120 /// @return True if it contains a subregion. False if it contains [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
RegionStore.cpp | 54 explicit BindingKey(const SubRegion *r, const SubRegion *Base, Kind k) 78 const SubRegion *getConcreteOffsetRegion() const { 80 return reinterpret_cast<const SubRegion *>(static_cast<uintptr_t>(Data)); 116 return BindingKey(cast<SubRegion>(R), cast<SubRegion>(RO.getRegion()), k); 401 const SubRegion *R); 418 const SubRegion *SR = cast<SubRegion>(R); 514 SVal getLazyBinding(const SubRegion *LazyBindingRegion [all...] |
MemRegion.cpp | 145 bool SubRegion::isSubRegionOf(const MemRegion* R) const { 150 if (const SubRegion* sr = dyn_cast<SubRegion>(r)) 158 MemRegionManager* SubRegion::getMemRegionManager() const { 159 const SubRegion* r = this; 162 if (const SubRegion *sr = dyn_cast<SubRegion>(superRegion)) { 431 void SubRegion::anchor() { } [all...] |
SVals.cpp | 67 /// When IncludeBaseRegions is set to true and the SubRegion is non-symbolic, 93 while (const SubRegion *SR = dyn_cast<SubRegion>(R)) {
|
SymbolManager.cpp | 204 SymbolManager::getExtentSymbol(const SubRegion *R) { 398 for (auto SR = dyn_cast<SubRegion>(region); SR; 399 SR = dyn_cast<SubRegion>(SR->getSuperRegion())) {
|
ProgramState.cpp | 598 // If this is a subregion, also visit the parent regions. 599 if (const SubRegion *SR = dyn_cast<SubRegion>(R)) { 716 if (const SubRegion *ER = dyn_cast<SubRegion>(Reg))
|
SimpleSValBuilder.cpp | [all...] |
/external/llvm/include/llvm/Analysis/ |
RegionInfoImpl.h | 376 void RegionBase<Tr>::addSubRegion(RegionT *SubRegion, bool moveChildren) { 377 assert(!SubRegion->parent && "SubRegion already has a parent!"); 379 return R.get() == SubRegion; 381 "Subregion already exists!"); 383 SubRegion->parent = static_cast<RegionT *>(this); 384 children.push_back(std::unique_ptr<RegionT>(SubRegion)); 389 assert(SubRegion->children.empty() && 396 if (SubRegion->contains(BB)) 397 RI->setRegionFor(BB, SubRegion); [all...] |
RegionInfo.h | 103 /// selected for SubRegions just one RegionNode containing the subregion is 108 /// @brief A RegionNode represents a subregion or a BasicBlock that is part of a 130 /// Use one bit to save, if this RegionNode is a subregion or BasicBlock 144 /// BasicBlock itself. If it represents a subregion, this 145 /// is the entry BasicBlock of the subregion. 146 /// @param isSubRegion If this RegionNode represents a SubRegion. 165 /// itself, otherwise we return the entry BasicBlock of the Subregion 172 /// This can be either a BasicBlock or a subregion. Before calling getNodeAs() 178 /// @brief Is this RegionNode a subregion? 180 /// @return True if it contains a subregion. False if it contains [all...] |
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
RegionInfo.cpp | 330 void Region::addSubRegion(Region *SubRegion, bool moveChildren) { 331 assert(SubRegion->parent == 0 && "SubRegion already has a parent!"); 332 assert(std::find(begin(), end(), SubRegion) == children.end() 333 && "Subregion already exists!"); 335 SubRegion->parent = this; 336 children.push_back(SubRegion); 341 assert(SubRegion->children.size() == 0 348 if (SubRegion->contains(BB)) 349 RI->setRegionFor(BB, SubRegion); [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
RegionInfoImpl.h | 394 void RegionBase<Tr>::addSubRegion(RegionT *SubRegion, bool moveChildren) { 395 assert(!SubRegion->parent && "SubRegion already has a parent!"); 398 return R.get() == SubRegion; 400 "Subregion already exists!"); 402 SubRegion->parent = static_cast<RegionT *>(this); 403 children.push_back(std::unique_ptr<RegionT>(SubRegion)); 408 assert(SubRegion->children.empty() && 415 if (SubRegion->contains(BB)) 416 RI->setRegionFor(BB, SubRegion); [all...] |
RegionInfo.h | 111 /// selected for SubRegions just one RegionNode containing the subregion is 116 /// A RegionNode represents a subregion or a BasicBlock that is part of a 135 /// Use one bit to save, if this RegionNode is a subregion or BasicBlock 149 /// BasicBlock itself. If it represents a subregion, this 150 /// is the entry BasicBlock of the subregion. 151 /// @param isSubRegion If this RegionNode represents a SubRegion. 173 /// itself, otherwise we return the entry BasicBlock of the Subregion 180 /// This can be either a BasicBlock or a subregion. Before calling getNodeAs() 186 /// Is this RegionNode a subregion? 188 /// @return True if it contains a subregion. False if it contains [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
SymbolManager.h | 37 class SubRegion; 152 /// SubRegion::getExtent instead -- the value returned may not be a symbol. 154 const SubRegion *R; 157 SymbolExtent(SymbolID sym, const SubRegion *r) 160 const SubRegion *getRegion() const { return R; } 166 static void Profile(llvm::FoldingSetNodeID& profile, const SubRegion *R) { 431 const SymbolExtent *getExtentSymbol(const SubRegion *R);
|
MemRegion.h | 105 /// Check if the region is a subregion of the given region. 408 /// SubRegion - A region that subsets another larger region. Most regions 409 /// are subclasses of SubRegion. 410 class SubRegion : public MemRegion { 415 SubRegion(const MemRegion* sReg, Kind k) : MemRegion(k), superRegion(sReg) {} 441 class AllocaRegion : public SubRegion { 449 : SubRegion(superRegion, AllocaRegionKind), Cnt(cnt), Ex(ex) {} 472 class TypedRegion : public SubRegion { 476 TypedRegion(const MemRegion* sReg, Kind k) : SubRegion(sReg, k) {} 707 class SymbolicRegion : public SubRegion { [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
StructurizeCFG.cpp | 146 /// 4 | 2 = "Then" subregion, runs if the condition is true 148 /// |/ 4 = "Else" optional subregion, runs if the condition is false 166 /// |/ 2 = "Loop" optional subregion, with all exits at "Flow" block 307 /// Use the exit block to determine the loop if RN is a SubRegion. 310 Region *SubRegion = RN->getNodeAs<Region>(); 311 return LI->getLoopFor(SubRegion->getExit()); 317 /// Use the exit block to determine the loop depth if RN is a SubRegion. 488 // Edge from inside a subregion to its entry, ignore it 515 << (RN->isSubRegion() ? "SubRegion with entry: " : "") 656 Region *SubRegion = Node->getNodeAs<Region>() [all...] |
/external/llvm/lib/Transforms/Scalar/ |
StructurizeCFG.cpp | 135 /// 4 | 2 = "Then" subregion, runs if the condition is true 137 /// |/ 4 = "Else" optional subregion, runs if the condition is false 155 /// |/ 2 = "Loop" optional subregion, with all exits at "Flow" block 479 // Edge from inside a subregion to its entry, ignore it 507 << (RN->isSubRegion() ? "SubRegion with entry: " : "") 657 Region *SubRegion = Node->getNodeAs<Region>(); 658 BasicBlock *OldExit = SubRegion->getExit(); 666 if (!SubRegion->contains(BB)) 688 SubRegion->replaceExit(NewExit);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
AMDGPUMachineCFGStructurizer.cpp | 833 LinearizedRegion *SubRegion = CI->getRegionMRT()->getLinearizedRegion(); 836 for (auto MBBI : SubRegion->MBBs) { [all...] |