summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86FastISel.h
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-08-19 21:45:35 +0000
committerDan Gohman <gohman@apple.com>2008-08-19 21:45:35 +0000
commitdaef7f43af6565ab16dea8a4888ad8ad57fa29ff (patch)
tree9d043be49afa5e16107ad9e815ed2f85b3b2136d /llvm/lib/Target/X86/X86FastISel.h
parent4619e93bd303d0d71a0c70e52a0cc816b345d1c7 (diff)
downloadbcm5719-llvm-daef7f43af6565ab16dea8a4888ad8ad57fa29ff.tar.gz
bcm5719-llvm-daef7f43af6565ab16dea8a4888ad8ad57fa29ff.zip
Instantiate FastISel for X86.
llvm-svn: 55011
Diffstat (limited to 'llvm/lib/Target/X86/X86FastISel.h')
-rw-r--r--llvm/lib/Target/X86/X86FastISel.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86FastISel.h b/llvm/lib/Target/X86/X86FastISel.h
new file mode 100644
index 00000000000..0f2b26a4d2f
--- /dev/null
+++ b/llvm/lib/Target/X86/X86FastISel.h
@@ -0,0 +1,34 @@
+//===-- X86FastISel.h - X86 FastISel header -------------------------------===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines the interface to the X86-specific support for the FastISel
+// class.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef X86FASTISEL_H
+#define X86FASTISEL_H
+
+namespace llvm {
+
+class FastISel;
+class MachineBasicBlock;
+class MachineFunction;
+class TargetInstrInfo;
+
+namespace X86 {
+
+FastISel *createFastISel(MachineBasicBlock *mbb, MachineFunction *mf,
+ const TargetInstrInfo *tii);
+
+} // namespace X86
+
+} // namespace llvm
+
+#endif
OpenPOWER on IntegriCloud