Skip to content

Commit 689895f

Browse files
committed
[VPlan] Remove unneeded struct prefix for VPTransformState args (NFC).
1 parent 8d5b694 commit 689895f

File tree

1 file changed

+5
-5
lines changed
  • llvm/lib/Transforms/Vectorize

1 file changed

+5
-5
lines changed

llvm/lib/Transforms/Vectorize/VPlan.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ class VPBlockBase {
580580

581581
/// The method which generates the output IR that correspond to this
582582
/// VPBlockBase, thereby "executing" the VPlan.
583-
virtual void execute(struct VPTransformState *State) = 0;
583+
virtual void execute(VPTransformState *State) = 0;
584584

585585
/// Delete all blocks reachable from a given VPBlockBase, inclusive.
586586
static void deleteCFG(VPBlockBase *Entry);
@@ -680,7 +680,7 @@ class VPRecipeBase : public ilist_node_with_parent<VPRecipeBase, VPBasicBlock>,
680680

681681
/// The method which generates the output IR instructions that correspond to
682682
/// this VPRecipe, thereby "executing" the VPlan.
683-
virtual void execute(struct VPTransformState &State) = 0;
683+
virtual void execute(VPTransformState &State) = 0;
684684

685685
/// Insert an unlinked recipe into a basic block immediately before
686686
/// the specified recipe.
@@ -2084,7 +2084,7 @@ class VPBasicBlock : public VPBlockBase {
20842084

20852085
/// The method which generates the output IR instructions that correspond to
20862086
/// this VPBasicBlock, thereby "executing" the VPlan.
2087-
void execute(struct VPTransformState *State) override;
2087+
void execute(VPTransformState *State) override;
20882088

20892089
/// Return the position of the first non-phi node recipe in the block.
20902090
iterator getFirstNonPhi();
@@ -2217,7 +2217,7 @@ class VPRegionBlock : public VPBlockBase {
22172217

22182218
/// The method which generates the output IR instructions that correspond to
22192219
/// this VPRegionBlock, thereby "executing" the VPlan.
2220-
void execute(struct VPTransformState *State) override;
2220+
void execute(VPTransformState *State) override;
22212221

22222222
void dropAllReferences(VPValue *NewValue) override;
22232223

@@ -2566,7 +2566,7 @@ class VPlan {
25662566
bool IsEpilogueVectorization);
25672567

25682568
/// Generate the IR code for this VPlan.
2569-
void execute(struct VPTransformState *State);
2569+
void execute(VPTransformState *State);
25702570

25712571
VPBlockBase *getEntry() { return Entry; }
25722572
const VPBlockBase *getEntry() const { return Entry; }

0 commit comments

Comments
 (0)