Home
last modified time | relevance | path

Searched refs:NumVariants (Results 1 – 3 of 3) sorted by relevance

/external/llvm-project/llvm/unittests/tools/llvm-exegesis/
DSnippetGeneratorTest.cpp24 const size_t NumVariants = G.numCombinations(); in TEST() local
36 ASSERT_THAT(Variants, ::testing::SizeIs(NumVariants)); in TEST()
45 const size_t NumVariants = G.numCombinations(); in TEST() local
55 ASSERT_THAT(Variants, ::testing::SizeIs(NumVariants)); in TEST()
64 const size_t NumVariants = G.numCombinations(); in TEST() local
76 ASSERT_THAT(Variants, ::testing::SizeIs(NumVariants)); in TEST()
85 const size_t NumVariants = G.numCombinations(); in TEST() local
95 ASSERT_THAT(Variants, ::testing::SizeIs(NumVariants)); in TEST()
104 const size_t NumVariants = G.numCombinations(); in TEST() local
114 ASSERT_THAT(Variants, ::testing::SizeIs(NumVariants)); in TEST()
[all …]
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DSnippetGenerator.h212 size_t NumVariants = 1; in numCombinations() local
214 NumVariants *= VariableChoices.size(); in numCombinations()
215 assert(NumVariants >= 1 && in numCombinations()
217 return NumVariants; in numCombinations()
/external/llvm-project/llvm/tools/llvm-exegesis/lib/X86/
DTarget.cpp908 size_t NumVariants; in generateInstructionVariants() local
913 NumVariants = std::min(G.numCombinations(), (size_t)MaxConfigsPerOpcode); in generateInstructionVariants()
915 Variants.reserve(NumVariants); in generateInstructionVariants()
920 return Variants.size() >= NumVariants; in generateInstructionVariants()
923 assert(Variants.size() == NumVariants && in generateInstructionVariants()