aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/llvm/Reoptimizer/InstLoops.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/llvm/Reoptimizer/InstLoops.h b/include/llvm/Reoptimizer/InstLoops.h
new file mode 100644
index 0000000000..c01008e6ec
--- /dev/null
+++ b/include/llvm/Reoptimizer/InstLoops.h
@@ -0,0 +1,16 @@
+//===-- InstLoops.h - interface to insert instrumentation --------*- C++ -*--=//
+//
+// Instrument every back edges with counters
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_REOPTIMIZERINSTLOOPS_H
+#define LLVM_REOPTIMIZERINSTLOOPS_H
+
+class Pass;
+
+// createInstLoopsPass - Create a new pass to add counters on back edges
+//
+Pass *createInstLoopsPass();
+
+#endif
+