LLVM  6.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 23 of file MachineLocation.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum : uint32_t
Enumerator
VirtualFP 

Definition at line 29 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 37 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 47 of file MachineLocation.h.

◆ operator==()

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

Definition at line 40 of file MachineLocation.h.

◆ setIsRegister()

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

Definition at line 49 of file MachineLocation.h.

◆ setRegister()

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

Definition at line 50 of file MachineLocation.h.


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