Home
last modified time | relevance | path

Searched refs:NumRegions (Results 1 – 8 of 8) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h29 size_t NumRegions; variable
32 RegionCoverageInfo() : Covered(0), NumRegions(0) {} in RegionCoverageInfo()
34 RegionCoverageInfo(size_t Covered, size_t NumRegions) in RegionCoverageInfo() argument
35 : Covered(Covered), NumRegions(NumRegions) { in RegionCoverageInfo()
36 assert(Covered <= NumRegions && "Covered regions over-counted"); in RegionCoverageInfo()
41 NumRegions += RHS.NumRegions;
47 NumRegions = std::max(NumRegions, RHS.NumRegions); in merge()
52 size_t getNumRegions() const { return NumRegions; } in getNumRegions()
54 bool isFullyCovered() const { return Covered == NumRegions; } in isFullyCovered()
57 assert(Covered <= NumRegions && "Covered regions over-counted"); in getPercentCovered()
[all …]
/external/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h32 size_t NumRegions; member
34 RegionCoverageInfo() : Covered(0), NotCovered(0), NumRegions(0) {} in RegionCoverageInfo()
36 RegionCoverageInfo(size_t Covered, size_t NumRegions) in RegionCoverageInfo()
37 : Covered(Covered), NotCovered(NumRegions - Covered), in RegionCoverageInfo()
38 NumRegions(NumRegions) {} in RegionCoverageInfo()
43 NumRegions += RHS.NumRegions;
47 bool isFullyCovered() const { return Covered == NumRegions; } in isFullyCovered()
50 if (NumRegions == 0) in getPercentCovered()
52 return double(Covered) / double(NumRegions) * 100.0; in getPercentCovered()
DCoverageReport.cpp128 (unsigned)File.RegionCoverage.NumRegions); in render()
150 (unsigned)Function.RegionCoverage.NumRegions); in render()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp142 uint64_t NumRegions; in readMappingRegionsSubArray() local
143 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray()
146 for (size_t I = 0; I < NumRegions; ++I) { in readMappingRegionsSubArray()
314 uint64_t NumRegions; in isDummy() local
315 if (Error Err = readSize(NumRegions)) in isDummy()
317 if (NumRegions != 1) in isDummy()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp156 uint64_t NumRegions; in readMappingRegionsSubArray() local
157 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray()
160 for (size_t I = 0; I < NumRegions; ++I) { in readMappingRegionsSubArray()
337 uint64_t NumRegions; in isDummy() local
338 if (Error Err = readSize(NumRegions)) in isDummy()
340 if (NumRegions != 1) in isDummy()
/external/scudo/standalone/
Dprimary32.h72 MinRegionIndex = NumRegions; // MaxRegionIndex is already initialized to 0. in initLinkerInitialized()
215 static const uptr NumRegions = SCUDO_MMAP_RANGE_SIZE >> RegionSizeLog; variable
217 typedef FlatByteMap<NumRegions> ByteMap;
246 CHECK_LT(Id, NumRegions); in computeRegionId()
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp686 unsigned NumRegions = LLC.datasize / sizeof(MachO::data_in_code_entry); in printMachODataInCode() local
687 for (unsigned i = 0; i < NumRegions; ++i) { in printMachODataInCode()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/
DMachODumper.cpp715 unsigned NumRegions = LLC.datasize / sizeof(MachO::data_in_code_entry); in printMachODataInCode() local
716 for (unsigned i = 0; i < NumRegions; ++i) { in printMachODataInCode()