Rename Sparc.h to TargetMachineImpls.h. Add hook for X86 target
authorChris Lattner <sabre@nondot.org>
Tue, 29 Oct 2002 20:51:29 +0000 (20:51 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 29 Oct 2002 20:51:29 +0000 (20:51 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4412 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetMachineImpls.h

index 83bebbddaf351a945fdbc697a5ffcc8acb51e62a..e9156c7b2dc6351a3185a2b3f20bd1da447ba73c 100644 (file)
@@ -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;
 
@@ -14,4 +15,9 @@ class TargetMachine;
 //
 TargetMachine *allocateSparcTargetMachine();
 
+// allocateX86TargetMachine - Allocate and return a subclass of TargetMachine
+// that implements the X86 backend.
+//
+TargetMachine *allocateX86TargetMachine();
+
 #endif