llvm::MachineLocation

Represents a simple location in a machine frame.

Synopsis

Declared in <llvm/MC/MachineLocation.h>

class MachineLocation;

Description

Locations are either a register or an address formed from a base address plus an offset. Register indirection can be specified by explicitly passing an offset to the constructor.

Enums

NameDescription
Unnamed enum Named constants for special register numbers used by locations.

Member Functions

NameDescription
MachineLocation [constructor]Constructors
getReg Return the register number for this location.
isIndirect Return true if this is a register-indirect location.
isReg Return true if this location is a register.
setIsRegister Set whether this location is a register.
setRegister Set the register number for this location.
operator== Return true if this location equals Other.

Non-Member Functions

NameDescription
operator!=Return true if LHS and RHS denote different locations.