b66b0035b78766f75c85a68e4d83b42e30035280
Files Diff
- Added: 3
- Removed: 2
- Renamed: 0
- Modified: 3
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type parent : Expr to parent : IAstNode in method package IdentityMutationReductionOpportunity(parent IAstNode, childToReduce Expr, function OpaqueFunctionType, depth VisitationDepth) in class com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunity | From | To | |
Change Return Type | 3 | ||
Change Return Type List<MutationReductionOpportunity> to List<IdentityMutationReductionOpportunity> in method package findOpportunities(shaderJob ShaderJob, context ReducerContext) : List<IdentityMutationReductionOpportunity> in class com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunities | From | To | |
Change Return Type IReductionOpportunityFinder<MutationReductionOpportunity> to IReductionOpportunityFinder<IdentityMutationReductionOpportunity> in method public mutationFinder() : IReductionOpportunityFinder<IdentityMutationReductionOpportunity> in class com.graphicsfuzz.reducer.reductionopportunities.IReductionOpportunityFinder | From | To | |
Change Return Type List<MutationReductionOpportunity> to List<IdentityMutationReductionOpportunity> in method private findOpportunitiesForShader(tu TranslationUnit, context ReducerContext) : List<IdentityMutationReductionOpportunity> in class com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunities | From | To | |
Rename Class | 2 | ||
Rename Class com.graphicsfuzz.reducer.reductionopportunities.MutationReductionOpportunity renamed to com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunity | From | To | |
Rename Class com.graphicsfuzz.reducer.reductionopportunities.MutationReductionOpportunities renamed to com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunities | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable parentExpr : Expr to parent : IAstNode in method package identifyReductionOpportunitiesForChild(parent IAstNode, child Expr) : void in class com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunities | From | To | |
Change Variable Type | 3 | ||
Change Variable Type ops : List<MutationReductionOpportunity> to ops : List<IdentityMutationReductionOpportunity> in method public testInterplayBetweenVectorizationAndIdentity() : void in class com.graphicsfuzz.reducer.reductionopportunities.ReductionOpportunitiesTest | From | To | |
Change Variable Type finder : MutationReductionOpportunities to finder : IdentityMutationReductionOpportunities in method private findOpportunitiesForShader(tu TranslationUnit, context ReducerContext) : List<IdentityMutationReductionOpportunity> in class com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunities | From | To | |
Change Variable Type parentExpr : Expr to parent : IAstNode in method package identifyReductionOpportunitiesForChild(parent IAstNode, child Expr) : void in class com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunities | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type parent : Expr to parent : IAstNode in class com.graphicsfuzz.reducer.reductionopportunities.IdentityMutationReductionOpportunity | From | To |