LLVM 22.0.0git
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 2899 of file TargetLowering.h.

Constructor & Destructor Documentation

◆ AddrMode()

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

Member Data Documentation

◆ BaseGV

◆ BaseOffs

◆ HasBaseReg

◆ ScalableOffset

◆ Scale


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