summaryrefslogtreecommitdiff
path: root/lib/Target/Mips/MipsFastISel.cpp
blob: 70579bd270f05fe4b9e4ef2f66d6f584ce48498c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
//===-- MipsastISel.cpp - Mips FastISel implementation
//---------------------===//

#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/CodeGen/FastISel.h"
#include "llvm/Target/TargetLibraryInfo.h"
#include "MipsISelLowering.h"

using namespace llvm;

namespace {

class MipsFastISel final : public FastISel {

public:
  explicit MipsFastISel(FunctionLoweringInfo &funcInfo,
                        const TargetLibraryInfo *libInfo)
      : FastISel(funcInfo, libInfo) {}
  bool TargetSelectInstruction(const Instruction *I) override { return false; }
};
}

namespace llvm {
FastISel *Mips::createFastISel(FunctionLoweringInfo &funcInfo,
                               const TargetLibraryInfo *libInfo) {
  return new MipsFastISel(funcInfo, libInfo);
}
}