1 //===-- TargetSubtargetInfo.cpp - General Target Information ---------------==//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file describes the general parts of a Subtarget.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/Target/TargetSubtargetInfo.h"
15 #include "llvm/ADT/SmallVector.h"
18 //---------------------------------------------------------------------------
19 // TargetSubtargetInfo Class
21 TargetSubtargetInfo::TargetSubtargetInfo() {}
23 TargetSubtargetInfo::~TargetSubtargetInfo() {}
25 bool TargetSubtargetInfo::enablePostRAScheduler(
26 CodeGenOpt::Level OptLevel,
27 AntiDepBreakMode& Mode,
28 RegClassVector& CriticalPathRCs) const {
30 CriticalPathRCs.clear();