Struct BatchedCSEResult

Struct Documentation

struct BatchedCSEResult

Result of eliminate_common_subexpressions_batched.

Public Members

std::vector<std::size_t> cse_positions

Positions of the inserted intermediate definitions.

std::vector<std::pair<std::size_t, std::size_t>> partitions

Ranges [begin, end) of the expression trees (including the inserted definitions) that were processed together

std::vector<std::vector<Index>> batch_indices

The batch indices that were used for each partition.