[VPlan] Use macro to define recipe classof implementation (NFC).
authorFlorian Hahn <flo@fhahn.com>
Fri, 16 Dec 2022 17:52:15 +0000 (17:52 +0000)
committerFlorian Hahn <flo@fhahn.com>
Fri, 16 Dec 2022 17:52:15 +0000 (17:52 +0000)
commit08f16a8217c1024e74c0af79120713f04af1230a
tree979488dce357d6dae76c6537d38fe06db957abb2
parent08c8280d5d8af7fb995aec8fc00b8cfbca4e9505
[VPlan] Use macro to define recipe classof implementation (NFC).

Add a VP_CLASSOF_IMPL macro to define common classof implementations for
recipes. This reduces duplication and also adds missing implementations
to existing recipes.
llvm/lib/Transforms/Vectorize/VPlan.h