New header
[oota-llvm.git] / include / llvm / Transforms / Instrumentation.h
1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
2 //
3 // This files defines constructor functions for instrumentation passes.
4 //
5 //===----------------------------------------------------------------------===//
6
7 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_H
8 #define LLVM_TRANSFORMS_INSTRUMENTATION_H
9
10 class Pass;
11
12 //===----------------------------------------------------------------------===//
13 // Support for inserting LLVM code to print values at basic block and function
14 // exits.
15 //
16 Pass *createTraceValuesPassForFunction();     // Just trace function entry/exit
17 Pass *createTraceValuesPassForBasicBlocks();  // Trace BB's and methods
18
19 #endif