1 //===- ARCSubtarget.cpp - ARC Subtarget Information -------------*- C++ -*-===//
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
7 //===----------------------------------------------------------------------===//
9 // This file implements the ARC specific subclass of TargetSubtargetInfo.
11 //===----------------------------------------------------------------------===//
13 #include "ARCSubtarget.h"
15 #include "llvm/Support/TargetRegistry.h"
19 #define DEBUG_TYPE "arc-subtarget"
21 #define GET_SUBTARGETINFO_TARGET_DESC
22 #define GET_SUBTARGETINFO_CTOR
23 #include "ARCGenSubtargetInfo.inc"
25 void ARCSubtarget::anchor() {}
27 ARCSubtarget::ARCSubtarget(const Triple
&TT
, const std::string
&CPU
,
28 const std::string
&FS
, const TargetMachine
&TM
)
29 : ARCGenSubtargetInfo(TT
, CPU
, FS
), FrameLowering(*this),