Home
last modified time | relevance | path

Searched refs:InputFunctions (Results 1 – 2 of 2) sorted by relevance

/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp102 std::vector<InputFunctionCoverageData> InputFunctions; member
130 InputFunctions.back().ReverseVirtualFileMapping; in getFileIndexForFunction()
141 InputFunctions.emplace_back(FuncName.str(), Hash); in startFunction()
146 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeRegion( in addCMR()
152 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeExpansion( in addExpansionCMR()
179 OutputFunctions.resize(InputFunctions.size()); in writeAndReadCoverageRegions()
180 for (unsigned I = 0; I < InputFunctions.size(); ++I) { in writeAndReadCoverageRegions()
181 std::string Regions = writeCoverageRegions(InputFunctions[I]); in writeAndReadCoverageRegions()
183 OutputFunctions[I].Name = InputFunctions[I].Name; in writeAndReadCoverageRegions()
184 OutputFunctions[I].Hash = InputFunctions[I].Hash; in writeAndReadCoverageRegions()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp133 std::vector<InputFunctionCoverageData> InputFunctions; member
162 InputFunctions.back().ReverseVirtualFileMapping; in getFileIndexForFunction()
173 InputFunctions.emplace_back(FuncName.str(), Hash); in startFunction()
178 auto &Regions = InputFunctions.back().Regions; in addCMR()
187 InputFunctions.back().Regions.push_back(CounterMappingRegion::makeExpansion( in addExpansionCMR()
214 OutputFunctions.resize(InputFunctions.size()); in writeAndReadCoverageRegions()
215 for (unsigned I = 0; I < InputFunctions.size(); ++I) { in writeAndReadCoverageRegions()
216 std::string Regions = writeCoverageRegions(InputFunctions[I]); in writeAndReadCoverageRegions()
218 OutputFunctions[I].Name = InputFunctions[I].Name; in writeAndReadCoverageRegions()
219 OutputFunctions[I].Hash = InputFunctions[I].Hash; in writeAndReadCoverageRegions()
[all …]