LLVM  3.7.0
Public Member Functions | Public Attributes | List of all members
llvm::TargetLoweringBase::AddrMode Struct Reference

This represents an addressing mode of: BaseGV + BaseOffs + BaseReg + Scale*ScaleReg If BaseGV is null, there is no BaseGV. More...

#include <TargetLowering.h>

Collaboration diagram for llvm::TargetLoweringBase::AddrMode:
[legend]

Public Member Functions

 AddrMode ()
 

Public Attributes

GlobalValueBaseGV
 
int64_t BaseOffs
 
bool HasBaseReg
 
int64_t Scale
 

Detailed Description

This represents an addressing mode of: BaseGV + BaseOffs + BaseReg + Scale*ScaleReg If BaseGV is null, there is no BaseGV.

If BaseOffs is zero, there is no base offset. If HasBaseReg is false, there is no base register. If Scale is zero, there is no ScaleReg. Scale of 1 indicates a reg with no scale.

Definition at line 1449 of file TargetLowering.h.

Constructor & Destructor Documentation

llvm::TargetLoweringBase::AddrMode::AddrMode ( )
inline

Definition at line 1454 of file TargetLowering.h.

Member Data Documentation

GlobalValue* llvm::TargetLoweringBase::AddrMode::BaseGV
int64_t llvm::TargetLoweringBase::AddrMode::BaseOffs
bool llvm::TargetLoweringBase::AddrMode::HasBaseReg
int64_t llvm::TargetLoweringBase::AddrMode::Scale

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