llvm.org GIT mirror llvm / release_27 lib / Target / TargetSubtarget.cpp
release_27

Tree @release_27 (Download .tar.gz)

TargetSubtarget.cpp @release_27raw · history · blame

//===-- TargetSubtarget.cpp - General Target Information -------------------==//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file describes the general parts of a Subtarget.
//
//===----------------------------------------------------------------------===//

#include "llvm/Target/TargetSubtarget.h"
#include "llvm/ADT/SmallVector.h"
using namespace llvm;

//---------------------------------------------------------------------------
// TargetSubtarget Class
//
TargetSubtarget::TargetSubtarget() {}

TargetSubtarget::~TargetSubtarget() {}

bool TargetSubtarget::enablePostRAScheduler(
          CodeGenOpt::Level OptLevel,
          AntiDepBreakMode& Mode,
          RegClassVector& CriticalPathRCs) const {
  Mode = ANTIDEP_NONE;
  CriticalPathRCs.clear();
  return false;
}