[VPlan] Move GraphTraits definitions to separate header (NFC).
authorFlorian Hahn <flo@fhahn.com>
Sat, 31 Dec 2022 15:14:57 +0000 (15:14 +0000)
committerFlorian Hahn <flo@fhahn.com>
Sat, 31 Dec 2022 15:14:57 +0000 (15:14 +0000)
commitcd16a3f04c07fbe9e49275319816b5a8cac60442
tree7c612805b93ad3c3d98a42bf2e79e8d1f1161450
parent5f9cd099d62a9639ccf52f6ff609579e2be78a3c
[VPlan] Move GraphTraits definitions to separate header (NFC).

This reduces the size of VPlan.h and avoids future growth of the file
when the graph traits are extended in future patches.

Reviewed By: Ayal

Differential Revision: https://reviews.llvm.org/D140500
llvm/lib/Transforms/Vectorize/VPlan.cpp
llvm/lib/Transforms/Vectorize/VPlan.h
llvm/lib/Transforms/Vectorize/VPlanCFG.h [new file with mode: 0644]
llvm/lib/Transforms/Vectorize/VPlanDominatorTree.h
llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
llvm/lib/Transforms/Vectorize/VPlanVerifier.cpp
llvm/unittests/Transforms/Vectorize/VPlanTest.cpp