[MBFI] Move BranchFolding::MBFIWrapper to its own files. NFC.
authorHiroshi Yamauchi <yamauchi@google.com>
Mon, 27 Jan 2020 18:05:54 +0000 (10:05 -0800)
committerHiroshi Yamauchi <yamauchi@google.com>
Tue, 28 Jan 2020 18:58:46 +0000 (10:58 -0800)
commit2c03c899d505e264b26ca20237ea455d85e51bed
tree5a52ebeb7c21103706ce80c82dd5a430729743e4
parentb8d9ac08703b1ae9c3cd721c39774053786a9980
[MBFI] Move BranchFolding::MBFIWrapper to its own files. NFC.

Summary:
To avoid header file circular dependency issues in passing updated MBFI (in
MBFIWrapper) to the interface of profile guided size optimizations.

A prep step for (and split off of) D73381.

Reviewers: davidxl

Subscribers: mgorny, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73494
llvm/include/llvm/CodeGen/MBFIWrapper.h [new file with mode: 0644]
llvm/lib/CodeGen/BranchFolding.cpp
llvm/lib/CodeGen/BranchFolding.h
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/IfConversion.cpp
llvm/lib/CodeGen/MBFIWrapper.cpp [new file with mode: 0644]
llvm/lib/CodeGen/MachineBlockPlacement.cpp