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

Methods

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)

Declared at: llvm/include/llvm/ADT/CombinationGenerator.h:141

Parameters

const function_ref<bool(ArrayRef<choice_type>)> Callback

size_t numCombinations() const

Declared at: llvm/include/llvm/ADT/CombinationGenerator.h:130

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