Home
last modified time | relevance | path

Searched refs:funcDef (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/src/sksl/transform/
DSkSLBuiltinVariableScanner.cpp43 const FunctionDefinition& funcDef = pe.as<FunctionDefinition>(); in FindAndDeclareBuiltinVariables() local
46 if (funcDef.declaration().isMain() && in FindAndDeclareBuiltinVariables()
47 funcDef.declaration().returnType() == *fContext.fTypes.fHalf4) { in FindAndDeclareBuiltinVariables()
/third_party/skia/src/sksl/
DSkSLInliner.cpp66 static int count_returns_at_end_of_control_flow(const FunctionDefinition& funcDef) { in count_returns_at_end_of_control_flow() argument
69 CountReturnsAtEndOfControlFlow(const FunctionDefinition& funcDef) { in count_returns_at_end_of_control_flow() argument
70 this->visitProgramElement(funcDef); in count_returns_at_end_of_control_flow()
105 return CountReturnsAtEndOfControlFlow{funcDef}.fNumReturns; in count_returns_at_end_of_control_flow()
169 CountReturnsWithLimit(const FunctionDefinition& funcDef, int limit) : fLimit(limit) { in CountReturnsWithLimit() argument
170 this->visitProgramElement(funcDef); in CountReturnsWithLimit()
238 Inliner::ReturnComplexity Inliner::GetReturnComplexity(const FunctionDefinition& funcDef) { in GetReturnComplexity() argument
239 int returnsAtEndOfControlFlow = count_returns_at_end_of_control_flow(funcDef); in GetReturnComplexity()
240 CountReturnsWithLimit counter{funcDef, returnsAtEndOfControlFlow + 1}; in GetReturnComplexity()
801 FunctionDefinition& funcDef = pe->as<FunctionDefinition>(); in visitProgramElement() local
[all …]
DSkSLInliner.h84 static ReturnComplexity GetReturnComplexity(const FunctionDefinition& funcDef);
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp266 auto *funcDef = new TIntermFunctionDefinition(funcProto, &body); in publish() local
270 machinery.getConverter(config.convertType) = funcDef; in publish()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp3542 const FunctionDefinition& funcDef = e->as<FunctionDefinition>(); in writeInstructions() local
3543 const FunctionDeclaration& funcDecl = funcDef.declaration(); in writeInstructions()