OSDN Git Service

Reapply r345008 "Split MachinePipeliner code into header and cpp files"
authorAdrian Prantl <aprantl@apple.com>
Mon, 14 Jan 2019 17:24:11 +0000 (17:24 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 14 Jan 2019 17:24:11 +0000 (17:24 +0000)
commit4b3832cfb3c15f2750a20c9de3eff4415094538a
treefcd62fe976cb3788f6df6e112896b4594880115a
parent4f613a607d8d19203372de0bd495ade3d9cd59af
Reapply r345008 "Split MachinePipeliner code into header and cpp files"

Split MachinePipeliner code into header and cpp files to allow
inheritance from SwingSchedulerDAG.

This reapplies https://reviews.llvm.org/D56084 after moving the
implementation of the dump functions into the .cpp files. This fixes a
linker error when building with Clang modules enables and local
submodule visibility disabled.

Original patch by Lama Saba <lama.saba@intel.com>!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351077 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/MachinePipeliner.h [new file with mode: 0644]
lib/CodeGen/MachinePipeliner.cpp