/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | ParseHelper.h | 207 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 …]
|
D | SymbolTable.cpp | 186 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()
|
D | ParseContextBase.cpp | 335 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()
|
D | SymbolTable.h | 79 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 …]
|
D | ParseHelper.cpp | 874 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 …]
|
D | glslang_tab.cpp.h | 485 glslang::TFunction* function;
|
D | glslang.y | 96 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);
|
D | glslang_tab.cpp | 563 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/ |
D | hlslParseHelper.h | 82 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 …]
|
D | hlslGrammar.h | 98 bool acceptFunctionParameters(TFunction&); 99 bool acceptParameterDeclaration(TFunction&); 112 bool acceptArguments(TFunction*, TIntermTyped*&);
|
D | hlslAttributes.h | 52 TFunction* function;
|
D | hlslGrammar.cpp | 404 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()
|
D | hlslParseHelper.cpp | 1582 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() 2065 …TFunction 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/ |
D | ParseHelper.h | 127 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…
|
D | SymbolTable.h | 139 class TFunction : public TSymbol 142 TFunction(TOperator o) : in TFunction() function 148 …TFunction(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);
|
D | SymbolTable.cpp | 186 TFunction::~TFunction() in ~TFunction() 211 bool TSymbolTableLevel::insertUnmangled(TFunction *function) in insertUnmangled()
|
D | ParseHelper.cpp | 497 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() 1917 …TFunction *prevDec = static_cast<TFunction *>(symbolTable.find(function->getMangledName(), getShad… in parseFunctionPrototype() [all …]
|
D | glslang.y | 95 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);
|
D | glslang_tab.h | 215 TFunction* function;
|
D | ValidateLimitations.cpp | 434 TFunction* function = static_cast<TFunction*>(symbol); in validateFunctionCall()
|
D | glslang_tab.cpp | 302 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()
|
D | OutputASM.cpp | 424 TString name = TFunction::unmangleName(nodeName); in TextureFunction()
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_variable_index_to_cond_assign.cpp | 221 typedef assignment_generator TFunction; typedef 222 const TFunction& generator; 230 switch_generator(const TFunction& generator, ir_variable *index, in switch_generator()
|