llvm::consthoist::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.

Synopsis

Declared in <llvm/Transforms/Scalar/ConstantHoisting.h>

struct RebasedConstantInfo;

Member Functions

NameDescription
RebasedConstantInfo [constructor]Create rebased-constant info for Uses with difference Offset.

Data Members

NameDescription
Offset Difference from the shared base constant used to re-materialize this one.
Ty Optional type used when adjusting users of this rebased constant.
Uses Uses of the original constant that will be rewritten relative to the base.