TargetLoweringObjectFile.h - remove unnecessary includes. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 18 May 2020 15:56:53 +0000 (16:56 +0100)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Tue, 19 May 2020 08:28:13 +0000 (09:28 +0100)
commitcdafe59f9528567df2e06c9f92f089791e3b9d5b
tree2c9e304fc3fce018d7082976bc6415b8747c4c03
parentd94bacbcf87a06abc0c1fc3405406399460debc3
TargetLoweringObjectFile.h - remove unnecessary includes. NFCI.

Replace with forward declarations and move includes down to source files where required.

I also needed to move the TargetLoweringObjectFile::SectionForGlobal wrapper implementation down into TargetLoweringObjectFile.cpp
llvm/include/llvm/Target/TargetLoweringObjectFile.h
llvm/lib/CodeGen/GlobalMerge.cpp
llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
llvm/lib/Target/Hexagon/HexagonTargetObjectFile.h
llvm/lib/Target/PowerPC/PPCTargetObjectFile.cpp
llvm/lib/Target/TargetLoweringObjectFile.cpp