mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 05:29:24 +00:00
Change the RaiseAllocations pass from being a BasicBlockPass to being a Pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8279 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
36f18aefe8
commit
2757af2d47
@ -21,6 +21,13 @@ class Function;
|
||||
Pass *createConstantMergePass();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createRaiseAllocationsPass - Return a new pass that transforms malloc and
|
||||
// free function calls into malloc and free instructions.
|
||||
//
|
||||
Pass *createRaiseAllocationsPass();
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// createDeadTypeEliminationPass - Return a new pass that eliminates symbol
|
||||
// table entries for types that are never used.
|
||||
|
@ -235,11 +235,10 @@ extern const PassInfo *LoopPreheadersID;
|
||||
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// These two passes convert malloc and free instructions to and from %malloc &
|
||||
// %free function calls.
|
||||
// This pass convert malloc and free instructions to %malloc & %free function
|
||||
// calls.
|
||||
//
|
||||
FunctionPass *createLowerAllocationsPass();
|
||||
Pass *createRaiseAllocationsPass();
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
// This pass converts SwitchInst instructions into a sequence of chained binary
|
||||
|
Loading…
Reference in New Issue
Block a user