Path: blob/main/contrib/llvm-project/llvm/lib/Target/ARC/ARCSubtarget.cpp
35266 views
//===- ARCSubtarget.cpp - ARC Subtarget Information -------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file implements the ARC specific subclass of TargetSubtargetInfo.9//10//===----------------------------------------------------------------------===//1112#include "ARCSubtarget.h"13#include "ARC.h"14#include "llvm/MC/TargetRegistry.h"1516using namespace llvm;1718#define DEBUG_TYPE "arc-subtarget"1920#define GET_SUBTARGETINFO_TARGET_DESC21#define GET_SUBTARGETINFO_CTOR22#include "ARCGenSubtargetInfo.inc"2324void ARCSubtarget::anchor() {}2526ARCSubtarget::ARCSubtarget(const Triple &TT, const std::string &CPU,27const std::string &FS, const TargetMachine &TM)28: ARCGenSubtargetInfo(TT, CPU, /*TuneCPU=*/CPU, FS), InstrInfo(*this),29FrameLowering(*this), TLInfo(TM, *this) {}303132