LLVM API Documentation
#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 |
virtual bool | isOffsetOf () const |
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 21 of file MCParsedAsmOperand.h.
|
inline |
Definition at line 31 of file MCParsedAsmOperand.h.
|
inlinevirtual |
Definition at line 32 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 35 of file MCParsedAsmOperand.h.
|
pure virtual |
getEndLoc - Get the location of the last token of this operand.
|
inline |
Definition at line 38 of file MCParsedAsmOperand.h.
|
inlinevirtual |
getOffsetOfLoc - Get the location of the offset operator.
Definition at line 69 of file MCParsedAsmOperand.h.
|
inlinevirtual |
Definition at line 41 of file MCParsedAsmOperand.h.
|
pure virtual |
|
pure virtual |
getStartLoc - Get the location of the first token of this operand.
|
inlinevirtual |
Definition at line 40 of file MCParsedAsmOperand.h.
|
pure virtual |
isImm - Is this an immediate operand?
|
pure virtual |
isMem - Is this a memory operand?
|
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.
Definition at line 66 of file MCParsedAsmOperand.h.
|
pure virtual |
isReg - Is this a register operand?
|
pure virtual |
isToken - Is this a token operand?
|
inlinevirtual |
needAddressOf - Do we need to emit code to get the address of the variable/label? Only valid when parsing MS-style inline assembly.
Definition at line 61 of file MCParsedAsmOperand.h.
|
pure virtual |
print - Print a debug representation of the operand to the given stream.
Referenced by llvm::operator<<().
|
inline |
Definition at line 34 of file MCParsedAsmOperand.h.
References llvm::StringRef::str().
|
inline |
Definition at line 37 of file MCParsedAsmOperand.h.