LLVM API Documentation

AlphaSubtarget.cpp

Go to the documentation of this file.
00001 //===- AlphaSubtarget.cpp - Alpha Subtarget Information ---------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file was developed by Andrew Lenharth and is distributed under the
00006 // University of Illinois Open Source License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file implements the Alpha specific subclass of TargetSubtarget.
00011 //
00012 //===----------------------------------------------------------------------===//
00013 
00014 #include "AlphaSubtarget.h"
00015 #include "Alpha.h"
00016 #include "AlphaGenSubtarget.inc"
00017 using namespace llvm;
00018 
00019 AlphaSubtarget::AlphaSubtarget(const Module &M, const std::string &FS)
00020   : HasF2I(false), HasCT(false) {
00021   std::string CPU = "generic";
00022 
00023   // Parse features string.
00024   ParseSubtargetFeatures(FS, CPU);
00025 }