[LAA] Move CheckingPtrGroup/PointerCheck outside class (NFC).
authorFlorian Hahn <flo@fhahn.com>
Tue, 28 Apr 2020 20:35:02 +0000 (21:35 +0100)
committerFlorian Hahn <flo@fhahn.com>
Tue, 28 Apr 2020 20:47:31 +0000 (21:47 +0100)
commit616657b39c8122f10519f11d011375be35f6cf2e
tree677c33f9709a4ce211e7311688ea7f35b6012a8e
parent1baaa080e0481fa2a7cfafc7303c264d0a305c58
[LAA] Move CheckingPtrGroup/PointerCheck outside class (NFC).

This allows forward declarations of PointerCheck, which in turn reduce
the number of times LoopAccessAnalysis needs to be included.

Ultimately this helps with moving runtime check generation to
Transforms/Utils/LoopUtils.h, without having to include it there.

Reviewers: anemet, Ayal

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D78458
llvm/include/llvm/Analysis/LoopAccessAnalysis.h
llvm/include/llvm/Transforms/Utils/LoopVersioning.h
llvm/lib/Analysis/LoopAccessAnalysis.cpp
llvm/lib/Transforms/Scalar/LoopDistribute.cpp
llvm/lib/Transforms/Scalar/LoopLoadElimination.cpp
llvm/lib/Transforms/Utils/LoopUtils.cpp
llvm/lib/Transforms/Utils/LoopVersioning.cpp