1 //===- MCSchedule.cpp - Scheduling ------------------------------*- C++ -*-===//
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 defines the default scheduling model.
12 //===----------------------------------------------------------------------===//
14 #include "llvm/MC/MCSchedule.h"
15 #include <type_traits>
19 static_assert(std::is_pod<MCSchedModel>::value,
20 "We shouldn't have a static constructor here");
21 const MCSchedModel MCSchedModel::Default = {DefaultIssueWidth,
22 DefaultMicroOpBufferSize,
23 DefaultLoopMicroOpBufferSize,
26 DefaultMispredictPenalty,