struct TargetLoweringBase::AddrMode

Declaration

struct TargetLoweringBase::AddrMode { /* full declaration omitted */ };

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.

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:2167

Member Variables

public llvm::GlobalValue* BaseGV = nullptr
public int64_t BaseOffs = 0
public bool HasBaseReg = false
public int64_t Scale = 0

Method Overview

Methods

ΒΆAddrMode()

Declared at: llvm/include/llvm/CodeGen/TargetLowering.h:2172