LLVM API Documentation
00001 //==-- llvm/Target/TargetSubtarget.h - Target Information --------*- C++ -*-==// 00002 // 00003 // The LLVM Compiler Infrastructure 00004 // 00005 // This file was developed by Nate Begeman and is distributed under the 00006 // University of Illinois Open Source License. See LICENSE.TXT for details. 00007 // 00008 //===----------------------------------------------------------------------===// 00009 // 00010 // This file describes the subtarget options of a Target machine. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #ifndef LLVM_TARGET_TARGETSUBTARGET_H 00015 #define LLVM_TARGET_TARGETSUBTARGET_H 00016 00017 namespace llvm { 00018 00019 //===----------------------------------------------------------------------===// 00020 /// 00021 /// TargetSubtarget - Generic base class for all target subtargets. All 00022 /// Target-specific options that control code generation and printing should 00023 /// be exposed through a TargetSubtarget-derived class. 00024 /// 00025 class TargetSubtarget { 00026 TargetSubtarget(const TargetSubtarget&); // DO NOT IMPLEMENT 00027 void operator=(const TargetSubtarget&); // DO NOT IMPLEMENT 00028 protected: // Can only create subclasses... 00029 TargetSubtarget(); 00030 public: 00031 virtual ~TargetSubtarget(); 00032 }; 00033 00034 } // End llvm namespace 00035 00036 #endif