llvm.org GIT mirror llvm / f2ab412
* Most pass ctor functions don't take TM arguments anymore * New createPrologEpilogCodeInserter() function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5181 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 12 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
1919 ///
2020 Pass *createSimpleX86InstructionSelector(TargetMachine &TM);
2121
22 /// createSimpleRegisterAllocation - This function converts the specified
23 /// machine code function from SSA form to use explicit registers by spilling
24 /// every register. Wow, great policy huh?
22 /// createSimpleRegisterAllocation - This function returns a pass that converts
23 /// the specified machine code function from SSA form to use explicit registers
24 /// by spilling every register. Wow, great policy huh?
2525 ///
26 Pass *createSimpleRegisterAllocator(TargetMachine &TM);
27 Pass *createLocalRegisterAllocator(TargetMachine &TM);
26 Pass *createSimpleRegisterAllocator();
27 Pass *createLocalRegisterAllocator();
28
29 /// createPrologEpilogCodeInserter - This function returns a pass that inserts
30 /// prolog and epilog code, and eliminates abstract frame references.
31 ///
32 Pass *createPrologEpilogCodeInserter();
2833
2934 /// createX86CodePrinterPass - Print out the specified machine code function to
3035 /// the specified stream. This function should work regardless of whether or
3136 /// not the function is in SSA form or not.
3237 ///
33 Pass *createX86CodePrinterPass(TargetMachine &TM, std::ostream &O);
38 Pass *createX86CodePrinterPass(std::ostream &O);
3439
3540 /// X86EmitCodeToMemory - This function converts a register allocated function
3641 /// into raw machine code in a dynamically allocated chunk of memory. A pointer
3742 /// to the start of the function is returned.
3843 ///
39 Pass *createEmitX86CodeToMemory(TargetMachine &TM);
44 Pass *createEmitX86CodeToMemory();
4045
4146 // Put symbolic names in a namespace to avoid causing these to clash with all
4247 // kinds of other things...