blob: edb76f971533202a9ad815fde7df3105a00cf4b2 [file] [log] [blame]
Nate Begemanfb5792f2005-07-12 01:41:54 +00001//===-- TargetSubtarget.cpp - General Target Information -------------------==//
2//
3// The LLVM Compiler Infrastructure
4//
Chris Lattner4ee451d2007-12-29 20:36:04 +00005// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
Nate Begemanfb5792f2005-07-12 01:41:54 +00007//
8//===----------------------------------------------------------------------===//
9//
10// This file describes the general parts of a Subtarget.
11//
12//===----------------------------------------------------------------------===//
13
14#include "llvm/Target/TargetSubtarget.h"
David Goodwinc2e8a7e2009-11-10 00:48:55 +000015#include "llvm/ADT/SmallVector.h"
Nate Begemanfb5792f2005-07-12 01:41:54 +000016using namespace llvm;
17
18//---------------------------------------------------------------------------
19// TargetSubtarget Class
20//
Jeff Cohen74fa8d62005-07-12 02:59:38 +000021TargetSubtarget::TargetSubtarget() {}
Nate Begemanfb5792f2005-07-12 01:41:54 +000022
23TargetSubtarget::~TargetSubtarget() {}
David Goodwinc2e8a7e2009-11-10 00:48:55 +000024
25bool TargetSubtarget::enablePostRAScheduler(
26 CodeGenOpt::Level OptLevel,
27 AntiDepBreakMode& Mode,
David Goodwin87d21b92009-11-13 19:52:48 +000028 RegClassVector& CriticalPathRCs) const {
David Goodwinc2e8a7e2009-11-10 00:48:55 +000029 Mode = ANTIDEP_NONE;
David Goodwin87d21b92009-11-13 19:52:48 +000030 CriticalPathRCs.clear();
David Goodwinc2e8a7e2009-11-10 00:48:55 +000031 return false;
32}
33