diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:10:56 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:10:56 +0000 |
| commit | 044eb2f6afba375a914ac9d8024f8f5142bb912e (patch) | |
| tree | 1475247dc9f9fe5be155ebd4c9069c75aadf8c20 /lib/Target/ARC/ARCSubtarget.cpp | |
| parent | eb70dddbd77e120e5d490bd8fbe7ff3f8fa81c6b (diff) | |
Notes
Diffstat (limited to 'lib/Target/ARC/ARCSubtarget.cpp')
| -rw-r--r-- | lib/Target/ARC/ARCSubtarget.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/Target/ARC/ARCSubtarget.cpp b/lib/Target/ARC/ARCSubtarget.cpp new file mode 100644 index 000000000000..2107a27bf786 --- /dev/null +++ b/lib/Target/ARC/ARCSubtarget.cpp @@ -0,0 +1,31 @@ +//===- ARCSubtarget.cpp - ARC Subtarget Information -------------*- C++ -*-===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// +// +// This file implements the ARC specific subclass of TargetSubtargetInfo. +// +//===----------------------------------------------------------------------===// + +#include "ARCSubtarget.h" +#include "ARC.h" +#include "llvm/Support/TargetRegistry.h" + +using namespace llvm; + +#define DEBUG_TYPE "arc-subtarget" + +#define GET_SUBTARGETINFO_TARGET_DESC +#define GET_SUBTARGETINFO_CTOR +#include "ARCGenSubtargetInfo.inc" + +void ARCSubtarget::anchor() {} + +ARCSubtarget::ARCSubtarget(const Triple &TT, const std::string &CPU, + const std::string &FS, const TargetMachine &TM) + : ARCGenSubtargetInfo(TT, CPU, FS), FrameLowering(*this), + TLInfo(TM, *this) {} |
