Rename constructor function
[oota-llvm.git] / include / llvm / Transforms / ChangeAllocations.h
1 //===- llvm/Transforms/ChangeAllocations.h -----------------------*- C++ -*--=//
2 //
3 // This file defines two passes that convert malloc and free instructions to
4 // calls to and from %malloc & %free function calls.  The LowerAllocations
5 // transformation is a target dependant tranformation because it depends on the
6 // size of data types and alignment constraints.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_TRANSFORMS_CHANGEALLOCATIONS_H
11 #define LLVM_TRANSFORMS_CHANGEALLOCATIONS_H
12
13 class Pass;
14 class TargetData;
15
16 Pass *createLowerAllocationsPass(const TargetData &TD);
17 Pass *createRaiseAllocationsPass();
18
19 #endif