blob: 0aa20f9fe22bfe94ec44914620677d4ce83f0394 [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"
15
16using namespace llvm;
17
18static_assert(std::is_pod<MCSchedModel>::value,
19 "We shouldn't have a static constructor here");
20const MCSchedModel MCSchedModel::Default = {DefaultIssueWidth,
21 DefaultMicroOpBufferSize,
22 DefaultLoopMicroOpBufferSize,
23 DefaultLoadLatency,
24 DefaultHighLatency,
25 DefaultMispredictPenalty,
26 false,
27 true,
28 0,
29 nullptr,
30 nullptr,
31 0,
32 0,
33 nullptr};