Home
last modified time | relevance | path

Searched refs:VariableCounts (Results 1 – 6 of 6) sorted by relevance

/third_party/skia/src/sksl/analysis/
DSkSLProgramUsage.cpp45 ProgramUsage::VariableCounts& counts = fUsage->fVariableCounts[&vd.var()]; in visitStatement()
63 ProgramUsage::VariableCounts& counts = fUsage->fVariableCounts[ref.variable()]; in visitExpression()
108 ProgramUsage::VariableCounts ProgramUsage::get(const Variable& v) const { in get()
109 const VariableCounts* counts = fVariableCounts.find(&v); in get()
116 VariableCounts counts = this->get(v); in isDead()
/third_party/skia/src/sksl/ir/
DSkSLProgram.h41 struct VariableCounts { struct
46 VariableCounts get(const Variable&) const; argument
58 SkTHashMap<const Variable*, VariableCounts> fVariableCounts;
/third_party/skia/src/sksl/transform/
DSkSLEliminateDeadLocalVariables.cpp37 ProgramUsage::VariableCounts* counts = fUsage->fVariableCounts.find(var); in EliminateDeadLocalVariables()
60 static bool CanEliminate(const Variable* var, const ProgramUsage::VariableCounts& counts) { in EliminateDeadLocalVariables()
/third_party/skia/src/sksl/
DSkSLInliner.cpp664 const ProgramUsage::VariableCounts& paramUsage = usage.get(*param); in inlineCall()
745 ProgramUsage::VariableCounts counts = usage.get(*param); in isSafeToInline()
/third_party/skia/src/core/
DSkRuntimeEffect.cpp262 const SkSL::ProgramUsage::VariableCounts sampleCoordsUsage = in MakeInternal()
264 : SkSL::ProgramUsage::VariableCounts{}; in MakeInternal()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp3089 ProgramUsage::VariableCounts counts = fProgram.usage()->get(var); in isDead()