skia2/tests/sksl/inliner
John Stiles 4633c9149b # Enter a description of the change.
Reland "Migrate if-statement simplifyStatement logic to IfStatement::Make."

This reverts commit 7e685f0377.

Reason for revert: fixed SkSLBench perf test

Original change's description:
> Revert "Migrate if-statement simplifyStatement logic to IfStatement::Make."
>
> This reverts commit e4da7b672f.
>
> Reason for revert: breaks SkSLBench perf test
>
> Original change's description:
> > Migrate if-statement simplifyStatement logic to IfStatement::Make.
> >
> > This performs essentially the same simplifications as before, just at
> > a different phase of compilation.
> >
> > Change-Id: Ia88df6857d4089962505cd1281798fda74fd0b02
> > Bug: skia:11343, skia:11319
> > Reviewed-on: https://skia-review.googlesource.com/c/skia/+/376177
> > Commit-Queue: John Stiles <johnstiles@google.com>
> > Auto-Submit: John Stiles <johnstiles@google.com>
> > Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
>
> TBR=brianosman@google.com,ethannicholas@google.com,johnstiles@google.com
>
> Change-Id: I0051188ffe69426904066eb60a932435efdc2af8
> No-Presubmit: true
> No-Tree-Checks: true
> No-Try: true
> Bug: skia:11343
> Bug: skia:11319
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/379062
> Reviewed-by: John Stiles <johnstiles@google.com>
> Commit-Queue: John Stiles <johnstiles@google.com>

Bug: skia:11343
Bug: skia:11319
Change-Id: I74cc3295004133e9fdcf16e388106eb83603f526
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/379063
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-03-03 22:21:36 +00:00
..
DoWhileBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
DoWhileTestCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
EnumsCanBeInlinedSafely.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
ExponentialGrowth.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
ExponentialGrowthStandaloneSettings.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
ForBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ForInitializerExpressionsCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ForWithoutReturnInsideCanBeInlined.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
ForWithReturnInsideCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IfBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IfElseBodyMustBeInlinedIntoAScope.glsl # Enter a description of the change. 2021-03-03 22:21:36 +00:00
IfElseChainWithReturnsCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IfTestCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
IfWithReturnsCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineKeywordOverridesThreshold.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
InlinerAvoidsVariableNameOverlap.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerCanBeDisabled.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerCanBeDisabledStandaloneSettings.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
InlinerElidesTempVarForReturnsInsideBlock.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerHonorsGLSLOutParamSemantics.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
InlinerManglesNames.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlinerUsesTempVarForMultipleReturns.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlinerUsesTempVarForReturnsInsideBlockWithVar.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlinerWrapsEarlyReturnsWithForLoop.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlinerWrapsSwitchWithReturnInsideWithForLoop.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineThreshold.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
InlineWithInoutArgument.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
InlineWithModifiedArgument.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
InlineWithNestedBigCalls.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
InlineWithNestedCalls.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
InlineWithUnmodifiedArgument.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
InlineWithUnnecessaryBlocks.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
ShortCircuitEvaluationsCannotInlineRightHandSide.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
StaticSwitch.glsl Fix switch optimization pass. 2021-02-23 15:38:24 +00:00
StructsCanBeInlinedSafely.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
SwitchWithCastCanBeInlined.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
SwitchWithoutReturnInsideCanBeInlined.glsl Avoid generating unused variables in the Inliner. 2021-02-25 19:18:19 +00:00
SwizzleCanBeInlinedDirectly.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
TernaryResultsCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TernaryTestCanBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
TrivialArgumentsInlineDirectly.glsl Disable control-flow analysis in SkSL. (Performance experiment) 2021-03-03 22:08:56 +00:00
WhileBodyMustBeInlinedIntoAScope.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00
WhileTestCannotBeInlined.glsl Migrate SkSL test inputs to the resources/ directory. 2021-01-22 18:57:29 +00:00