1 //===- BlackfinSubtarget.h - Define Subtarget for the Blackfin -*- C++ -*-====//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file declares the BLACKFIN specific subclass of TargetSubtargetInfo.
12 //===----------------------------------------------------------------------===//
14 #ifndef BLACKFIN_SUBTARGET_H
15 #define BLACKFIN_SUBTARGET_H
17 #include "llvm/Target/TargetSubtargetInfo.h"
20 #define GET_SUBTARGETINFO_HEADER
21 #include "BlackfinGenSubtargetInfo.inc"
26 class BlackfinSubtarget
: public BlackfinGenSubtargetInfo
{
39 BlackfinSubtarget(const std::string
&TT
, const std::string
&CPU
,
40 const std::string
&FS
);
42 /// ParseSubtargetFeatures - Parses features string setting specified
43 /// subtarget options. Definition of function is auto generated by tblgen.
44 void ParseSubtargetFeatures(StringRef CPU
, StringRef FS
);
47 } // end namespace llvm