1 //===-- TargetSubtarget.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/TargetSubtarget.h"
15 #include "llvm/ADT/SmallVector.h"
18 //---------------------------------------------------------------------------
19 // TargetSubtarget Class
21 TargetSubtarget::TargetSubtarget() {}
23 TargetSubtarget::~TargetSubtarget() {}
25 bool TargetSubtarget::enablePostRAScheduler(
26 CodeGenOpt::Level OptLevel,
27 AntiDepBreakMode& Mode,
28 RegClassVector& CriticalPathRCs) const {
30 CriticalPathRCs.clear();