| //===- BlackfinSubtarget.h - Define Subtarget for the Blackfin -*- 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 BLACKFIN specific subclass of TargetSubtargetInfo. |
| //===----------------------------------------------------------------------===// |
| #ifndef BLACKFIN_SUBTARGET_H |
| #define BLACKFIN_SUBTARGET_H |
| #include "llvm/Target/TargetSubtargetInfo.h" |
| #define GET_SUBTARGETINFO_HEADER |
| #include "BlackfinGenSubtargetInfo.inc" |
| class BlackfinSubtarget : public BlackfinGenSubtargetInfo { |
| BlackfinSubtarget(const std::string &TT, const std::string &CPU, |
| /// ParseSubtargetFeatures - Parses features string setting specified |
| /// subtarget options. Definition of function is auto generated by tblgen. |
| void ParseSubtargetFeatures(StringRef CPU, StringRef FS); |