diff options
| author | 2018-04-06 14:26:03 +0000 | |
|---|---|---|
| committer | 2018-04-06 14:26:03 +0000 | |
| commit | bdabc2f19ffb9e20600dad6e8a300842a7bda50e (patch) | |
| tree | c50e7b2e5449b074651bb82a58517a8ebc4a8cf7 /gnu/llvm/lib/Target/ARC/ARCSubtarget.cpp | |
| parent | Print a 'p' flag for file descriptors that were opened after pledge(2). (diff) | |
| download | wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.tar.xz wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.zip | |
Import LLVM 6.0.1 release including clang, lld and lldb.
"where is the kaboom?" deraadt@
Diffstat (limited to 'gnu/llvm/lib/Target/ARC/ARCSubtarget.cpp')
| -rw-r--r-- | gnu/llvm/lib/Target/ARC/ARCSubtarget.cpp | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/llvm/lib/Target/ARC/ARCSubtarget.cpp b/gnu/llvm/lib/Target/ARC/ARCSubtarget.cpp new file mode 100644 index 00000000000..2107a27bf78 --- /dev/null +++ b/gnu/llvm/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) {} |
