summaryrefslogtreecommitdiff
path: root/include/llvm/Transforms/Instrumentation.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-14 22:37:41 +0000
committerChris Lattner <sabre@nondot.org>2003-01-14 22:37:41 +0000
commitb9eca537d08de504d43a9698244d32a59b359176 (patch)
treeb441bc584ef92893d6b0a4a1735de2c154a653a0 /include/llvm/Transforms/Instrumentation.h
parenta1767182de62731539999940df3b38d46aa1a910 (diff)
downloadllvm-b9eca537d08de504d43a9698244d32a59b359176.tar.gz
llvm-b9eca537d08de504d43a9698244d32a59b359176.tar.bz2
llvm-b9eca537d08de504d43a9698244d32a59b359176.tar.xz
New header
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5280 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Instrumentation.h')
-rw-r--r--include/llvm/Transforms/Instrumentation.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Instrumentation.h b/include/llvm/Transforms/Instrumentation.h
new file mode 100644
index 0000000000..a6e08d3084
--- /dev/null
+++ b/include/llvm/Transforms/Instrumentation.h
@@ -0,0 +1,19 @@
+//===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
+//
+// This files defines constructor functions for instrumentation passes.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TRANSFORMS_INSTRUMENTATION_H
+#define LLVM_TRANSFORMS_INSTRUMENTATION_H
+
+class Pass;
+
+//===----------------------------------------------------------------------===//
+// Support for inserting LLVM code to print values at basic block and function
+// exits.
+//
+Pass *createTraceValuesPassForFunction(); // Just trace function entry/exit
+Pass *createTraceValuesPassForBasicBlocks(); // Trace BB's and methods
+
+#endif