Searched refs:VariableCounts (Results 1 – 6 of 6) sorted by relevance
45 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()
41 struct VariableCounts { struct46 VariableCounts get(const Variable&) const; argument58 SkTHashMap<const Variable*, VariableCounts> fVariableCounts;
37 ProgramUsage::VariableCounts* counts = fUsage->fVariableCounts.find(var); in EliminateDeadLocalVariables()60 static bool CanEliminate(const Variable* var, const ProgramUsage::VariableCounts& counts) { in EliminateDeadLocalVariables()
664 const ProgramUsage::VariableCounts& paramUsage = usage.get(*param); in inlineCall()745 ProgramUsage::VariableCounts counts = usage.get(*param); in isSafeToInline()
262 const SkSL::ProgramUsage::VariableCounts sampleCoordsUsage = in MakeInternal()264 : SkSL::ProgramUsage::VariableCounts{}; in MakeInternal()
3089 ProgramUsage::VariableCounts counts = fProgram.usage()->get(var); in isDead()