llvm::consthoist

A private "module" namespace for types and utilities used by ConstantHoisting. These are implementation details and should not be used by clients.

Types

NameDescription
ConstantCandidate Keeps track of a constant candidate and its uses.
ConstantInfo A base constant and all its rebased constants.
ConstantUser Keeps track of the user of a constant and the operand index where the constant is used.
RebasedConstantInfo This represents a constant that has been rebased with respect to a base constant. The difference to the base constant is recorded in Offset.

Type Aliases

NameDescription
ConstantUseListType List of instructions that use a constant candidate.
RebasedConstantListType List of constants rebased relative to a shared base constant.