mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 05:32:25 +00:00
bd0ef77cde
creation functions in their public header file, unless they can help it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1816 91177308-0d34-0410-b5e6-96231b3b80d8
20 lines
670 B
C++
20 lines
670 B
C++
//===- llvm/Transforms/ChangeAllocations.h -----------------------*- C++ -*--=//
|
|
//
|
|
// This file defines two passes that convert malloc and free instructions to
|
|
// calls to and from %malloc & %free function calls. The LowerAllocations
|
|
// transformation is a target dependant tranformation because it depends on the
|
|
// size of data types and alignment constraints.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLVM_TRANSFORMS_CHANGEALLOCATIONS_H
|
|
#define LLVM_TRANSFORMS_CHANGEALLOCATIONS_H
|
|
|
|
class Pass;
|
|
class TargetData;
|
|
|
|
Pass *createLowerAllocationsPass(const TargetData &TD);
|
|
Pass *createRaiseAllocationsPass();
|
|
|
|
#endif
|