summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-04-15 20:23:13 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-04-15 20:23:13 +0000
commit5bee0f3068f6020f848dc3ca24ec184e125b953e (patch)
tree30f257422a2c339385deb818a58e28a84535619f /llvm/lib/Target
parentcf2b18791a6f0643b8d56840a1d42f62c1b7c49b (diff)
downloadbcm5719-llvm-5bee0f3068f6020f848dc3ca24ec184e125b953e.tar.gz
bcm5719-llvm-5bee0f3068f6020f848dc3ca24ec184e125b953e.zip
Give SparcV9CodeEmitter a head-of-file comment and a PassName.
llvm-svn: 12967
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h b/llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h
index d21345ec041..5a932a843d4 100644
--- a/llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h
+++ b/llvm/lib/Target/SparcV9/SparcV9CodeEmitter.h
@@ -7,7 +7,10 @@
//
//===----------------------------------------------------------------------===//
//
-// TODO: Need a description here.
+// Target-specific portions of the machine code emitter for the SparcV9.
+// This class interfaces with the JIT's Emitter in order to turn MachineInstrs
+// into words of binary machine code. Its code is partially generated by
+// TableGen's CodeEmitterGenerator.
//
//===----------------------------------------------------------------------===//
@@ -40,6 +43,8 @@ public:
SparcV9CodeEmitter(TargetMachine &T, MachineCodeEmitter &M);
~SparcV9CodeEmitter();
+ const char *getPassName() const { return "SparcV9 Machine Code Emitter"; }
+
/// runOnMachineFunction - emits the given machine function to memory.
///
bool runOnMachineFunction(MachineFunction &F);
OpenPOWER on IntegriCloud