LLVM  6.0.0svn
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"

Collaboration diagram for llvm::consthoist::RebasedConstantInfo:
Collaboration graph
[legend]

Public Member Functions

 RebasedConstantInfo (ConstantUseListType &&Uses, Constant *Offset)
 

Public Attributes

ConstantUseListType Uses
 
ConstantOffset
 

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 91 of file ConstantHoisting.h.

Constructor & Destructor Documentation

◆ RebasedConstantInfo()

llvm::consthoist::RebasedConstantInfo::RebasedConstantInfo ( ConstantUseListType &&  Uses,
Constant Offset 
)
inline

Definition at line 95 of file ConstantHoisting.h.

Member Data Documentation

◆ Offset

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

Definition at line 93 of file ConstantHoisting.h.

◆ Uses

ConstantUseListType llvm::consthoist::RebasedConstantInfo::Uses

Definition at line 92 of file ConstantHoisting.h.


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