class MachineLocation
Declaration
class MachineLocation { /* full declaration omitted */ };
Declared at: llvm/include/llvm/MC/MachineLocation.h:22
Member Variables
- private bool IsRegister = false
- True if location is a register.
- private unsigned int Register = 0
- gcc/gdb register number.
Method Overview
- public MachineLocation()
- public MachineLocation(unsigned int R, bool Indirect = false)
- public unsigned int getReg() const
- public bool isIndirect() const
- public bool isReg() const
- public void setIsRegister(bool Is)
- public void setRegister(unsigned int R)
Methods
¶MachineLocation()
MachineLocation()
Declared at: llvm/include/llvm/MC/MachineLocation.h:34
¶MachineLocation(unsigned int R,
bool Indirect = false)
MachineLocation(unsigned int R,
bool Indirect = false)
Description
Create a direct register location.
Declared at: llvm/include/llvm/MC/MachineLocation.h:36
Parameters
- unsigned int R
- bool Indirect = false
¶unsigned int getReg() const
unsigned int getReg() const
Declared at: llvm/include/llvm/MC/MachineLocation.h:47
¶bool isIndirect() const
bool isIndirect() const
Declared at: llvm/include/llvm/MC/MachineLocation.h:45
Returns
true iff this is a register-indirect location.
¶bool isReg() const
bool isReg() const
Declared at: llvm/include/llvm/MC/MachineLocation.h:46
¶void setIsRegister(bool Is)
void setIsRegister(bool Is)
Declared at: llvm/include/llvm/MC/MachineLocation.h:48
Parameters
- bool Is
¶void setRegister(unsigned int R)
void setRegister(unsigned int R)
Declared at: llvm/include/llvm/MC/MachineLocation.h:49
Parameters
- unsigned int R