summaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16Subtarget.cpp
blob: db8a5d84a4bff612f9de16ad7eb70e18e6a12f21 (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
27
//===- PIC16Subtarget.cpp - PIC16 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 PIC16 specific subclass of TargetSubtarget.
//
//===----------------------------------------------------------------------===//

#include "PIC16Subtarget.h"
#include "PIC16GenSubtarget.inc"

using namespace llvm;

PIC16Subtarget::PIC16Subtarget(const Module &M, const std::string &FS, 
                               bool Cooper)
  :IsCooper(Cooper)
{
  std::string CPU = "generic";

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