LLVM API Documentation
#include <TargetAsmParser.h>
Public Member Functions | |
| virtual | ~TargetAsmParser () |
| const Target & | getTarget () const |
| virtual bool | ParseInstruction (const StringRef &Name, MCInst &Inst)=0 |
Protected Member Functions | |
| TargetAsmParser (const Target &) | |
Protected Attributes | |
| const Target & | TheTarget |
| TheTarget - The Target that this machine was created for. | |
Definition at line 20 of file TargetAsmParser.h.
| TargetAsmParser::TargetAsmParser | ( | const Target & | T | ) | [protected] |
Definition at line 13 of file TargetAsmParser.cpp.
| TargetAsmParser::~TargetAsmParser | ( | ) | [virtual] |
Definition at line 18 of file TargetAsmParser.cpp.
| const Target& llvm::TargetAsmParser::getTarget | ( | ) | const [inline] |
| virtual bool llvm::TargetAsmParser::ParseInstruction | ( | const StringRef & | Name, | |
| MCInst & | Inst | |||
| ) | [pure virtual] |
ParseInstruction - Parse one assembly instruction.
The parser is positioned following the instruction name. The target specific instruction parser should parse the entire instruction and construct the appropriate MCInst, or emit an error. On success, the entire line should be parsed up to and including the end-of-statement token. On failure, the parser is not required to read to the end of the line.
| AP | - The current parser object. | |
| Name | - The instruction name. | |
| Inst | [out] - On success, the parsed instruction. |
const Target& llvm::TargetAsmParser::TheTarget [protected] |
TheTarget - The Target that this machine was created for.
Definition at line 27 of file TargetAsmParser.h.
Referenced by getTarget().