Searched refs:funcDef (Results 1 – 5 of 5) sorted by relevance
43 const FunctionDefinition& funcDef = pe.as<FunctionDefinition>(); in FindAndDeclareBuiltinVariables() local46 if (funcDef.declaration().isMain() && in FindAndDeclareBuiltinVariables()47 funcDef.declaration().returnType() == *fContext.fTypes.fHalf4) { in FindAndDeclareBuiltinVariables()
66 static int count_returns_at_end_of_control_flow(const FunctionDefinition& funcDef) { in count_returns_at_end_of_control_flow() argument69 CountReturnsAtEndOfControlFlow(const FunctionDefinition& funcDef) { in count_returns_at_end_of_control_flow() argument70 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() argument170 this->visitProgramElement(funcDef); in CountReturnsWithLimit()238 Inliner::ReturnComplexity Inliner::GetReturnComplexity(const FunctionDefinition& funcDef) { in GetReturnComplexity() argument239 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 …]
84 static ReturnComplexity GetReturnComplexity(const FunctionDefinition& funcDef);
266 auto *funcDef = new TIntermFunctionDefinition(funcProto, &body); in publish() local270 machinery.getConverter(config.convertType) = funcDef; in publish()
3542 const FunctionDefinition& funcDef = e->as<FunctionDefinition>(); in writeInstructions() local3543 const FunctionDeclaration& funcDecl = funcDef.declaration(); in writeInstructions()