2008-05-13 09:02:57 +00:00
|
|
|
//===- 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.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2008-05-14 11:31:39 +00:00
|
|
|
#include "PIC16Subtarget.h"
|
2008-05-13 09:02:57 +00:00
|
|
|
#include "PIC16GenSubtarget.inc"
|
2008-11-19 11:00:54 +00:00
|
|
|
|
2008-05-13 09:02:57 +00:00
|
|
|
using namespace llvm;
|
|
|
|
|
2009-08-02 22:11:08 +00:00
|
|
|
PIC16Subtarget::PIC16Subtarget(const std::string &TT, const std::string &FS,
|
2008-11-19 11:00:54 +00:00
|
|
|
bool Cooper)
|
|
|
|
:IsCooper(Cooper)
|
2008-05-13 09:02:57 +00:00
|
|
|
{
|
|
|
|
std::string CPU = "generic";
|
|
|
|
|
|
|
|
// Parse features string.
|
|
|
|
ParseSubtargetFeatures(FS, CPU);
|
|
|
|
}
|