[PGO][PGSO] SizeOpts changes.
authorHiroshi Yamauchi <yamauchi@google.com>
Mon, 28 Oct 2019 19:35:34 +0000 (12:35 -0700)
committerHiroshi Yamauchi <yamauchi@google.com>
Mon, 28 Oct 2019 19:57:26 +0000 (12:57 -0700)
commit75f72f6b73180ca7c777915a20b293b89ebd142b
tree90baa76f2de70ca373d02084487ccc5a2e4598d5
parentc7557dd692368d8ac3fc330d698b536e78560ac4
[PGO][PGSO] SizeOpts changes.

Summary:
(Split of off D67120)

SizeOpts/MachineSizeOpts changes for profile guided size optimization.

(A second try after previously committed as r375254 and reverted as r375375.)

Subscribers: mgorny, hiraditya, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D69409
15 files changed:
llvm/include/llvm/CodeGen/MachineBlockFrequencyInfo.h
llvm/include/llvm/CodeGen/MachineDominators.h
llvm/include/llvm/CodeGen/MachineLoopInfo.h
llvm/include/llvm/CodeGen/MachineSizeOpts.h [new file with mode: 0644]
llvm/include/llvm/Transforms/Utils/SizeOpts.h
llvm/lib/CodeGen/CMakeLists.txt
llvm/lib/CodeGen/MachineBlockFrequencyInfo.cpp
llvm/lib/CodeGen/MachineDominators.cpp
llvm/lib/CodeGen/MachineLoopInfo.cpp
llvm/lib/CodeGen/MachineSizeOpts.cpp [new file with mode: 0644]
llvm/lib/Transforms/Utils/SizeOpts.cpp
llvm/unittests/Target/X86/CMakeLists.txt [new file with mode: 0644]
llvm/unittests/Target/X86/MachineSizeOptsTest.cpp [new file with mode: 0644]
llvm/unittests/Transforms/Utils/CMakeLists.txt
llvm/unittests/Transforms/Utils/SizeOptsTest.cpp [new file with mode: 0644]