LLVM 22.0.0git
llvm::MachineLocation Class Reference

#include "llvm/MC/MachineLocation.h"

Public Types

enum  : uint32_t { VirtualFP = ~0U }

Public Member Functions

 MachineLocation ()=default
 MachineLocation (unsigned R, bool Indirect=false)
 Create a direct register location.
bool operator== (const MachineLocation &Other) const
bool isIndirect () const
bool isReg () const
unsigned getReg () const
void setIsRegister (bool Is)
void setRegister (unsigned R)

Detailed Description

Definition at line 22 of file MachineLocation.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
VirtualFP 

Definition at line 28 of file MachineLocation.h.

Constructor & Destructor Documentation

◆ MachineLocation() [1/2]

llvm::MachineLocation::MachineLocation ( )
default

Referenced by operator==().

◆ MachineLocation() [2/2]

llvm::MachineLocation::MachineLocation ( unsigned R,
bool Indirect = false )
inlineexplicit

Create a direct register location.

Definition at line 36 of file MachineLocation.h.

Member Function Documentation

◆ getReg()

unsigned llvm::MachineLocation::getReg ( ) const
inline

Definition at line 47 of file MachineLocation.h.

Referenced by llvm::DbgValueLoc::isEquivalent().

◆ isIndirect()

bool llvm::MachineLocation::isIndirect ( ) const
inline
Returns
true iff this is a register-indirect location.

Definition at line 45 of file MachineLocation.h.

◆ isReg()

bool llvm::MachineLocation::isReg ( ) const
inline

Definition at line 46 of file MachineLocation.h.

◆ operator==()

bool llvm::MachineLocation::operator== ( const MachineLocation & Other) const
inline

Definition at line 39 of file MachineLocation.h.

References MachineLocation(), and llvm::Other.

◆ setIsRegister()

void llvm::MachineLocation::setIsRegister ( bool Is)
inline

Definition at line 48 of file MachineLocation.h.

◆ setRegister()

void llvm::MachineLocation::setRegister ( unsigned R)
inline

Definition at line 49 of file MachineLocation.h.


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