aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PIC16/PIC16Subtarget.cpp
blob: b7ebf94bc163a2526e7bc0bc9863a3c8153c0c90 (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 "PIC16.h"
#include "PIC16Subtarget.h"
#include "PIC16GenSubtarget.inc"
using namespace llvm;

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

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