Home
last modified time | relevance | path

Searched refs:MappingRegions (Results 1 – 7 of 7) 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/clang/lib/CodeGen/
DCoverageMappingGen.cpp90 llvm::SmallVector<CounterMappingRegion, 32> MappingRegions; member in __anon2af6aa710111::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/unittests/ProfileData/
DCoverageMappingTest.cpp63 Record.MappingRegions = Regions; in fillCoverageMappingRecord()