[LoopUtils] Clean up includes, use forward decls if appropriate (NFC).
authorFlorian Hahn <flo@fhahn.com>
Sun, 19 Apr 2020 17:17:20 +0000 (18:17 +0100)
committerFlorian Hahn <flo@fhahn.com>
Sun, 19 Apr 2020 18:44:29 +0000 (19:44 +0100)
commit7a87e8f90b1b1fb190d58088c35bea73b9e03555
tree019636de9364caad72cb125152a827e0b4f227c9
parent73c33fcf5638e60bbb7562ca07eb37cc831b251a
[LoopUtils] Clean up includes, use forward decls if appropriate (NFC).

Most of the includes in LoopUtils.h are not required in the header and
they can be replaced by forward declarations.

Unfortunately includes of TargetTransformInfo.h and IVDescriptors.h pull
in a bunch of additional things, but there is no easy way to get rid of
them at the moment I think.
llvm/include/llvm/Transforms/Utils/LoopUtils.h
llvm/lib/Transforms/Utils/LoopUtils.cpp