/external/llvm/lib/CodeGen/ |
D | SafeStackLayout.cpp | 26 for (unsigned i = 0; i < Regions.size(); ++i) { in print() 27 OS << " " << i << ": [" << Regions[i].Start << ", " << Regions[i].End in print() 28 << "), range " << Regions[i].Range << "\n"; in print() 51 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End; in layoutObject() 54 Regions.emplace_back(Start, End, Obj.Range); in layoutObject() 65 for (const StackRegion &R : Regions) { in layoutObject() 87 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End; in layoutObject() 93 Regions.emplace_back(LastRegionEnd, Start, StackColoring::LiveRange()); in layoutObject() 98 Regions.emplace_back(LastRegionEnd, End, Obj.Range); in layoutObject() 103 for (unsigned i = 0; i < Regions.size(); ++i) { in layoutObject() [all …]
|
D | SafeStackLayout.h | 31 SmallVector<StackRegion, 16> Regions; variable 58 unsigned getFrameSize() { return Regions.empty() ? 0 : Regions.back().End; } in getFrameSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | SafeStackLayout.cpp | 32 for (unsigned i = 0; i < Regions.size(); ++i) { in print() 33 OS << " " << i << ": [" << Regions[i].Start << ", " << Regions[i].End in print() 34 << "), range " << Regions[i].Range << "\n"; in print() 58 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End; in layoutObject() 61 Regions.emplace_back(Start, End, Obj.Range); in layoutObject() 72 for (const StackRegion &R : Regions) { in layoutObject() 94 unsigned LastRegionEnd = Regions.empty() ? 0 : Regions.back().End; in layoutObject() 100 Regions.emplace_back(LastRegionEnd, Start, StackColoring::LiveRange()); in layoutObject() 105 Regions.emplace_back(LastRegionEnd, End, Obj.Range); in layoutObject() 110 for (unsigned i = 0; i < Regions.size(); ++i) { in layoutObject() [all …]
|
D | SafeStackLayout.h | 39 SmallVector<StackRegion, 16> Regions; variable 72 unsigned getFrameSize() { return Regions.empty() ? 0 : Regions.back().End; } in getFrameSize()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-mca/ |
D | CodeRegion.cpp | 30 assert(!Regions.empty() && "Missing Default region"); in beginRegion() 31 const CodeRegion &CurrentRegion = *Regions.back(); in beginRegion() 40 Regions.erase(Regions.begin()); in beginRegion() 45 assert(!Regions.empty() && "Missing Default region"); in endRegion() 46 CodeRegion &CurrentRegion = *Regions.back(); in endRegion() 58 std::find_if(Regions.rbegin(), Regions.rend(), in addInstruction() 62 if (It != Regions.rend()) in addInstruction()
|
D | CodeRegion.h | 87 std::vector<std::unique_ptr<CodeRegion>> Regions; variable 91 Regions.emplace_back(llvm::make_unique<CodeRegion>(Description, Loc)); in addRegion() 102 iterator begin() { return Regions.begin(); } in begin() 103 iterator end() { return Regions.end(); } in end() 104 const_iterator begin() const { return Regions.cbegin(); } in begin() 105 const_iterator end() const { return Regions.cend(); } in end() 118 return Regions[Idx]->getInstructions(); in getInstructionSequence() 122 return std::all_of(Regions.begin(), Regions.end(), in empty()
|
D | llvm-mca.cpp | 205 mca::CodeRegions &Regions; member in __anon32e1a2a50111::MCACommentConsumer 207 MCACommentConsumer(mca::CodeRegions &R) : Regions(R) {} in MCACommentConsumer() 222 Regions.endRegion(Loc); in HandleComment() 235 Regions.beginRegion(Comment, Loc); in HandleComment() 266 mca::CodeRegions &Regions; member in __anon32e1a2a50111::MCStreamerWrapper 270 : MCStreamer(Context), Regions(R) {} in MCStreamerWrapper() 275 Regions.addInstruction(llvm::make_unique<const MCInst>(Inst)); in EmitInstruction() 295 return Regions.getInstructionSequence(Index); in GetInstructionSequence() 387 mca::CodeRegions Regions(SrcMgr); in main() local 388 MCStreamerWrapper Str(Ctx, Regions); in main() [all …]
|
/external/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 56 std::vector<CounterMappingRegion> Regions; member 63 Record.MappingRegions = Regions; in fillCoverageMappingRecord() 94 std::vector<CounterMappingRegion> Regions; member 146 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeRegion( in addCMR() 152 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeExpansion( in addExpansionCMR() 163 CoverageMappingWriter(FileIDs, None, Data.Regions).write(OS); in writeCoverageRegions() 174 Expressions, Data.Regions); in readCoverageRegions() 181 std::string Regions = writeCoverageRegions(InputFunctions[I]); in writeAndReadCoverageRegions() local 182 readCoverageRegions(Regions, OutputFunctions[I]); in writeAndReadCoverageRegions() 231 size_t N = makeArrayRef(Input.Regions).size(); in TEST_P() [all …]
|
/external/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 325 void buildSegmentsImpl(ArrayRef<CountedRegion> Regions) { in buildSegmentsImpl() argument 326 for (const auto &Region : Regions) { in buildSegmentsImpl() 341 static void sortNestedRegions(MutableArrayRef<CountedRegion> Regions) { in sortNestedRegions() argument 342 std::sort(Regions.begin(), Regions.end(), [](const CountedRegion &LHS, in sortNestedRegions() 365 combineRegions(MutableArrayRef<CountedRegion> Regions) { in combineRegions() argument 366 if (Regions.empty()) in combineRegions() 367 return Regions; in combineRegions() 368 auto Active = Regions.begin(); in combineRegions() 369 auto End = Regions.end(); in combineRegions() 370 for (auto I = Regions.begin() + 1; I != End; ++I) { in combineRegions() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMapping.cpp | 417 void buildSegmentsImpl(ArrayRef<CountedRegion> Regions) { in buildSegmentsImpl() argument 418 for (const auto &CR : enumerate(Regions)) { in buildSegmentsImpl() 439 const bool Skipped = (CR.index() + 1) == Regions.size(); in buildSegmentsImpl() 444 if (CR.index() + 1 == Regions.size() || in buildSegmentsImpl() 445 CurStartLoc != Regions[CR.index() + 1].startLoc()) { in buildSegmentsImpl() 461 static void sortNestedRegions(MutableArrayRef<CountedRegion> Regions) { in sortNestedRegions() argument 462 llvm::sort(Regions.begin(), Regions.end(), [](const CountedRegion &LHS, in sortNestedRegions() 485 combineRegions(MutableArrayRef<CountedRegion> Regions) { in combineRegions() argument 486 if (Regions.empty()) in combineRegions() 487 return Regions; in combineRegions() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/ |
D | CoverageMappingTest.cpp | 65 std::vector<CounterMappingRegion> Regions; member 71 Regions(std::move(OFCD.Regions)) {} in OutputFunctionCoverageData() 83 Record.MappingRegions = Regions; in fillCoverageMappingRecord() 114 std::vector<CounterMappingRegion> Regions; member 122 Regions(std::move(IFCD.Regions)) {} in InputFunctionCoverageData() 178 auto &Regions = InputFunctions.back().Regions; in addCMR() local 180 Regions.push_back( in addCMR() 187 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeExpansion( in addExpansionCMR() 198 CoverageMappingWriter(FileIDs, None, Data.Regions).write(OS); in writeCoverageRegions() 209 Expressions, Data.Regions); in readCoverageRegions() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | GCNIterativeScheduler.cpp | 112 for (const auto R : Regions) { in printRegions() 306 Regions.push_back( in enterRegion() 316 if (!Regions.empty() && Regions.back()->Begin == RegionBegin) { in schedule() 318 Regions.back()->MaxPressure.print( in schedule() 325 if (Regions.empty()) in finalizeSchedule() 437 llvm::sort(Regions.begin(), Regions.end(), in sortRegionsByPressure() 455 const auto Occ = Regions.front()->MaxPressure.getOccupancy(ST); in tryMaximizeOccupancy() 460 for (auto R : Regions) { in tryMaximizeOccupancy() 496 auto Occ = Regions.front()->MaxPressure.getOccupancy(ST); in scheduleLegacyMaxOccupancy() 516 for (auto R : Regions) { in scheduleLegacyMaxOccupancy() [all …]
|
D | GCNSchedStrategy.cpp | 308 Regions.push_back(std::make_pair(RegionBegin, RegionEnd)); in schedule() 331 Regions[RegionIdx] = std::make_pair(RegionBegin, RegionEnd); in schedule() 411 Regions[RegionIdx] = std::make_pair(RegionBegin, RegionEnd); in schedule() 437 for (size_t E = Regions.size(); CurRegion != E; ++CurRegion) in computeBlockPressure() 438 if (Regions[CurRegion].first->getParent() != MBB) in computeBlockPressure() 449 I = Regions[CurRegion].first; in computeBlockPressure() 456 if (Regions[CurRegion].first == I) { in computeBlockPressure() 461 if (Regions[CurRegion].second == I) { in computeBlockPressure() 485 LiveIns.resize(Regions.size()); in finalizeSchedule() 486 Pressure.resize(Regions.size()); in finalizeSchedule() [all …]
|
D | GCNSchedStrategy.h | 83 MachineBasicBlock::iterator>, 32> Regions; variable
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | LoopWidening.cpp | 54 const MemRegion *Regions[] = {MRMgr.getStackLocalsRegion(STC), in getWidenedLoopState() local 58 for (auto *Region : Regions) { in getWidenedLoopState() 62 return PrevState->invalidateRegions(Regions, getLoopCondition(LoopStmt), in getWidenedLoopState()
|
D | MemRegion.cpp | 44 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, in getRegion() 50 Regions.InsertNode(R, InsertPos); in getRegion() 62 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, in getSubRegion() 68 Regions.InsertNode(R, InsertPos); in getSubRegion() 82 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, in getRegion() 88 Regions.InsertNode(R, InsertPos); in getRegion() 100 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, in getSubRegion() 106 Regions.InsertNode(R, InsertPos); in getSubRegion() 118 RegionTy* R = cast_or_null<RegionTy>(Regions.FindNodeOrInsertPos(ID, in getSubRegion() 124 Regions.InsertNode(R, InsertPos); in getSubRegion() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/ |
D | MCMachOStreamer.cpp | 219 std::vector<DataRegionData> &Regions = getAssembler().getDataRegions(); in EmitDataRegion() local 220 Regions.push_back(Data); in EmitDataRegion() 224 std::vector<DataRegionData> &Regions = getAssembler().getDataRegions(); in EmitDataRegionEnd() local 225 assert(!Regions.empty() && "Mismatched .end_data_region!"); in EmitDataRegionEnd() 226 DataRegionData &Data = Regions.back(); in EmitDataRegionEnd()
|
/external/llvm/lib/MC/ |
D | MCMachOStreamer.cpp | 222 std::vector<DataRegionData> &Regions = getAssembler().getDataRegions(); in EmitDataRegion() local 223 Regions.push_back(Data); in EmitDataRegion() 227 std::vector<DataRegionData> &Regions = getAssembler().getDataRegions(); in EmitDataRegionEnd() local 228 assert(!Regions.empty() && "Mismatched .end_data_region!"); in EmitDataRegionEnd() 229 DataRegionData &Data = Regions.back(); in EmitDataRegionEnd()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-cov/ |
D | multiple-objects.test | 5 REPORT: Filename{{ +}}Regions{{ +}}Missed Regions{{ +}}Cover
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SubEngine.h | 136 ArrayRef<const MemRegion *> Regions, 153 ArrayRef<const MemRegion *> Regions,
|
/external/syzkaller/pkg/report/testdata/akaros/report/ |
D | 3 | 32 VM Regions for proc 540 79 VM Regions for proc 540 126 VM Regions for proc 506
|
/external/clang/include/clang/StaticAnalyzer/Core/BugReporter/ |
D | BugReporter.h | 87 typedef llvm::DenseSet<const MemRegion *> Regions; typedef 101 SmallVector<Regions *, 2> interestingRegions; 139 Regions &getInterestingRegions();
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/ |
D | CoverageExporterJson.cpp | 310 ArrayRef<coverage::CountedRegion> Regions) { in renderRegions() argument 314 for (const auto &Region : Regions) in renderRegions()
|
D | CoverageExporterJson.h | 91 void renderRegions(ArrayRef<coverage::CountedRegion> Regions);
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | RegionInfo.cpp | 796 RegionInfo::getCommonRegion(SmallVectorImpl<Region*> &Regions) const { in getCommonRegion() 797 Region* ret = Regions.back(); in getCommonRegion() 798 Regions.pop_back(); in getCommonRegion() 800 for (SmallVectorImpl<Region*>::const_iterator I = Regions.begin(), in getCommonRegion() 801 E = Regions.end(); I != E; ++I) in getCommonRegion()
|