LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::consthoist::RebasedConstantInfo Struct Reference

This represents a constant that has been rebased with respect to a base constant. More...

#include "llvm/Transforms/Scalar/ConstantHoisting.h"

Public Member Functions

 RebasedConstantInfo (ConstantUseListType &&Uses, Constant *Offset, Type *Ty=nullptr)
 

Public Attributes

ConstantUseListType Uses
 
ConstantOffset
 
TypeTy
 

Detailed Description

This represents a constant that has been rebased with respect to a base constant.

The difference to the base constant is recorded in Offset.

Definition at line 103 of file ConstantHoisting.h.

Constructor & Destructor Documentation

◆ RebasedConstantInfo()

llvm::consthoist::RebasedConstantInfo::RebasedConstantInfo ( ConstantUseListType &&  Uses,
Constant Offset,
Type Ty = nullptr 
)
inline

Definition at line 108 of file ConstantHoisting.h.

Member Data Documentation

◆ Offset

Constant* llvm::consthoist::RebasedConstantInfo::Offset

Definition at line 105 of file ConstantHoisting.h.

◆ Ty

Type* llvm::consthoist::RebasedConstantInfo::Ty

Definition at line 106 of file ConstantHoisting.h.

◆ Uses

ConstantUseListType llvm::consthoist::RebasedConstantInfo::Uses

Definition at line 104 of file ConstantHoisting.h.


The documentation for this struct was generated from the following file: