diff options
| author | Chris Lattner <sabre@nondot.org> | 2004-08-14 22:50:53 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2004-08-14 22:50:53 +0000 |
| commit | 6ffa501d9f879dd55101e29bbaa7a9167abc5a07 (patch) | |
| tree | 264bf7c27b072a186d32beda376939811a0512fc /llvm/utils/TableGen/CodeGenTarget.h | |
| parent | 412602d7d9ff3a50eb1bb7ba9f06d28c7ed97fe8 (diff) | |
| download | bcm5719-llvm-6ffa501d9f879dd55101e29bbaa7a9167abc5a07.tar.gz bcm5719-llvm-6ffa501d9f879dd55101e29bbaa7a9167abc5a07.zip | |
Make the AsmWriter a first-class tblgen object. Allow targets to specify
name of the generated asmwriter class, and the name of the format string.
llvm-svn: 15747
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.h')
| -rw-r--r-- | llvm/utils/TableGen/CodeGenTarget.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/utils/TableGen/CodeGenTarget.h b/llvm/utils/TableGen/CodeGenTarget.h index e711b8190c5..218fef82146 100644 --- a/llvm/utils/TableGen/CodeGenTarget.h +++ b/llvm/utils/TableGen/CodeGenTarget.h @@ -56,10 +56,14 @@ public: MVT::ValueType getPointerType() const { return PointerType; } - // getInstructionSet - Return the InstructionSet object. + /// getInstructionSet - Return the InstructionSet object. /// Record *getInstructionSet() const; + /// getAsmWriter - Return the AssemblyWriter definition for this target. + /// + Record *getAsmWriter() const; + /// getPHIInstruction - Return the designated PHI instruction. const CodeGenInstruction &getPHIInstruction() const; |

