diff options
| author | Chris Lattner <sabre@nondot.org> | 2002-12-28 20:26:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2002-12-28 20:26:16 +0000 |
| commit | 4937643df980cbf52d432c052d238097f690d981 (patch) | |
| tree | c26d2c79dbce1129b5a8adc96b40bd44dd741a71 /llvm/lib | |
| parent | 1520c5ab2a323e9db92e6deecfa9b071cfa4663f (diff) | |
| download | bcm5719-llvm-4937643df980cbf52d432c052d238097f690d981.tar.gz bcm5719-llvm-4937643df980cbf52d432c052d238097f690d981.zip | |
* Most pass ctor functions don't take TM arguments anymore
* New createPrologEpilogCodeInserter() function
llvm-svn: 5181
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Target/X86/X86.h | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/llvm/lib/Target/X86/X86.h b/llvm/lib/Target/X86/X86.h index ee152d41b37..b2176aa1ebe 100644 --- a/llvm/lib/Target/X86/X86.h +++ b/llvm/lib/Target/X86/X86.h @@ -20,24 +20,29 @@ class Pass; /// Pass *createSimpleX86InstructionSelector(TargetMachine &TM); -/// createSimpleRegisterAllocation - This function converts the specified -/// machine code function from SSA form to use explicit registers by spilling -/// every register. Wow, great policy huh? +/// createSimpleRegisterAllocation - This function returns a pass that converts +/// the specified machine code function from SSA form to use explicit registers +/// by spilling every register. Wow, great policy huh? /// -Pass *createSimpleRegisterAllocator(TargetMachine &TM); -Pass *createLocalRegisterAllocator(TargetMachine &TM); +Pass *createSimpleRegisterAllocator(); +Pass *createLocalRegisterAllocator(); + +/// createPrologEpilogCodeInserter - This function returns a pass that inserts +/// prolog and epilog code, and eliminates abstract frame references. +/// +Pass *createPrologEpilogCodeInserter(); /// createX86CodePrinterPass - Print out the specified machine code function to /// the specified stream. This function should work regardless of whether or /// not the function is in SSA form or not. /// -Pass *createX86CodePrinterPass(TargetMachine &TM, std::ostream &O); +Pass *createX86CodePrinterPass(std::ostream &O); /// X86EmitCodeToMemory - This function converts a register allocated function /// into raw machine code in a dynamically allocated chunk of memory. A pointer /// to the start of the function is returned. /// -Pass *createEmitX86CodeToMemory(TargetMachine &TM); +Pass *createEmitX86CodeToMemory(); // Put symbolic names in a namespace to avoid causing these to clash with all // kinds of other things... |

