llvm::sandboxir::SeedContainer

Tracks seeds within SeedBundles keyed by pointer, type, and opcode.

Synopsis

Declared in <llvm/Transforms/Vectorize/SandboxVectorizer/SeedCollector.h>

class SeedContainer;

Description

Saves newly collected seeds in the proper bundle. Supports constant-time removal, as seeds and entire bundles are vectorized and marked used to signify removal. Iterators skip bundles that are completely used.

Types

NameDescription
iterator Input iterator over unused SeedBundles in this container.

Type Aliases

NameDescription
const_iterator Const iterator over the underlying bundle map entries.

Member Functions

NameDescription
SeedContainer [constructor]Construct a seed container using scalar evolution analysis SE.
begin Return an iterator to the first unused SeedBundle.
dump Dump the contents of this container to the debug stream.
end Return an iterator past the last SeedBundle.
erase erase overloads
insert Insert load or store LSI into the matching seed bundle.
print Print the contents of this container to OS.
size Return the number of keyed bundle groups.