blob: f3919427bf0522471bc4ce41b782737b8c7c7e8d [file] [log] [blame]
Duncan P. N. Exon Smithf862f872015-07-10 22:13:43 +00001//===- 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"
Duncan P. N. Exon Smithf787ed02015-07-10 22:17:49 +000015#include <type_traits>
Duncan P. N. Exon Smithf862f872015-07-10 22:13:43 +000016
17using namespace llvm;
18
19static_assert(std::is_pod<MCSchedModel>::value,
20 "We shouldn't have a static constructor here");
21const 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};