LLVM API Documentation
00001 //===- PIC16Subtarget.cpp - PIC16 Subtarget Information -------------------===// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file is distributed under the University of Illinois Open Source 00006 // License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file implements the PIC16 specific subclass of TargetSubtarget. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #include "PIC16Subtarget.h" 00015 #include "PIC16GenSubtarget.inc" 00016 00017 using namespace llvm; 00018 00019 PIC16Subtarget::PIC16Subtarget(const Module &M, const std::string &FS, 00020 bool Cooper) 00021 :IsCooper(Cooper) 00022 { 00023 std::string CPU = "generic"; 00024 00025 // Parse features string. 00026 ParseSubtargetFeatures(FS, CPU); 00027 }