[ORC] Add std::tuple support to SimplePackedSerialization.
[llvm-project.git] / llvm / lib / Target / XCore / XCoreSubtarget.cpp
blob4b29751c7d06272737757828ade82602f9c1943a
1 //===-- XCoreSubtarget.cpp - XCore Subtarget Information ------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file implements the XCore specific subclass of TargetSubtargetInfo.
11 //===----------------------------------------------------------------------===//
13 #include "XCoreSubtarget.h"
14 #include "XCore.h"
15 #include "llvm/Support/TargetRegistry.h"
17 using namespace llvm;
19 #define DEBUG_TYPE "xcore-subtarget"
21 #define GET_SUBTARGETINFO_TARGET_DESC
22 #define GET_SUBTARGETINFO_CTOR
23 #include "XCoreGenSubtargetInfo.inc"
25 void XCoreSubtarget::anchor() { }
27 XCoreSubtarget::XCoreSubtarget(const Triple &TT, const std::string &CPU,
28 const std::string &FS, const TargetMachine &TM)
29 : XCoreGenSubtargetInfo(TT, CPU, /*TuneCPU*/ CPU, FS), InstrInfo(),
30 FrameLowering(*this), TLInfo(TM, *this), TSInfo() {}