1 //===- Transforms/Instrumentation.h - Instrumentation passes ----*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file defines constructor functions for instrumentation passes.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_TRANSFORMS_INSTRUMENTATION_H
15 #define LLVM_TRANSFORMS_INSTRUMENTATION_H
22 // Insert function profiling instrumentation
23 ModulePass *createFunctionProfilerPass();
25 // Insert block profiling instrumentation
26 ModulePass *createBlockProfilerPass();
28 // Insert edge profiling instrumentation
29 ModulePass *createEdgeProfilerPass();
31 // Random Sampling Profiling Framework
32 ModulePass* createNullProfilerRSPass();
33 FunctionPass* createRSProfilingPass();
35 } // End llvm namespace