Duncan P. N. Exon Smith | f862f87 | 2015-07-10 22:13:43 +0000 | [diff] [blame] | 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" |
Duncan P. N. Exon Smith | f787ed0 | 2015-07-10 22:17:49 +0000 | [diff] [blame] | 15 | #include <type_traits> |
Duncan P. N. Exon Smith | f862f87 | 2015-07-10 22:13:43 +0000 | [diff] [blame] | 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}; |