LLVM 20.0.0git
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 + ScalableOffset*vscale If BaseGV is null, there is no BaseGV. More...

#include "llvm/CodeGen/TargetLowering.h"

Public Member Functions

 AddrMode ()=default
 

Public Attributes

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

Detailed Description

This represents an addressing mode of: BaseGV + BaseOffs + BaseReg + Scale*ScaleReg + ScalableOffset*vscale 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. If ScalableOffset is zero, there is no scalable offset.

Definition at line 2812 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

◆ ScalableOffset

int64_t llvm::TargetLoweringBase::AddrMode::ScalableOffset = 0

◆ Scale

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

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