1234353Sdim//===-- XCoreSubtarget.cpp - XCore Subtarget Information ------------------===// 2193323Sed// 3193323Sed// The LLVM Compiler Infrastructure 4193323Sed// 5193323Sed// This file is distributed under the University of Illinois Open Source 6193323Sed// License. See LICENSE.TXT for details. 7193323Sed// 8193323Sed//===----------------------------------------------------------------------===// 9193323Sed// 10224145Sdim// This file implements the XCore specific subclass of TargetSubtargetInfo. 11193323Sed// 12193323Sed//===----------------------------------------------------------------------===// 13193323Sed 14193323Sed#include "XCoreSubtarget.h" 15193323Sed#include "XCore.h" 16226633Sdim#include "llvm/Support/TargetRegistry.h" 17224145Sdim 18224145Sdim#define GET_SUBTARGETINFO_TARGET_DESC 19224145Sdim#define GET_SUBTARGETINFO_CTOR 20224145Sdim#include "XCoreGenSubtargetInfo.inc" 21224145Sdim 22193323Sedusing namespace llvm; 23193323Sed 24234353Sdimvoid XCoreSubtarget::anchor() { } 25234353Sdim 26224145SdimXCoreSubtarget::XCoreSubtarget(const std::string &TT, 27224145Sdim const std::string &CPU, const std::string &FS) 28224145Sdim : XCoreGenSubtargetInfo(TT, CPU, FS) 29193323Sed{ 30193323Sed} 31