1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file was developed by the LLVM research group and is distributed under
6 // the University of Illinois Open Source License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This files defines constructor functions for instrumentation passes.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_H
15 #define LLVM_TRANSFORMS_INSTRUMENTATION_H
21 //===----------------------------------------------------------------------===//
22 // Support for inserting LLVM code to print values at basic block and function
25 Pass *createTraceValuesPassForFunction(); // Just trace function entry/exit
26 Pass *createTraceValuesPassForBasicBlocks(); // Trace BB's and methods
28 } // End llvm namespace