blob: 8d0f254e087a73b36e1112bc66e5829fb0f78ed0 [file] [log] [blame]
//===-- XCoreSubtarget.h - Define Subtarget for the XCore -------*- C++ -*-===//
// The LLVM Compiler Infrastructure
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
// This file declares the XCore specific subclass of TargetSubtargetInfo.
#include "llvm/Target/TargetSubtargetInfo.h"
#include "llvm/Target/TargetMachine.h"
#include <string>
#include ""
namespace llvm {
class StringRef;
class XCoreSubtarget : public XCoreGenSubtargetInfo {
virtual void anchor();
/// This constructor initializes the data members to match that
/// of the specified triple.
XCoreSubtarget(const std::string &TT, const std::string &CPU,
const std::string &FS);
/// ParseSubtargetFeatures - Parses features string setting specified
/// subtarget options. Definition of function is auto generated by tblgen.
void ParseSubtargetFeatures(StringRef CPU, StringRef FS);
} // End llvm namespace