aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Blackfin/BlackfinSubtarget.cpp
blob: cf14b105aaf8846f010811cd105d30bc8fdc09ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===- BlackfinSubtarget.cpp - BLACKFIN Subtarget Information -------------===//
//
//                     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 blackfin specific subclass of TargetSubtarget.
//
//===----------------------------------------------------------------------===//

#include "BlackfinSubtarget.h"
#include "BlackfinGenSubtarget.inc"

using namespace llvm;

BlackfinSubtarget::BlackfinSubtarget(const TargetMachine &TM,
                                     const Module &M,
                                     const std::string &FS) {
  std::string CPU = "generic";

  // Parse features string.
  ParseSubtargetFeatures(FS, CPU);
}