fab39bac6661ed35c1e79cd7e8049663a7fccf8e
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public getStatements() : int renamed to public getNumStatements() : int in class com.graphicsfuzz.common.util.StatsVisitor | From | To | |
Rename Method public getNodes() : int renamed to public getNumNodes() : int in class com.graphicsfuzz.common.util.StatsVisitor | From | To | |
Move Method | 1 | ||
Move Method public testNothingToRemove() : void from class com.graphicsfuzz.reducer.reductionopportunities.GlobalVariablesDeclarationReductionOpportunitiesTest to public testNothingToRemove() : void from class com.graphicsfuzz.reducer.reductionopportunities.VariableDeclReductionOpportunitiesTest | From | To | |
Change Return Type | 3 | ||
Change Return Type IReductionOpportunityFinder<InlineInitializerReductionOpportunity> to IReductionOpportunityFinder<SimplifyExprReductionOpportunity> in method public inlineInitializerFinder() : IReductionOpportunityFinder<SimplifyExprReductionOpportunity> in class com.graphicsfuzz.reducer.reductionopportunities.IReductionOpportunityFinder | From | To | |
Change Return Type List<InlineInitializerReductionOpportunity> to List<SimplifyExprReductionOpportunity> in method package findOpportunities(shaderJob ShaderJob, context ReductionOpportunityContext) : List<SimplifyExprReductionOpportunity> in class com.graphicsfuzz.reducer.reductionopportunities.InlineInitializerReductionOpportunities | From | To | |
Change Return Type List<InlineInitializerReductionOpportunity> to List<SimplifyExprReductionOpportunity> in method private findOpportunitiesForShader(tu TranslationUnit, context ReductionOpportunityContext) : List<SimplifyExprReductionOpportunity> in class com.graphicsfuzz.reducer.reductionopportunities.InlineInitializerReductionOpportunities | From | To | |
Move Class | 2 | ||
Move Class com.graphicsfuzz.common.tool.StatsVisitor moved to com.graphicsfuzz.common.util.StatsVisitor | From | To | |
Move Class com.graphicsfuzz.shadersets.ImageUtil moved to com.graphicsfuzz.common.util.ImageUtil | From | To | |
Rename Attribute | 2 | ||
Rename Attribute relevantDeclInfosStack : List<List<VariableDeclInfo>> to inlineableUsages : List<Pair<VariableDeclInfo,VariableIdentifierExpr>> in class com.graphicsfuzz.reducer.reductionopportunities.InlineInitializerReductionOpportunities | From | To | |
Rename Attribute referenced : Set<VariableDeclInfo> to blackList : Set<VariableDeclInfo> in class com.graphicsfuzz.reducer.reductionopportunities.InlineInitializerReductionOpportunities | From | To | |
Change Variable Type | 1 | ||
Change Variable Type ops : List<InlineInitializerReductionOpportunity> to ops : List<SimplifyExprReductionOpportunity> in method public testGlobalScope() : void in class com.graphicsfuzz.reducer.reductionopportunities.InlineInitializerReductionOpportunitiesTest | From | To | |
Extract Variable | 1 | ||
Extract Variable execResult : ExecResult in method public isInteresting(shaderJobFile File, shaderResultFileOutput File) : boolean from class com.graphicsfuzz.reducer.filejudge.CustomFileJudge | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type relevantDeclInfosStack : List<List<VariableDeclInfo>> to inlineableUsages : List<Pair<VariableDeclInfo,VariableIdentifierExpr>> in class com.graphicsfuzz.reducer.reductionopportunities.InlineInitializerReductionOpportunities | From | To | |
Extract Method | 1 | ||
Extract Method private currentProgramPointHasNoEffect() : boolean extracted from private allowedToReduce(variableDeclInfo VariableDeclInfo) : boolean in class com.graphicsfuzz.reducer.reductionopportunities.InlineInitializerReductionOpportunities | From | To |