[Attributor][NFC] Split AbstractAttributes out of Attributor.cpp
authorJohannes Doerfert <johannes@jdoerfert.de>
Wed, 8 Apr 2020 22:24:24 +0000 (17:24 -0500)
committerJohannes Doerfert <johannes@jdoerfert.de>
Thu, 9 Apr 2020 00:02:14 +0000 (19:02 -0500)
commit0985554b709fe6856a2cb77f3739cdeb1bbf9ba5
tree7d798512ec5383caa195f1e5f64e1193dd59fc21
parent21605a1207743c9256c147086afa05c5c3636b26
[Attributor][NFC] Split AbstractAttributes out of Attributor.cpp

Attributor.cpp became quite big and we need to start provide structure.
The Attributor code is now in Attributor.cpp and the classes derived
from AbstractAttribute are in AttributorAttributes.cpp. Minor changes
were required but no intended functional changes.

We also minimized includes as part of this.

Reviewed By: baziotis

Differential Revision: https://reviews.llvm.org/D76873
llvm/include/llvm/Transforms/IPO/Attributor.h
llvm/lib/Transforms/IPO/Attributor.cpp
llvm/lib/Transforms/IPO/AttributorAttributes.cpp [new file with mode: 0644]
llvm/lib/Transforms/IPO/CMakeLists.txt
llvm/utils/gn/secondary/llvm/lib/Transforms/IPO/BUILD.gn