[llvm-commits] CVS: llvm/include/llvm/Target/TargetMachineImpls.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 29 14:52:00 PST 2002
Changes in directory llvm/include/llvm/Target:
TargetMachineImpls.h updated: 1.1 -> 1.2
---
Log message:
Rename Sparc.h to TargetMachineImpls.h. Add hook for X86 target
---
Diffs of the changes:
Index: llvm/include/llvm/Target/TargetMachineImpls.h
diff -u llvm/include/llvm/Target/TargetMachineImpls.h:1.1 llvm/include/llvm/Target/TargetMachineImpls.h:1.2
--- llvm/include/llvm/Target/TargetMachineImpls.h:1.1 Fri Sep 14 00:34:52 2001
+++ llvm/include/llvm/Target/TargetMachineImpls.h Tue Oct 29 14:51:29 2002
@@ -1,11 +1,12 @@
-//===-- llvm/CodeGen/Sparc.h - Sparc Target Description ----------*- C++ -*--=//
+//===-- llvm/Target/TargetMachineImpls.h - Target Descriptions --*- C++ -*-===//
//
-// This file defines the Sparc processor targets
+// This file defines the entry point to getting access to the various target
+// machine implementations available to LLVM.
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_CODEGEN_SPARC_H
-#define LLVM_CODEGEN_SPARC_H
+#ifndef LLVM_TARGET_TARGETMACHINEIMPLS_H
+#define LLVM_TARGET_TARGETMACHINEIMPLS_H
class TargetMachine;
@@ -13,5 +14,10 @@
// that implements the Sparc backend.
//
TargetMachine *allocateSparcTargetMachine();
+
+// allocateX86TargetMachine - Allocate and return a subclass of TargetMachine
+// that implements the X86 backend.
+//
+TargetMachine *allocateX86TargetMachine();
#endif
More information about the llvm-commits
mailing list