Reed Kotler | 720c5ca | 2014-04-17 22:15:34 +0000 | [diff] [blame^] | 1 | //===-- MipsastISel.cpp - Mips FastISel implementation |
| 2 | //---------------------===// |
| 3 | |
| 4 | #include "llvm/CodeGen/FunctionLoweringInfo.h" |
| 5 | #include "llvm/CodeGen/FastISel.h" |
| 6 | #include "llvm/Target/TargetLibraryInfo.h" |
| 7 | #include "MipsISelLowering.h" |
| 8 | |
| 9 | using namespace llvm; |
| 10 | |
| 11 | namespace { |
| 12 | |
| 13 | class MipsFastISel final : public FastISel { |
| 14 | |
| 15 | public: |
| 16 | explicit MipsFastISel(FunctionLoweringInfo &funcInfo, |
| 17 | const TargetLibraryInfo *libInfo) |
| 18 | : FastISel(funcInfo, libInfo) {} |
| 19 | bool TargetSelectInstruction(const Instruction *I) override { return false; } |
| 20 | }; |
| 21 | } |
| 22 | |
| 23 | namespace llvm { |
| 24 | FastISel *Mips::createFastISel(FunctionLoweringInfo &funcInfo, |
| 25 | const TargetLibraryInfo *libInfo) { |
| 26 | return new MipsFastISel(funcInfo, libInfo); |
| 27 | } |
| 28 | } |