|
LLVM
3.7.0
|
MCParsedAsmOperand - This abstract class represents a source-level assembly instruction operand. More...
#include <MCParsedAsmOperand.h>
Public Member Functions | |
| MCParsedAsmOperand () | |
| virtual | ~MCParsedAsmOperand () |
| void | setConstraint (StringRef C) |
| StringRef | getConstraint () |
| void | setMCOperandNum (unsigned OpNum) |
| unsigned | getMCOperandNum () |
| virtual StringRef | getSymName () |
| virtual void * | getOpDecl () |
| virtual bool | isToken () const =0 |
| isToken - Is this a token operand? More... | |
| virtual bool | isImm () const =0 |
| isImm - Is this an immediate operand? More... | |
| virtual bool | isReg () const =0 |
| isReg - Is this a register operand? More... | |
| virtual unsigned | getReg () const =0 |
| virtual bool | isMem () const =0 |
| isMem - Is this a memory operand? More... | |
| virtual SMLoc | getStartLoc () const =0 |
| getStartLoc - Get the location of the first token of this operand. More... | |
| virtual SMLoc | getEndLoc () const =0 |
| getEndLoc - Get the location of the last token of this operand. More... | |
| virtual bool | needAddressOf () const |
| needAddressOf - Do we need to emit code to get the address of the variable/label? Only valid when parsing MS-style inline assembly. More... | |
| virtual bool | isOffsetOf () const |
| isOffsetOf - Do we need to emit code to get the offset of the variable, rather then the value of the variable? Only valid when parsing MS-style inline assembly. More... | |
| virtual SMLoc | getOffsetOfLoc () const |
| getOffsetOfLoc - Get the location of the offset operator. More... | |
| virtual void | print (raw_ostream &OS) const =0 |
| print - Print a debug representation of the operand to the given stream. More... | |
| virtual void | dump () const |
| dump - Print to the debug stream. More... | |
MCParsedAsmOperand - This abstract class represents a source-level assembly instruction operand.
It should be subclassed by target-specific code. This base class is used by target-independent clients and is the interface between parsing an asm instruction and recognizing it.
Definition at line 24 of file MCParsedAsmOperand.h.
|
inline |
Definition at line 34 of file MCParsedAsmOperand.h.
|
inlinevirtual |
Definition at line 35 of file MCParsedAsmOperand.h.
|
virtual |
dump - Print to the debug stream.
Definition at line 46 of file MCAsmParser.cpp.
References llvm::dbgs().
|
inline |
Definition at line 38 of file MCParsedAsmOperand.h.
|
pure virtual |
getEndLoc - Get the location of the last token of this operand.
Implemented in llvm::X86Operand.
|
inline |
Definition at line 41 of file MCParsedAsmOperand.h.
|
inlinevirtual |
getOffsetOfLoc - Get the location of the offset operator.
Reimplemented in llvm::X86Operand.
Definition at line 72 of file MCParsedAsmOperand.h.
|
inlinevirtual |
Reimplemented in llvm::X86Operand.
Definition at line 44 of file MCParsedAsmOperand.h.
|
pure virtual |
Implemented in llvm::X86Operand.
|
pure virtual |
getStartLoc - Get the location of the first token of this operand.
Implemented in llvm::X86Operand.
|
inlinevirtual |
Reimplemented in llvm::X86Operand.
Definition at line 43 of file MCParsedAsmOperand.h.
|
pure virtual |
isImm - Is this an immediate operand?
Implemented in llvm::X86Operand.
|
pure virtual |
isMem - Is this a memory operand?
Implemented in llvm::X86Operand.
|
inlinevirtual |
isOffsetOf - Do we need to emit code to get the offset of the variable, rather then the value of the variable? Only valid when parsing MS-style inline assembly.
Reimplemented in llvm::X86Operand.
Definition at line 69 of file MCParsedAsmOperand.h.
|
pure virtual |
isReg - Is this a register operand?
Implemented in llvm::X86Operand.
|
pure virtual |
isToken - Is this a token operand?
Implemented in llvm::X86Operand.
|
inlinevirtual |
needAddressOf - Do we need to emit code to get the address of the variable/label? Only valid when parsing MS-style inline assembly.
Reimplemented in llvm::X86Operand.
Definition at line 64 of file MCParsedAsmOperand.h.
|
pure virtual |
print - Print a debug representation of the operand to the given stream.
Implemented in llvm::X86Operand.
Referenced by llvm::operator<<().
|
inline |
Definition at line 37 of file MCParsedAsmOperand.h.
References llvm::StringRef::str().
|
inline |
Definition at line 40 of file MCParsedAsmOperand.h.
1.8.6