SkSLAddConstToVarModifiers.cpp |
|
1386 |
SkSLEliminateDeadFunctions.cpp |
|
3403 |
SkSLEliminateDeadGlobalVariables.cpp |
onlyPrivateGlobals= |
3854 |
SkSLEliminateDeadLocalVariables.cpp |
|
7319 |
SkSLEliminateEmptyStatements.cpp |
|
2156 |
SkSLEliminateUnnecessaryBraces.cpp |
|
7256 |
SkSLEliminateUnreachableCode.cpp |
|
10086 |
SkSLFindAndDeclareBuiltinFunctions.cpp |
|
4112 |
SkSLFindAndDeclareBuiltinStructs.cpp |
|
2850 |
SkSLFindAndDeclareBuiltinVariables.cpp |
|
7568 |
SkSLHoistSwitchVarDeclarationsAtTopLevel.cpp |
|
5513 |
SkSLProgramWriter.h |
|
1185 |
SkSLRenamePrivateSymbols.cpp |
|
10559 |
SkSLReplaceConstVarsWithLiterals.cpp |
|
3839 |
SkSLReplaceSplatCastsWithSwizzles.cpp |
|
2309 |
SkSLRewriteIndexedSwizzle.cpp |
rows= |
1959 |
SkSLTransform.cpp |
|
283 |
SkSLTransform.h |
Checks to see if it would be safe to add `const` to the modifier flags of a variable. If so,
returns the modifiers with `const` applied; if not, returns the existing modifiers as-is. Adding
`const` allows the inliner to fold away more values and generate tighter code.
|
6031 |