Home
last modified time | relevance | path

Searched refs:TFunction (Results 1 – 23 of 23) sorted by relevance

/external/deqp-deps/glslang/glslang/MachineIndependent/
DParseHelper.h207 const TFunction* selectFunction(const TVector<const TFunction*>, const TFunction&,
310 TFunction* handleFunctionDeclarator(const TSourceLoc&, TFunction& function, bool prototype);
311 TIntermAggregate* handleFunctionDefinition(const TSourceLoc&, TFunction&);
312 TIntermTyped* handleFunctionCall(const TSourceLoc&, TFunction*, TIntermNode*);
313 …TIntermTyped* handleBuiltInFunctionCall(TSourceLoc, TIntermNode* arguments, const TFunction& funct…
314 void computeBuiltinPrecisions(TIntermTyped&, const TFunction&);
317 TIntermTyped* handleLengthMethod(const TSourceLoc&, TFunction*, TIntermNode*);
318 void addInputArgumentConversions(const TFunction&, TIntermNode*&) const;
319 TIntermTyped* addOutputArgumentConversions(const TFunction&, TIntermAggregate&) const;
320 void builtInOpCheck(const TSourceLoc&, const TFunction&, TIntermOperator&);
[all …]
DSymbolTable.cpp186 void TFunction::dump(TInfoSink& infoSink) const in dump()
214 TFunction::~TFunction() in ~TFunction()
242 TFunction* function = (*candidate).second->getAsFunction(); in relateToOperator()
312 TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf) in TFunction() function in glslang::TFunction
334 TFunction* TFunction::clone() const in clone()
336 TFunction *function = new TFunction(*this); in clone()
DParseContextBase.cpp335 const TFunction* TParseContextBase::selectFunction( in selectFunction()
336 const TVector<const TFunction*> candidateList, in selectFunction()
337 const TFunction& call, in selectFunction()
378 TVector<const TFunction*> viableCandidates; in selectFunction()
380 const TFunction& candidate = *(*it); in selectFunction()
421 … const auto betterParam = [&call, &better](const TFunction& can1, const TFunction& can2) -> bool { in selectFunction()
433 …const auto equivalentParams = [&call, &better](const TFunction& can1, const TFunction& can2) -> bo… in selectFunction()
443 const TFunction* incumbent = viableCandidates.front(); in selectFunction()
445 const TFunction& candidate = *(*it); in selectFunction()
454 const TFunction& candidate = *(*it); in selectFunction()
DSymbolTable.h79 class TFunction; variable
98 virtual TFunction* getAsFunction() { return 0; } in getAsFunction()
99 virtual const TFunction* getAsFunction() const { return 0; } in getAsFunction()
217 class TFunction : public TSymbol {
219 explicit TFunction(TOperator o) : in TFunction() function
223 TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull) :
232 virtual TFunction* clone() const override;
233 virtual ~TFunction();
235 virtual TFunction* getAsFunction() override { return this; } in getAsFunction()
236 virtual const TFunction* getAsFunction() const override { return this; } in getAsFunction()
[all …]
DParseHelper.cpp874 TFunction* TParseContext::handleFunctionDeclarator(const TSourceLoc& loc, TFunction& function, bool… in handleFunctionDeclarator()
896 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator()
942 TIntermAggregate* TParseContext::handleFunctionDefinition(const TSourceLoc& loc, TFunction& functio… in handleFunctionDefinition()
946 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition()
1037 TIntermTyped* TParseContext::handleFunctionCall(const TSourceLoc& loc, TFunction* function, TInterm… in handleFunctionCall()
1062 const TFunction* fnCandidate; in handleFunctionCall()
1185 const TFunction& function) in handleBuiltInFunctionCall()
1240 void TParseContext::computeBuiltinPrecisions(TIntermTyped& node, const TFunction& function) in computeBuiltinPrecisions()
1353 TIntermTyped* TParseContext::handleLengthMethod(const TSourceLoc& loc, TFunction* function, TInterm… in handleLengthMethod()
1414 void TParseContext::addInputArgumentConversions(const TFunction& function, TIntermNode*& arguments)… in addInputArgumentConversions()
[all …]
Dglslang_tab.cpp.h485 glslang::TFunction* function;
Dglslang.y96 glslang::TFunction* function;
461 $$.function = new TFunction(&method->getMethodName(), TType(EbtInt), EOpArrayLength);
467 TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid));
476 $$.function = new TFunction(&empty, TType(EbtVoid), EOpNull);
911 TFunction *function;
918 function = new TFunction($2.string, type);
Dglslang_tab.cpp563 glslang::TFunction* function;
4431 … (yyval.interm).function = new TFunction(&method->getMethodName(), TType(EbtInt), EOpArrayLength); in yyparse()
4437 TFunction *function = new TFunction(&symbol->getName(), TType(EbtVoid)); in yyparse()
4446 (yyval.interm).function = new TFunction(&empty, TType(EbtVoid), EOpNull); in yyparse()
5190 TFunction *function; in yyparse()
5197 function = new TFunction((yyvsp[-1].lex).string, type); in yyparse()
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.h82 void handleFunctionDeclarator(const TSourceLoc&, TFunction& function, bool prototype);
83 …TIntermAggregate* handleFunctionDefinition(const TSourceLoc&, TFunction&, const TAttributes&, TInt…
84 TIntermNode* transformEntryPoint(const TSourceLoc&, TFunction&, const TAttributes&);
87 …void handleFunctionBody(const TSourceLoc&, TFunction&, TIntermNode* functionBody, TIntermNode*& no…
88 …void remapEntryPointIO(TFunction& function, TVariable*& returnValue, TVector<TVariable*>& inputs, …
89 void remapNonEntryPointIO(TFunction& function);
91 void handleFunctionArgument(TFunction*, TIntermTyped*& arguments, TIntermTyped* newArg);
94 TIntermTyped* handleFunctionCall(const TSourceLoc&, TFunction*, TIntermTyped*);
102 void addInputArgumentConversions(const TFunction&, TIntermTyped*&);
103 void expandArguments(const TSourceLoc&, const TFunction&, TIntermTyped*&);
[all …]
DhlslGrammar.h98 bool acceptFunctionParameters(TFunction&);
99 bool acceptParameterDeclaration(TFunction&);
112 bool acceptArguments(TFunction*, TIntermTyped*&);
DhlslAttributes.h52 TFunction* function;
DhlslGrammar.cpp404 declarator.function = new TFunction(fullName, declaredType); in acceptDeclaration()
2490 declarator.function = new TFunction(functionName, type); in acceptMemberFunctionDefinition()
2517 bool HlslGrammar::acceptFunctionParameters(TFunction& function) in acceptFunctionParameters()
2562 TFunction* constructor = parseContext.makeConstructorCall(token.loc, type); in acceptDefaultParameterDeclaration()
2600 bool HlslGrammar::acceptParameterDeclaration(TFunction& function) in acceptParameterDeclaration()
3006 TFunction* constructorFunction = parseContext.makeConstructorCall(loc, castType); in acceptUnaryExpression()
3211 TFunction* constructorFunction = parseContext.makeConstructorCall(token.loc, type); in acceptConstructor()
3261 TFunction* function = new TFunction(functionName, TType(EbtVoid)); in acceptFunctionCall()
3284 bool HlslGrammar::acceptArguments(TFunction* function, TIntermTyped*& arguments) in acceptArguments()
DhlslParseHelper.cpp1582 void HlslParseContext::handleFunctionDeclarator(const TSourceLoc& loc, TFunction& function, bool pr… in handleFunctionDeclarator()
1592 const TFunction* prevDec = symbol ? symbol->getAsFunction() : 0; in handleFunctionDeclarator()
1641 TIntermAggregate* HlslParseContext::handleFunctionDefinition(const TSourceLoc& loc, TFunction& func… in handleFunctionDefinition()
1647 TFunction* prevDec = symbol ? symbol->getAsFunction() : nullptr; in handleFunctionDefinition()
1985 TIntermNode* HlslParseContext::transformEntryPoint(const TSourceLoc& loc, TFunction& userFunction, in transformEntryPoint()
2060 TFunction synthEntryPoint(&userFunction.getName(), voidType); in transformEntryPoint()
2065TFunction callee(&userFunction.getName(), voidType); // call based on old name, which is still in … in transformEntryPoint()
2171 void HlslParseContext::handleFunctionBody(const TSourceLoc& loc, TFunction& function, TIntermNode* … in handleFunctionBody()
2189 void HlslParseContext::remapEntryPointIO(TFunction& function, TVariable*& returnValue, in remapEntryPointIO()
2314 void HlslParseContext::remapNonEntryPointIO(TFunction& function) in remapNonEntryPointIO()
[all …]
/external/swiftshader/src/OpenGL/compiler/
DParseHelper.h127 bool constructorErrorCheck(const TSourceLoc &line, TIntermNode*, TFunction&, TOperator, TType*);
144 bool functionCallLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *);
156 const TFunction* findFunction(const TSourceLoc &line, TFunction* pfnCall, bool *builtIn = 0);
191 …TIntermAggregate *addFunctionPrototypeDeclaration(const TFunction &function, const TSourceLoc &loc…
192 …TIntermAggregate *addFunctionDefinition(const TFunction &function, TIntermAggregate *functionProto…
193 …void parseFunctionPrototype(const TSourceLoc &location, TFunction *function, TIntermAggregate **ag…
194 TFunction *parseFunctionDeclarator(const TSourceLoc &location, TFunction *function);
195 TFunction *addConstructorFunc(const TPublicType &publicType);
196 TIntermTyped* addConstructor(TIntermNode*, const TType*, TOperator, TFunction*, const TSourceLoc&);
238 …TIntermTyped *addFunctionCallOrMethod(TFunction *fnCall, TIntermNode *paramNode, TIntermNode *this…
DSymbolTable.h139 class TFunction : public TSymbol
142 TFunction(TOperator o) : in TFunction() function
148TFunction(const TString *name, const TType& retType, TOperator tOp = EOpNull, const char *ext = ""…
151 mangledName(TFunction::mangleName(*name)), in TSymbol()
156 virtual ~TFunction();
212 bool insertUnmangled(TFunction *function);
406 TFunction *function = new TFunction(NewPoolTString(name), *rvalue, op, ext);
DSymbolTable.cpp186 TFunction::~TFunction() in ~TFunction()
211 bool TSymbolTableLevel::insertUnmangled(TFunction *function) in insertUnmangled()
DParseHelper.cpp497 bool TParseContext::constructorErrorCheck(const TSourceLoc &line, TIntermNode* node, TFunction& fun… in constructorErrorCheck()
1083 bool TParseContext::functionCallLValueErrorCheck(const TFunction *fnCandidate, TIntermAggregate *ag… in functionCallLValueErrorCheck()
1209 const TFunction* TParseContext::findFunction(const TSourceLoc &line, TFunction* call, bool *builtIn) in findFunction()
1228 return static_cast<const TFunction*>(symbol); in findFunction()
1828 TIntermAggregate *TParseContext::addFunctionPrototypeDeclaration(const TFunction &function, const T… in addFunctionPrototypeDeclaration()
1833 TFunction *symbolTableFunction = in addFunctionPrototypeDeclaration()
1834 static_cast<TFunction *>(symbolTable.find(function.getMangledName(), getShaderVersion())); in addFunctionPrototypeDeclaration()
1880 TIntermAggregate *TParseContext::addFunctionDefinition(const TFunction &function, TIntermAggregate … in addFunctionDefinition()
1907 void TParseContext::parseFunctionPrototype(const TSourceLoc &location, TFunction *function, TInterm… in parseFunctionPrototype()
1917TFunction *prevDec = static_cast<TFunction *>(symbolTable.find(function->getMangledName(), getShad… in parseFunctionPrototype()
[all …]
Dglslang.y95 TFunction* function;
383 TFunction *function = new TFunction($1.string, type);
390 TFunction *function = new TFunction($1.string, type);
702 TFunction *function;
704 function = new TFunction($2.string, type);
Dglslang_tab.h215 TFunction* function;
DValidateLimitations.cpp434 TFunction* function = static_cast<TFunction*>(symbol); in validateFunctionCall()
Dglslang_tab.cpp302 TFunction* function;
2618 TFunction *function = new TFunction((yyvsp[0].lex).string, type); in yyparse()
2630 TFunction *function = new TFunction((yyvsp[0].lex).string, type); in yyparse()
3217 TFunction *function; in yyparse()
3219 function = new TFunction((yyvsp[-1].lex).string, type); in yyparse()
DOutputASM.cpp424 TString name = TFunction::unmangleName(nodeName); in TextureFunction()
/external/mesa3d/src/compiler/glsl/
Dlower_variable_index_to_cond_assign.cpp221 typedef assignment_generator TFunction; typedef
222 const TFunction& generator;
230 switch_generator(const TFunction& generator, ir_variable *index, in switch_generator()