LLVM API Documentation
#include <MachineLocation.h>
Public Types | |
| enum | { VirtualFP = ~0U } |
Public Member Functions | |
| MachineLocation () | |
| MachineLocation (unsigned R) | |
| Create a direct register location. | |
| MachineLocation (unsigned R, int O) | |
| Create a register-indirect location with an offset. | |
| 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. | |
| void | set (unsigned R, int O) |
| Make this location a register-indirect+offset location. | |
| void | dump () |
Definition at line 22 of file MachineLocation.h.
| anonymous enum |
Definition at line 28 of file MachineLocation.h.
| llvm::MachineLocation::MachineLocation | ( | ) | [inline] |
Definition at line 33 of file MachineLocation.h.
| llvm::MachineLocation::MachineLocation | ( | unsigned | R | ) | [inline, explicit] |
Create a direct register location.
Definition at line 36 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.
| void llvm::MachineLocation::dump | ( | ) |
| int llvm::MachineLocation::getOffset | ( | ) | const [inline] |
Definition at line 51 of file MachineLocation.h.
Referenced by llvm::CompileUnit::addAddress(), llvm::CompileUnit::addBlockByrefAddress(), llvm::CompileUnit::addComplexAddress(), and llvm::AsmPrinter::EmitDwarfRegOp().
| unsigned llvm::MachineLocation::getReg | ( | ) | const [inline] |
Definition at line 50 of file MachineLocation.h.
Referenced by llvm::CompileUnit::addAddress(), llvm::CompileUnit::addBlockByrefAddress(), llvm::CompileUnit::addComplexAddress(), llvm::ARMAsmPrinter::EmitDwarfRegOp(), and llvm::AsmPrinter::EmitDwarfRegOp().
| bool llvm::MachineLocation::isIndirect | ( | ) | const [inline] |
Definition at line 48 of file MachineLocation.h.
Referenced by llvm::AsmPrinter::EmitDwarfRegOp().
| bool llvm::MachineLocation::isReg | ( | ) | const [inline] |
Definition at line 49 of file MachineLocation.h.
Referenced by llvm::CompileUnit::addAddress(), llvm::CompileUnit::addBlockByrefAddress(), and llvm::CompileUnit::addComplexAddress().
| bool llvm::MachineLocation::operator== | ( | const MachineLocation & | Other | ) | const [inline] |
Definition at line 42 of file MachineLocation.h.
| void llvm::MachineLocation::set | ( | unsigned | R | ) | [inline] |
Make this location a direct register location.
Definition at line 56 of file MachineLocation.h.
Referenced by getDebugLocEntry(), llvm::X86AsmPrinter::getDebugValueLocation(), and llvm::ARMAsmPrinter::getDebugValueLocation().
| void llvm::MachineLocation::set | ( | unsigned | R, |
| int | O | ||
| ) | [inline] |
Make this location a register-indirect+offset location.
Definition at line 62 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.