1234353Sdim//===-- XCoreSubtarget.cpp - XCore Subtarget Information ------------------===// 2193323Sed// 3353358Sdim// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4353358Sdim// See https://llvm.org/LICENSE.txt for license information. 5353358Sdim// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6193323Sed// 7193323Sed//===----------------------------------------------------------------------===// 8193323Sed// 9224145Sdim// This file implements the XCore specific subclass of TargetSubtargetInfo. 10193323Sed// 11193323Sed//===----------------------------------------------------------------------===// 12193323Sed 13193323Sed#include "XCoreSubtarget.h" 14193323Sed#include "XCore.h" 15226633Sdim#include "llvm/Support/TargetRegistry.h" 16224145Sdim 17276479Sdimusing namespace llvm; 18276479Sdim 19276479Sdim#define DEBUG_TYPE "xcore-subtarget" 20276479Sdim 21224145Sdim#define GET_SUBTARGETINFO_TARGET_DESC 22224145Sdim#define GET_SUBTARGETINFO_CTOR 23224145Sdim#include "XCoreGenSubtargetInfo.inc" 24224145Sdim 25234353Sdimvoid XCoreSubtarget::anchor() { } 26234353Sdim 27288943SdimXCoreSubtarget::XCoreSubtarget(const Triple &TT, const std::string &CPU, 28276479Sdim const std::string &FS, const TargetMachine &TM) 29288943Sdim : XCoreGenSubtargetInfo(TT, CPU, FS), InstrInfo(), FrameLowering(*this), 30288943Sdim TLInfo(TM, *this), TSInfo() {} 31