LLVM  5.0.0
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)
 Create a direct register location. More...
 
 MachineLocation (unsigned R, int O)
 Create a register-indirect location with an offset. More...
 
bool operator== (const MachineLocation &Other) const
 
bool isIndirect () const
 
bool isReg () const
 
unsigned getReg () const
 
int getOffset () const
 
void setIsRegister (bool Is)
 
void setRegister (unsigned R)
 
void setOffset (int O)
 
void set (unsigned R)
 Make this location a direct register location. More...
 
void set (unsigned R, int O)
 Make this location a register-indirect+offset location. More...
 

Detailed Description

Definition at line 22 of file MachineLocation.h.

Member Enumeration Documentation

anonymous enum : uint32_t
Enumerator
VirtualFP 

Definition at line 29 of file MachineLocation.h.

Constructor & Destructor Documentation

llvm::MachineLocation::MachineLocation ( )
default
llvm::MachineLocation::MachineLocation ( unsigned  R)
inlineexplicit

Create a direct register location.

Definition at line 37 of file MachineLocation.h.

llvm::MachineLocation::MachineLocation ( unsigned  R,
int  O 
)
inline

Create a register-indirect location with an offset.

Definition at line 39 of file MachineLocation.h.

Member Function Documentation

int llvm::MachineLocation::getOffset ( ) const
inline
unsigned llvm::MachineLocation::getReg ( ) const
inline
bool llvm::MachineLocation::isIndirect ( ) const
inline
bool llvm::MachineLocation::isReg ( ) const
inline

Definition at line 49 of file MachineLocation.h.

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

Definition at line 41 of file MachineLocation.h.

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

Make this location a direct register location.

Definition at line 57 of file MachineLocation.h.

Referenced by getDebugLocValue().

void llvm::MachineLocation::set ( unsigned  R,
int  O 
)
inline

Make this location a register-indirect+offset location.

Definition at line 64 of file MachineLocation.h.

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

Definition at line 52 of file MachineLocation.h.

void llvm::MachineLocation::setOffset ( int  O)
inline

Definition at line 54 of file MachineLocation.h.

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

Definition at line 53 of file MachineLocation.h.


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