TargetSubtargetInfo.cpp revision 249423
1//===-- TargetSubtargetInfo.cpp - General Target Information ---------------==// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// 9// 10// This file describes the general parts of a Subtarget. 11// 12//===----------------------------------------------------------------------===// 13 14#include "llvm/Target/TargetSubtargetInfo.h" 15#include "llvm/ADT/SmallVector.h" 16using namespace llvm; 17 18//--------------------------------------------------------------------------- 19// TargetSubtargetInfo Class 20// 21TargetSubtargetInfo::TargetSubtargetInfo() {} 22 23TargetSubtargetInfo::~TargetSubtargetInfo() {} 24 25bool TargetSubtargetInfo::enableMachineScheduler() const { 26 return false; 27} 28 29bool TargetSubtargetInfo::enablePostRAScheduler( 30 CodeGenOpt::Level OptLevel, 31 AntiDepBreakMode& Mode, 32 RegClassVector& CriticalPathRCs) const { 33 Mode = ANTIDEP_NONE; 34 CriticalPathRCs.clear(); 35 return false; 36} 37 38