implement support for the intrinsic lowering functionality

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10629 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-12-28 09:47:19 +00:00
parent 37b1826aab
commit 4482715f3d
8 changed files with 126 additions and 59 deletions

View File

@@ -21,18 +21,21 @@ namespace llvm {
class TargetMachine;
class FunctionPass;
class IntrinsicLowering;
/// createX86SimpleInstructionSelector - This pass converts an LLVM function
/// into a machine code representation in a very simple peep-hole fashion. The
/// generated code sucks but the implementation is nice and simple.
///
FunctionPass *createX86SimpleInstructionSelector(TargetMachine &TM);
FunctionPass *createX86SimpleInstructionSelector(TargetMachine &TM,
IntrinsicLowering &IL);
/// createX86PatternInstructionSelector - This pass converts an LLVM function
/// into a machine code representation using pattern matching and a machine
/// description file.
///
FunctionPass *createX86PatternInstructionSelector(TargetMachine &TM);
FunctionPass *createX86PatternInstructionSelector(TargetMachine &TM,
IntrinsicLowering &IL);
/// createX86SSAPeepholeOptimizerPass - Create a pass to perform SSA-based X86
/// specific peephole optimizations.