LLVM API Documentation
#include <X86InstrBuilder.h>
Public Types | |
enum | { RegBase, FrameIndexBase } |
Public Member Functions | |
X86AddressMode () | |
void | getFullAddress (SmallVectorImpl< MachineOperand > &MO) |
Public Attributes | |
enum llvm::X86AddressMode:: { ... } | BaseType |
union { | |
unsigned Reg | |
int FrameIndex | |
} | Base |
unsigned | Scale |
unsigned | IndexReg |
int | Disp |
const GlobalValue * | GV |
unsigned | GVOpFlags |
X86AddressMode - This struct holds a generalized full x86 address mode. The base register can be a frame index, which will eventually be replaced with BP or SP and Disp being offsetted accordingly. The displacement may also include the offset of a global value.
Definition at line 37 of file X86InstrBuilder.h.
anonymous enum |
Definition at line 38 of file X86InstrBuilder.h.
llvm::X86AddressMode::X86AddressMode | ( | ) | [inline] |
Definition at line 54 of file X86InstrBuilder.h.
References Base.
void llvm::X86AddressMode::getFullAddress | ( | SmallVectorImpl< MachineOperand > & | MO | ) | [inline] |
Definition at line 61 of file X86InstrBuilder.h.
References Base, BaseType, llvm::MachineOperand::CreateFI(), llvm::MachineOperand::CreateGA(), llvm::MachineOperand::CreateImm(), llvm::MachineOperand::CreateReg(), Disp, FrameIndexBase, GV, GVOpFlags, IndexReg, llvm::SmallVectorTemplateBase< T, isPodLike< T >::value >::push_back(), RegBase, and Scale.
union { ... } llvm::X86AddressMode::Base |
Referenced by llvm::addFullAddress(), getFullAddress(), and X86AddressMode().
enum { ... } llvm::X86AddressMode::BaseType |
Referenced by llvm::addFullAddress(), and getFullAddress().
Definition at line 50 of file X86InstrBuilder.h.
Referenced by llvm::addFullAddress(), and getFullAddress().
Definition at line 45 of file X86InstrBuilder.h.
Referenced by llvm::addFullAddress().
Definition at line 51 of file X86InstrBuilder.h.
Referenced by llvm::addFullAddress(), and getFullAddress().
Definition at line 52 of file X86InstrBuilder.h.
Referenced by llvm::addFullAddress(), and getFullAddress().
Definition at line 49 of file X86InstrBuilder.h.
Referenced by llvm::addFullAddress(), and getFullAddress().
Definition at line 44 of file X86InstrBuilder.h.
Referenced by llvm::addFullAddress().
Definition at line 48 of file X86InstrBuilder.h.
Referenced by llvm::addFullAddress(), and getFullAddress().