LLVM API Documentation
00001 //===-- TargetSubtargetInfo.cpp - General Target 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 describes the general parts of a Subtarget. 00011 // 00012 //===----------------------------------------------------------------------===// 00013 00014 #include "llvm/Target/TargetSubtargetInfo.h" 00015 #include "llvm/ADT/SmallVector.h" 00016 using namespace llvm; 00017 00018 //--------------------------------------------------------------------------- 00019 // TargetSubtargetInfo Class 00020 // 00021 TargetSubtargetInfo::TargetSubtargetInfo() {} 00022 00023 TargetSubtargetInfo::~TargetSubtargetInfo() {} 00024 00025 bool TargetSubtargetInfo::enableMachineScheduler() const { 00026 return false; 00027 } 00028 00029 bool TargetSubtargetInfo::enablePostRAScheduler( 00030 CodeGenOpt::Level OptLevel, 00031 AntiDepBreakMode& Mode, 00032 RegClassVector& CriticalPathRCs) const { 00033 Mode = ANTIDEP_NONE; 00034 CriticalPathRCs.clear(); 00035 return false; 00036 } 00037