Home
last modified time | relevance | path

Searched refs:MappingRegions (Results 1 – 19 of 19) sorted by relevance

/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingWriter.h43 MutableArrayRef<CounterMappingRegion> MappingRegions; variable
48 MutableArrayRef<CounterMappingRegion> MappingRegions) in CoverageMappingWriter() argument
50 MappingRegions(MappingRegions) {} in CoverageMappingWriter()
53 MutableArrayRef<CounterMappingRegion> MappingRegions) in CoverageMappingWriter() argument
54 : Expressions(Expressions), MappingRegions(MappingRegions) {} in CoverageMappingWriter()
DCoverageMappingReader.h39 ArrayRef<CounterMappingRegion> MappingRegions; member
121 std::vector<CounterMappingRegion> &MappingRegions; variable
132 std::vector<CounterMappingRegion> &MappingRegions) in RawCoverageMappingReader() argument
136 MappingRegions(MappingRegions) {} in RawCoverageMappingReader()
144 readMappingRegionsSubArray(std::vector<CounterMappingRegion> &MappingRegions,
175 std::vector<CounterMappingRegion> MappingRegions; variable
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingWriter.cpp58 ArrayRef<CounterMappingRegion> MappingRegions) in CounterExpressionsMinimizer() argument
61 for (const auto &I : MappingRegions) in CounterExpressionsMinimizer()
63 for (const auto &I : MappingRegions) in CounterExpressionsMinimizer()
112 std::stable_sort(MappingRegions.begin(), MappingRegions.end()); in write()
120 CounterExpressionsMinimizer Minimizer(Expressions, MappingRegions); in write()
133 for (auto I = MappingRegions.begin(), E = MappingRegions.end(); I != E; ++I) { in write()
DCoverageMappingReader.cpp140 std::vector<CounterMappingRegion> &MappingRegions, unsigned InferredFileID, in readMappingRegionsSubArray() argument
221 MappingRegions.push_back(CounterMappingRegion( in readMappingRegionsSubArray()
267 if (auto Err = readMappingRegionsSubArray(MappingRegions, InferredFileID, in read()
280 for (auto &R : MappingRegions) { in read()
286 for (auto &R : MappingRegions) { in read()
692 MappingRegions.clear(); in readNextRecord()
697 FunctionsFilenames, Expressions, MappingRegions); in readNextRecord()
705 Record.MappingRegions = MappingRegions; in readNextRecord()
DCoverageMapping.cpp204 Counts.assign(Record.MappingRegions.size(), 0); in load()
208 assert(!Record.MappingRegions.empty() && "Function has no regions"); in load()
217 for (const auto &Region : Record.MappingRegions) { in load()
225 if (Function.CountedRegions.size() != Record.MappingRegions.size()) { in load()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingWriter.h43 MutableArrayRef<CounterMappingRegion> MappingRegions; variable
48 MutableArrayRef<CounterMappingRegion> MappingRegions) in CoverageMappingWriter() argument
50 MappingRegions(MappingRegions) {} in CoverageMappingWriter()
DCoverageMappingReader.h40 ArrayRef<CounterMappingRegion> MappingRegions; member
145 std::vector<CounterMappingRegion> &MappingRegions; variable
152 std::vector<CounterMappingRegion> &MappingRegions) in RawCoverageMappingReader() argument
156 MappingRegions(MappingRegions) {} in RawCoverageMappingReader()
167 readMappingRegionsSubArray(std::vector<CounterMappingRegion> &MappingRegions,
198 std::vector<CounterMappingRegion> MappingRegions; variable
/external/llvm-project/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingWriter.h44 MutableArrayRef<CounterMappingRegion> MappingRegions; variable
49 MutableArrayRef<CounterMappingRegion> MappingRegions) in CoverageMappingWriter() argument
51 MappingRegions(MappingRegions) {} in CoverageMappingWriter()
DCoverageMappingReader.h40 ArrayRef<CounterMappingRegion> MappingRegions; member
131 std::vector<CounterMappingRegion> &MappingRegions; variable
138 std::vector<CounterMappingRegion> &MappingRegions) in RawCoverageMappingReader() argument
142 MappingRegions(MappingRegions) {} in RawCoverageMappingReader()
153 readMappingRegionsSubArray(std::vector<CounterMappingRegion> &MappingRegions,
186 std::vector<CounterMappingRegion> MappingRegions; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingWriter.cpp56 ArrayRef<CounterMappingRegion> MappingRegions) in CounterExpressionsMinimizer() argument
59 for (const auto &I : MappingRegions) in CounterExpressionsMinimizer()
61 for (const auto &I : MappingRegions) in CounterExpressionsMinimizer()
129 assert(all_of(MappingRegions, in write()
137 llvm::stable_sort(MappingRegions, [](const CounterMappingRegion &LHS, in write()
152 CounterExpressionsMinimizer Minimizer(Expressions, MappingRegions); in write()
165 for (auto I = MappingRegions.begin(), E = MappingRegions.end(); I != E; ++I) { in write()
DCoverageMappingReader.cpp154 std::vector<CounterMappingRegion> &MappingRegions, unsigned InferredFileID, in readMappingRegionsSubArray() argument
247 MappingRegions.push_back(CMR); in readMappingRegionsSubArray()
290 if (auto Err = readMappingRegionsSubArray(MappingRegions, InferredFileID, in read()
303 for (auto &R : MappingRegions) { in read()
309 for (auto &R : MappingRegions) { in read()
814 MappingRegions.clear(); in readNextRecord()
819 FunctionsFilenames, Expressions, MappingRegions); in readNextRecord()
827 Record.MappingRegions = MappingRegions; in readNextRecord()
DCoverageMapping.cpp229 Counts.assign(Record.MappingRegions.size(), 0); in loadFunctionRecord()
233 assert(!Record.MappingRegions.empty() && "Function has no regions"); in loadFunctionRecord()
240 if (Record.MappingRegions.size() == 1 && in loadFunctionRecord()
241 Record.MappingRegions[0].Count.isZero() && Counts[0] > 0) in loadFunctionRecord()
245 for (const auto &Region : Record.MappingRegions) { in loadFunctionRecord()
/external/llvm-project/llvm/lib/ProfileData/Coverage/
DCoverageMappingWriter.cpp80 ArrayRef<CounterMappingRegion> MappingRegions) in CounterExpressionsMinimizer() argument
83 for (const auto &I : MappingRegions) in CounterExpressionsMinimizer()
85 for (const auto &I : MappingRegions) in CounterExpressionsMinimizer()
153 assert(all_of(MappingRegions, in write()
161 llvm::stable_sort(MappingRegions, [](const CounterMappingRegion &LHS, in write()
176 CounterExpressionsMinimizer Minimizer(Expressions, MappingRegions); in write()
189 for (auto I = MappingRegions.begin(), E = MappingRegions.end(); I != E; ++I) { in write()
DCoverageMappingReader.cpp209 std::vector<CounterMappingRegion> &MappingRegions, unsigned InferredFileID, in readMappingRegionsSubArray() argument
302 MappingRegions.push_back(CMR); in readMappingRegionsSubArray()
345 if (auto Err = readMappingRegionsSubArray(MappingRegions, InferredFileID, in read()
358 for (auto &R : MappingRegions) { in read()
364 for (auto &R : MappingRegions) { in read()
1052 MappingRegions.clear(); in readNextRecord()
1057 FunctionsFilenames, Expressions, MappingRegions); in readNextRecord()
1065 Record.MappingRegions = MappingRegions; in readNextRecord()
DCoverageMapping.cpp230 Counts.assign(Record.MappingRegions.size(), 0); in loadFunctionRecord()
234 assert(!Record.MappingRegions.empty() && "Function has no regions"); in loadFunctionRecord()
241 if (Record.MappingRegions.size() == 1 && in loadFunctionRecord()
242 Record.MappingRegions[0].Count.isZero() && Counts[0] > 0) in loadFunctionRecord()
246 for (const auto &Region : Record.MappingRegions) { in loadFunctionRecord()
/external/clang/lib/CodeGen/
DCoverageMappingGen.cpp90 llvm::SmallVector<CounterMappingRegion, 32> MappingRegions; member in __anon89523c590111::CoverageMappingBuilder
218 for (const auto &R : MappingRegions) { in gatherSkippedRegions()
245 MappingRegions.push_back(Region); in gatherSkippedRegions()
278 MappingRegions.push_back(CounterMappingRegion::makeRegion( in emitSourceRegions()
307 MappingRegions.push_back(CounterMappingRegion::makeExpansion( in emitExpansionRegions()
354 CoverageMappingWriter Writer(FileIDMapping, None, MappingRegions); in write()
608 MappingRegions); in write()
/external/llvm-project/clang/lib/CodeGen/
DCoverageMappingGen.cpp199 llvm::SmallVector<CounterMappingRegion, 32> MappingRegions; member in __anon8ce2bf070211::CoverageMappingBuilder
358 for (const auto &R : MappingRegions) { in gatherSkippedRegions()
387 MappingRegions.push_back(Region); in gatherSkippedRegions()
425 MappingRegions.push_back(CounterMappingRegion::makeGapRegion( in emitSourceRegions()
429 MappingRegions.push_back(CounterMappingRegion::makeRegion( in emitSourceRegions()
458 MappingRegions.push_back(CounterMappingRegion::makeExpansion( in emitExpansionRegions()
506 if (MappingRegions.empty()) in write()
509 CoverageMappingWriter Writer(FileIDMapping, None, MappingRegions); in write()
937 if (MappingRegions.empty()) in write()
941 MappingRegions); in write()
/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp63 Record.MappingRegions = Regions; in fillCoverageMappingRecord()
/external/llvm-project/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp82 Record.MappingRegions = Regions; in fillCoverageMappingRecord()