diff options
author | dim <dim@FreeBSD.org> | 2012-04-14 13:54:10 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2012-04-14 13:54:10 +0000 |
commit | 1fc08f5e9ef733ef1ce6f363fecedc2260e78974 (patch) | |
tree | 19c69a04768629f2d440944b71cbe90adae0b615 /lib/Target/Alpha/AlphaSubtarget.cpp | |
parent | 07637c87f826cdf411f0673595e9bc92ebd793f2 (diff) | |
download | FreeBSD-src-1fc08f5e9ef733ef1ce6f363fecedc2260e78974.zip FreeBSD-src-1fc08f5e9ef733ef1ce6f363fecedc2260e78974.tar.gz |
Vendor import of llvm trunk r154661:
http://llvm.org/svn/llvm-project/llvm/trunk@r154661
Diffstat (limited to 'lib/Target/Alpha/AlphaSubtarget.cpp')
-rw-r--r-- | lib/Target/Alpha/AlphaSubtarget.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/lib/Target/Alpha/AlphaSubtarget.cpp b/lib/Target/Alpha/AlphaSubtarget.cpp deleted file mode 100644 index bd55ce9..0000000 --- a/lib/Target/Alpha/AlphaSubtarget.cpp +++ /dev/null @@ -1,35 +0,0 @@ -//===- AlphaSubtarget.cpp - Alpha 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 Alpha specific subclass of TargetSubtargetInfo. -// -//===----------------------------------------------------------------------===// - -#include "AlphaSubtarget.h" -#include "Alpha.h" - -#define GET_SUBTARGETINFO_TARGET_DESC -#define GET_SUBTARGETINFO_CTOR -#include "AlphaGenSubtargetInfo.inc" - -using namespace llvm; - -AlphaSubtarget::AlphaSubtarget(const std::string &TT, const std::string &CPU, - const std::string &FS) - : AlphaGenSubtargetInfo(TT, CPU, FS), HasCT(false) { - std::string CPUName = CPU; - if (CPUName.empty()) - CPUName = "generic"; - - // Parse features string. - ParseSubtargetFeatures(CPUName, FS); - - // Initialize scheduling itinerary for the specified CPU. - InstrItins = getInstrItineraryForCPU(CPUName); -} |