mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-03 17:56:05 +00:00
[VPlan] Turn classes with all public members into structs (NFC).
struct should be used when all members are public: https://llvm.org/docs/CodingStandards.html#use-of-class-and-struct-keywords Reviewers: gilr, rengolin, Ayal, hsaito Reviewed By: Ayal Differential Revision: https://reviews.llvm.org/D77865
This commit is contained in:
parent
40581a0a2b
commit
ae1e353a25
@ -19,9 +19,7 @@
|
|||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
class VPlanTransforms {
|
struct VPlanTransforms {
|
||||||
|
|
||||||
public:
|
|
||||||
/// Replaces the VPInstructions in \p Plan with corresponding
|
/// Replaces the VPInstructions in \p Plan with corresponding
|
||||||
/// widen recipes.
|
/// widen recipes.
|
||||||
static void VPInstructionsToVPRecipes(
|
static void VPInstructionsToVPRecipes(
|
||||||
|
@ -40,7 +40,7 @@ class VPSlotTracker;
|
|||||||
// and live-outs which the VPlan will need to fix accordingly.
|
// and live-outs which the VPlan will need to fix accordingly.
|
||||||
class VPValue {
|
class VPValue {
|
||||||
friend class VPBuilder;
|
friend class VPBuilder;
|
||||||
friend class VPlanTransforms;
|
friend struct VPlanTransforms;
|
||||||
friend class VPBasicBlock;
|
friend class VPBasicBlock;
|
||||||
friend class VPInterleavedAccessInfo;
|
friend class VPInterleavedAccessInfo;
|
||||||
friend class VPSlotTracker;
|
friend class VPSlotTracker;
|
||||||
|
@ -28,10 +28,9 @@
|
|||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
|
||||||
/// Class with utility functions that can be used to check the consistency and
|
/// Struct with utility functions that can be used to check the consistency and
|
||||||
/// invariants of a VPlan, including the components of its H-CFG.
|
/// invariants of a VPlan, including the components of its H-CFG.
|
||||||
class VPlanVerifier {
|
struct VPlanVerifier {
|
||||||
public:
|
|
||||||
/// Verify the invariants of the H-CFG starting from \p TopRegion. The
|
/// Verify the invariants of the H-CFG starting from \p TopRegion. The
|
||||||
/// verification process comprises the following steps:
|
/// verification process comprises the following steps:
|
||||||
/// 1. Region/Block verification: Check the Region/Block verification
|
/// 1. Region/Block verification: Check the Region/Block verification
|
||||||
|
Loading…
x
Reference in New Issue
Block a user