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