Home | History | Annotate | Download | only in Target
      1 //===-- TargetSubtargetInfo.cpp - General Target Information ---------------==//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // This file describes the general parts of a Subtarget.
     11 //
     12 //===----------------------------------------------------------------------===//
     13 
     14 #include "llvm/Target/TargetSubtargetInfo.h"
     15 #include "llvm/ADT/SmallVector.h"
     16 using namespace llvm;
     17 
     18 //---------------------------------------------------------------------------
     19 // TargetSubtargetInfo Class
     20 //
     21 TargetSubtargetInfo::TargetSubtargetInfo() {}
     22 
     23 TargetSubtargetInfo::~TargetSubtargetInfo() {}
     24 
     25 bool TargetSubtargetInfo::enableMachineScheduler() const {
     26   return false;
     27 }
     28 
     29 bool TargetSubtargetInfo::enablePostRAScheduler(
     30           CodeGenOpt::Level OptLevel,
     31           AntiDepBreakMode& Mode,
     32           RegClassVector& CriticalPathRCs) const {
     33   Mode = ANTIDEP_NONE;
     34   CriticalPathRCs.clear();
     35   return false;
     36 }
     37 
     38