class CombinationGenerator
Declaration
template <typename choice_type,
typename choices_storage_type,
int variable_smallsize>
class CombinationGenerator { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ADT/CombinationGenerator.h:40
Templates
- choice_type
- choices_storage_type
- int variable_smallsize
Member Variables
- private const ArrayRef<choices_storage_type> VariablesChoices
Method Overview
- public CombinationGenerator<choice_type, choices_storage_type, variable_smallsize>(ArrayRef<choices_storage_type> VariablesChoices_)
- public void generate(const function_ref<bool (ArrayRef<choice_type>)> Callback)
- public size_t numCombinations() const
- private void performGeneration(const function_ref<bool (ArrayRef<choice_type>)> Callback) const
Methods
¶CombinationGenerator<choice_type,
choices_storage_type,
variable_smallsize>(
ArrayRef<choices_storage_type>
VariablesChoices_)
CombinationGenerator<choice_type,
choices_storage_type,
variable_smallsize>(
ArrayRef<choices_storage_type>
VariablesChoices_)
Declared at: llvm/include/llvm/ADT/CombinationGenerator.h:117
Parameters
- ArrayRef<choices_storage_type> VariablesChoices_
¶void generate(
const function_ref<
bool(ArrayRef<choice_type>)> Callback)
void generate(
const function_ref<
bool(ArrayRef<choice_type>)> Callback)
Declared at: llvm/include/llvm/ADT/CombinationGenerator.h:141
Parameters
- const function_ref<bool(ArrayRef<choice_type>)> Callback
¶size_t numCombinations() const
size_t numCombinations() const
Declared at: llvm/include/llvm/ADT/CombinationGenerator.h:130
¶void performGeneration(
const function_ref<bool(
ArrayRef<choice_type>)> Callback) const
void performGeneration(
const function_ref<bool(
ArrayRef<choice_type>)> Callback) const
Declared at: llvm/include/llvm/ADT/CombinationGenerator.h:71
Parameters
- const function_ref<bool(ArrayRef<choice_type>)> Callback