Instrumentation.h revision b9eca537d08de504d43a9698244d32a59b359176
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 10class Pass; 11 12//===----------------------------------------------------------------------===// 13// Support for inserting LLVM code to print values at basic block and function 14// exits. 15// 16Pass *createTraceValuesPassForFunction(); // Just trace function entry/exit 17Pass *createTraceValuesPassForBasicBlocks(); // Trace BB's and methods 18 19#endif 20