LLVM  8.0.1
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 "llvm/CodeGen/TargetLowering.h"

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

Public Member Functions

 AddrMode ()=default
 

Public Attributes

GlobalValueBaseGV = nullptr
 
int64_t BaseOffs = 0
 
bool HasBaseReg = false
 
int64_t Scale = 0
 

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 2068 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ AddrMode()

llvm::TargetLoweringBase::AddrMode::AddrMode ( )
default

Member Data Documentation

◆ BaseGV

GlobalValue* llvm::TargetLoweringBase::AddrMode::BaseGV = nullptr

◆ BaseOffs

int64_t llvm::TargetLoweringBase::AddrMode::BaseOffs = 0

◆ HasBaseReg

bool llvm::TargetLoweringBase::AddrMode::HasBaseReg = false

◆ Scale

int64_t llvm::TargetLoweringBase::AddrMode::Scale = 0

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