aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/CodeGen/PeepholeOpts.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/PeepholeOpts.h b/include/llvm/CodeGen/PeepholeOpts.h
new file mode 100644
index 0000000000..fc3254dc67
--- /dev/null
+++ b/include/llvm/CodeGen/PeepholeOpts.h
@@ -0,0 +1,15 @@
+//===-- llvm/CodeGen/PeepholeOpts.h ----------------------------*- C++ -*--===//
+//
+// External interface to peephole optimization pass operating on machine code.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_CODEGEN_PEEPHOLE_OPTS_H
+#define LLVM_CODEGEN_PEEPHOLE_OPTS_H
+
+class TargetMachine;
+class Pass;
+
+Pass *createPeepholeOptsPass(TargetMachine &Target);
+
+#endif