LLVM  10.0.0svn
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. More...
 
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
Returns
true iff this is a register-indirect location.

Definition at line 45 of file MachineLocation.h.

Referenced by llvm::DwarfCompileUnit::addAddress(), llvm::DwarfCompileUnit::addComplexAddress(), llvm::DbgValueLoc::dump(), and llvm::DwarfDebug::emitDebugLocValue().

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

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