LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
llvm::TargetLoweringBase::AddrMode Struct Reference

#include <TargetLowering.h>

Collaboration diagram for llvm::TargetLoweringBase::AddrMode:
Collaboration graph
[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 1127 of file TargetLowering.h.

Constructor & Destructor Documentation

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

Definition at line 1132 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: