MCSchedule.cpp 1.4 KB

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