mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-14 23:29:51 +00:00
Change the RaiseAllocations pass from being a BasicBlockPass to being a Pass
llvm-svn: 8279
This commit is contained in:
parent
1f9495ceab
commit
2ef2a63728
@ -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