Home
last modified time | relevance | path

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

/external/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp103 std::vector<OutputFunctionCoverageData> OutputFunctions; member
179 OutputFunctions.resize(InputFunctions.size()); in writeAndReadCoverageRegions()
182 readCoverageRegions(Regions, OutputFunctions[I]); in writeAndReadCoverageRegions()
183 OutputFunctions[I].Name = InputFunctions[I].Name; in writeAndReadCoverageRegions()
184 OutputFunctions[I].Hash = InputFunctions[I].Hash; in writeAndReadCoverageRegions()
186 OutputFunctions[I].Filenames.clear(); in writeAndReadCoverageRegions()
201 CoverageMappingReaderMock CovReader(OutputFunctions); in loadCoverageMapping()
227 ASSERT_EQ(1u, OutputFunctions.size()); in TEST_P()
229 OutputFunctionCoverageData &Output = OutputFunctions.back(); in TEST_P()
254 ASSERT_EQ(1u, OutputFunctions.size()); in TEST_P()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DCoverageMappingTest.cpp134 std::vector<OutputFunctionCoverageData> OutputFunctions; member
214 OutputFunctions.resize(InputFunctions.size()); in writeAndReadCoverageRegions()
217 readCoverageRegions(Regions, OutputFunctions[I]); in writeAndReadCoverageRegions()
218 OutputFunctions[I].Name = InputFunctions[I].Name; in writeAndReadCoverageRegions()
219 OutputFunctions[I].Hash = InputFunctions[I].Hash; in writeAndReadCoverageRegions()
221 OutputFunctions[I].Filenames.clear(); in writeAndReadCoverageRegions()
235 for (const auto &OF : OutputFunctions) { in readOutputFunctions()
241 ArrayRef<OutputFunctionCoverageData> Funcs(OutputFunctions); in readOutputFunctions()
269 ASSERT_EQ(1u, OutputFunctions.size()); in TEST_P()
271 OutputFunctionCoverageData &Output = OutputFunctions.back(); in TEST_P()
[all …]