Searched refs:funcDef (Results 1 – 7 of 7) sorted by relevance
67 static int count_returns_at_end_of_control_flow(const FunctionDefinition& funcDef) { in count_returns_at_end_of_control_flow() argument70 CountReturnsAtEndOfControlFlow(const FunctionDefinition& funcDef) { in count_returns_at_end_of_control_flow() argument71 this->visitProgramElement(funcDef); in count_returns_at_end_of_control_flow()106 return CountReturnsAtEndOfControlFlow{funcDef}.fNumReturns; in count_returns_at_end_of_control_flow()170 CountReturnsWithLimit(const FunctionDefinition& funcDef, int limit) : fLimit(limit) { in CountReturnsWithLimit() argument171 this->visitProgramElement(funcDef); in CountReturnsWithLimit()221 Inliner::ReturnComplexity Inliner::GetReturnComplexity(const FunctionDefinition& funcDef) { in GetReturnComplexity() argument222 int returnsAtEndOfControlFlow = count_returns_at_end_of_control_flow(funcDef); in GetReturnComplexity()223 CountReturnsWithLimit counter{funcDef, returnsAtEndOfControlFlow + 1}; in GetReturnComplexity()787 FunctionDefinition& funcDef = pe->as<FunctionDefinition>(); in visitProgramElement() local[all …]
77 static ReturnComplexity GetReturnComplexity(const FunctionDefinition& funcDef);
1831 const FunctionDefinition& funcDef = pe.as<FunctionDefinition>(); in findAndDeclareBuiltinVariables() local1834 if (funcDef.declaration().isMain() && in findAndDeclareBuiltinVariables()1835 funcDef.declaration().returnType() == *fGenerator->fContext.fTypes.fHalf4) { in findAndDeclareBuiltinVariables()
266 auto *funcDef = new TIntermFunctionDefinition(funcProto, &body); in publish() local270 machinery.getConverter(config.convertType) = funcDef; in publish()
1566 StringTemplate funcDef;1569 {$field::funcDef = $field.st;}
3522 const FunctionDefinition& funcDef = e->as<FunctionDefinition>(); in writeInstructions() local3523 const FunctionDeclaration& funcDecl = funcDef.declaration(); in writeInstructions()
3207 StringTemplate funcDef;3210 {$field::funcDef = $field.st;}