summaryrefslogtreecommitdiffstats
path: root/llvm/utils/TableGen/CodeGenTarget.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-08-14 22:50:53 +0000
committerChris Lattner <sabre@nondot.org>2004-08-14 22:50:53 +0000
commit6ffa501d9f879dd55101e29bbaa7a9167abc5a07 (patch)
tree264bf7c27b072a186d32beda376939811a0512fc /llvm/utils/TableGen/CodeGenTarget.h
parent412602d7d9ff3a50eb1bb7ba9f06d28c7ed97fe8 (diff)
downloadbcm5719-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.h6
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;
OpenPOWER on IntegriCloud