LLVM 19.0.0git
Public Types | Public Member Functions | List of all members
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

◆ 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

◆ isIndirect()

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

◆ 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 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: