summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-12-28 09:47:19 +0000
committerChris Lattner <sabre@nondot.org>2003-12-28 09:47:19 +0000
commit4482715f3d1c165be82bd5aed07231f956e472ef (patch)
treed8e9be552211f43e35a9187fc1b0ef42b877312f /lib/Target/X86/X86.h
parent37b1826aab4614da2196d1b32d7a97cb9fcb3a21 (diff)
downloadllvm-4482715f3d1c165be82bd5aed07231f956e472ef.tar.gz
llvm-4482715f3d1c165be82bd5aed07231f956e472ef.tar.bz2
llvm-4482715f3d1c165be82bd5aed07231f956e472ef.tar.xz
implement support for the intrinsic lowering functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10629 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86.h')
-rw-r--r--lib/Target/X86/X86.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h
index 35845fb038..65c13bf001 100644
--- a/lib/Target/X86/X86.h
+++ b/lib/Target/X86/X86.h
@@ -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.