Add a target callback for FastISel.
[oota-llvm.git] / lib / Target / X86 / X86FastISel.cpp
1 //===-- X86FastISel.cpp - X86 FastISel implementation ---------------------===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // This file defines the X86-specific support for the FastISel class. Much
11 // of the target-specific code is generated by tablegen in the file
12 // X86GenFastISel.inc, which is #included here.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #include "X86.h"
17 #include "X86RegisterInfo.h"
18 #include "X86ISelLowering.h"
19 #include "X86FastISel.h"
20 #include "X86TargetMachine.h"
21 #include "X86GenFastISel.inc"
22
23 namespace llvm {
24
25 namespace X86 {
26
27 bool
28 FastISel::TargetSelectInstruction(Instruction *I,
29                                   DenseMap<const Value *, unsigned> &ValueMap,
30                       DenseMap<const BasicBlock *, MachineBasicBlock *> &MBBMap,
31                                   MachineBasicBlock *MBB)  {
32   switch (I->getOpcode()) {
33   default: break;
34   }
35
36   return false;
37 }
38
39 }
40
41 }