Home
last modified time | relevance | path

Searched refs:fnDecl (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/src/sksl/
DSkSLInliner.cpp1114 const FunctionDeclaration& fnDecl = candidate_func(candidate); in buildCandidateList() local
1115 candidateTotalCost[&fnDecl] += this->getFunctionSize(fnDecl, &functionSizeCache); in buildCandidateList()
1120 const FunctionDeclaration& fnDecl = candidate_func(candidate); in buildCandidateList() local
1121 if (fnDecl.modifiers().fFlags & Modifiers::kInline_Flag) { in buildCandidateList()
1125 if (usage->get(fnDecl) == 1) { in buildCandidateList()
1129 if (candidateTotalCost[&fnDecl] <= this->settings().fInlineThreshold) { in buildCandidateList()
DSkSLInliner.h92 int getFunctionSize(const FunctionDeclaration& fnDecl, FunctionSizeCache* cache);