1 //===- MCSchedule.cpp - Scheduling ------------------------------*- C++ -*-===//
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 defines the default scheduling model.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #include "llvm/MC/MCSchedule.h"
15 #include <type_traits>
16 
17 using namespace llvm;
18 
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,
24                                             DefaultLoadLatency,
25                                             DefaultHighLatency,
26                                             DefaultMispredictPenalty,
27                                             false,
28                                             true,
29                                             0,
30                                             nullptr,
31                                             nullptr,
32                                             0,
33                                             0,
34                                             nullptr};
35