Home
last modified time | relevance | path

Searched refs:symbolTable (Results 1 – 25 of 39) sorted by relevance

12

/external/deqp-deps/glslang/glslang/MachineIndependent/
DInitialize.cpp7737 …const char* name, TStorageQualifier qualifier, TBuiltInVariable builtIn, TSymbolTable& symbolTable) in add2ndGenerationSamplingImaging() argument
7739 TSymbol* symbol = symbolTable.find(name); in add2ndGenerationSamplingImaging()
7757 static void BuiltInVariable(const char* name, TBuiltInVariable builtIn, TSymbolTable& symbolTable) in add2ndGenerationSamplingImaging() argument
7759 TSymbol* symbol = symbolTable.find(name); in add2ndGenerationSamplingImaging()
7774 …iable(const char* blockName, const char* name, TBuiltInVariable builtIn, TSymbolTable& symbolTable) in add2ndGenerationSamplingImaging() argument
7776 TSymbol* symbol = symbolTable.find(blockName); in add2ndGenerationSamplingImaging()
7797 …n, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable) in add2ndGenerationSamplingImaging() argument
7815symbolTable.setVariableExtensions("gl_BaseVertexARB", 1, &E_GL_ARB_shader_draw_parameters); in add2ndGenerationSamplingImaging()
7816symbolTable.setVariableExtensions("gl_BaseInstanceARB", 1, &E_GL_ARB_shader_draw_parameters); in add2ndGenerationSamplingImaging()
7817symbolTable.setVariableExtensions("gl_DrawIDARB", 1, &E_GL_ARB_shader_draw_parameters); in add2ndGenerationSamplingImaging()
[all …]
Dglslang.y800 parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
1530 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1534 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1539 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1543 …parseContext.float16ScalarVectorCheck($1.loc, "float16_t", parseContext.symbolTable.atBuiltInLevel…
1544 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1548 … parseContext.explicitFloat32Check($1.loc, "float32_t", parseContext.symbolTable.atBuiltInLevel());
1549 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1553 … parseContext.explicitFloat64Check($1.loc, "float64_t", parseContext.symbolTable.atBuiltInLevel());
1554 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
[all …]
Dglslang_tab.cpp5016 parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]); in yyparse()
6157 (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel()); in yyparse()
6166 (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel()); in yyparse()
6176 (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel()); in yyparse()
6185 …float16ScalarVectorCheck((yyvsp[0].lex).loc, "float16_t", parseContext.symbolTable.atBuiltInLevel(… in yyparse()
6186 (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel()); in yyparse()
6195 …parseContext.explicitFloat32Check((yyvsp[0].lex).loc, "float32_t", parseContext.symbolTable.atBuil… in yyparse()
6196 (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel()); in yyparse()
6205 …parseContext.explicitFloat64Check((yyvsp[0].lex).loc, "float64_t", parseContext.symbolTable.atBuil… in yyparse()
6206 (yyval.interm.type).init((yyvsp[0].lex).loc, parseContext.symbolTable.atGlobalLevel()); in yyparse()
[all …]
Dlimits.cpp67 : loopId(id), symbolTable(st), bad(false) { } in TInductiveTraverser()
74 TSymbolTable& symbolTable; member in glslang::TInductiveTraverser
115 TSymbol* function = symbolTable.find(node->getName()); in visitAggregate()
132 void TParseContext::inductiveLoopBodyCheck(TIntermNode* body, int loopId, TSymbolTable& symbolTable) in inductiveLoopBodyCheck() argument
134 TInductiveTraverser it(loopId, symbolTable); in inductiveLoopBodyCheck()
DInitialize.h69 …rofile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable) = 0;
70 …ile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable, const TBuiltIn…
90 …, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable);
91 …ile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable, const TBuiltIn…
DScan.cpp961 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
990 if (! parseContext.symbolTable.atBuiltInLevel() && (parseContext.profile == EEsProfile || in tokenizeIdentifier()
1013 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
1134 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
1151 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
1168 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
1188 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
1211 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
1235 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
1247 if (parseContext.symbolTable.atBuiltInLevel() || in tokenizeIdentifier()
[all …]
DParseContextBase.cpp281 symbol = symbolTable.copyUp(symbol); in makeEditable()
296 TSymbol* symbol = symbolTable.find(name, &builtIn); in getEditableVariable()
600 if (symbolTable.insert(*globalUniformBlock)) in growGlobalUniformBlock()
606 symbolTable.amend(*globalUniformBlock, firstNewMember); in growGlobalUniformBlock()
621 intermediate.addSymbolLinkageNodes(linkage, getLanguage(), symbolTable); in finish()
DShaderLang.cpp99 TParseContextBase* CreateParseContext(TSymbolTable& symbolTable, TIntermediate& intermediate, in CreateParseContext() argument
110 … return new TParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersion, in CreateParseContext()
115 …return new HlslParseContext(symbolTable, intermediate, parsingBuiltIns, version, profile, spvVersi… in CreateParseContext()
235 EShSource source, TInfoSink& infoSink, TSymbolTable& symbolTable) in InitializeSymbolTable() argument
241 …std::unique_ptr<TParseContextBase> parseContext(CreateParseContext(symbolTable, intermediate, vers… in InitializeSymbolTable()
257 symbolTable.push(); in InitializeSymbolTable()
383 …ols(const TBuiltInResource* resources, TInfoSink& infoSink, TSymbolTable& symbolTable, int version, in AddContextSpecificSymbols() argument
392 …seables->getCommonString(), version, profile, spvVersion, language, source, infoSink, symbolTable); in AddContextSpecificSymbols()
393 …builtInParseables->identifyBuiltIns(version, profile, spvVersion, language, symbolTable, *resource… in AddContextSpecificSymbols()
897 std::unique_ptr<TSymbolTable> symbolTable(new TSymbolTable); in ProcessDeferred() local
[all …]
DParseHelper.cpp51 TParseContext::TParseContext(TSymbolTable& symbolTable, TIntermediate& interm, bool parsingBuiltins, in TParseContext() argument
55 … TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in TParseContext()
534 if (! type.isArray() || type.getQualifier().patch || symbolTable.atBuiltInLevel()) in fixIoArraySize()
556 if (! type.isArray() && ! symbolTable.atBuiltInLevel()) { in ioArrayCheck()
877 if (! symbolTable.atGlobalLevel()) in handleFunctionDeclarator()
893 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
916 if (symbolTable.atBuiltInLevel()) in handleFunctionDeclarator()
927 if (! symbolTable.insert(function)) in handleFunctionDeclarator()
945 TSymbol* symbol = symbolTable.find(function.getMangledName()); in handleFunctionDefinition()
988 symbolTable.push(); in handleFunctionDefinition()
[all …]
DParseHelper.h78 …TParseContextBase(TSymbolTable& symbolTable, TIntermediate& interm, bool parsingBuiltins, int vers…
84 symbolTable(symbolTable), in TParseVersions()
171 …TSymbolTable& symbolTable; // symbol table that goes with the current language, version, an… variable
/external/swiftshader/src/OpenGL/compiler/
DInitialize.cpp25 …InsertBuiltInFunctions(GLenum type, const ShBuiltInResources &resources, TSymbolTable &symbolTable) in InsertBuiltInFunctions() argument
44 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpRadians, genType, "radians", genType); in InsertBuiltInFunctions()
45 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpDegrees, genType, "degrees", genType); in InsertBuiltInFunctions()
46 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpSin, genType, "sin", genType); in InsertBuiltInFunctions()
47 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpCos, genType, "cos", genType); in InsertBuiltInFunctions()
48 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpTan, genType, "tan", genType); in InsertBuiltInFunctions()
49 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpAsin, genType, "asin", genType); in InsertBuiltInFunctions()
50 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpAcos, genType, "acos", genType); in InsertBuiltInFunctions()
51 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpAtan, genType, "atan", genType, genType); in InsertBuiltInFunctions()
52 symbolTable.insertBuiltIn(COMMON_BUILTINS, EOpAtan, genType, "atan", genType); in InsertBuiltInFunctions()
[all …]
DCompiler.cpp122 TParseContext parseContext(symbolTable, extensionBehavior, intermediate, in compile()
129 symbolTable.push(); in compile()
130 if (!symbolTable.atGlobalLevel()) in compile()
159 while (!symbolTable.atBuiltInLevel()) in compile()
160 symbolTable.pop(); in compile()
167 assert(symbolTable.isEmpty()); in InitBuiltInSymbolTable()
168 symbolTable.push(); // COMMON_BUILTINS in InitBuiltInSymbolTable()
169 symbolTable.push(); // ESSL1_BUILTINS in InitBuiltInSymbolTable()
170 symbolTable.push(); // ESSL3_BUILTINS in InitBuiltInSymbolTable()
187 symbolTable.setDefaultPrecision(integer, EbpMedium); in InitBuiltInSymbolTable()
[all …]
Dglslang.y617 if (!context->symbolTable.setDefaultPrecision( $3, $2 )) {
707 context->symbolTable.push();
898 if (context->globalErrorCheck(@1, context->symbolTable.atGlobalLevel(), "attribute"))
904 if (context->globalErrorCheck(@1, context->symbolTable.atGlobalLevel(), "varying"))
913 … if (context->globalErrorCheck(@1, context->symbolTable.atGlobalLevel(), "invariant varying"))
921 if ($1.qualifier != EvqConstExpr && !context->symbolTable.atGlobalLevel())
935 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
939 $$.qualifier = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary;
989 if (context->globalErrorCheck(@1, context->symbolTable.atGlobalLevel(), "uniform"))
1000 $$.precision = context->symbolTable.getDefaultPrecision($1.type);
[all …]
Dglslang_tab.cpp3095 …if (!context->symbolTable.setDefaultPrecision( (yyvsp[-1].interm.type), (yyvsp[-2].interm.precisio… in yyparse()
3222 context->symbolTable.push(); in yyparse()
3521 … if (context->globalErrorCheck((yylsp[0]), context->symbolTable.atGlobalLevel(), "attribute")) in yyparse()
3532 if (context->globalErrorCheck((yylsp[0]), context->symbolTable.atGlobalLevel(), "varying")) in yyparse()
3546 …if (context->globalErrorCheck((yylsp[-1]), context->symbolTable.atGlobalLevel(), "invariant varyin… in yyparse()
3559 … if ((yyvsp[0].interm.type).qualifier != EvqConstExpr && !context->symbolTable.atGlobalLevel()) in yyparse()
3583 TQualifier qual = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3592 … (yyval.interm.type).qualifier = context->symbolTable.atGlobalLevel() ? EvqGlobal : EvqTemporary; in yyparse()
3684 if (context->globalErrorCheck((yylsp[0]), context->symbolTable.atGlobalLevel(), "uniform")) in yyparse()
3697 …(yyval.interm.type).precision = context->symbolTable.getDefaultPrecision((yyvsp[0].interm.type).ty… in yyparse()
[all …]
DParseHelper.cpp476 if (!symbolTable.atBuiltInLevel()) { in reservedErrorCheck()
895 TSymbol* symbol = symbolTable.find(node->getSymbol(), mShaderVersion, &builtIn); in arraySetMaxSize()
908 TSymbol* fragData = symbolTable.find("gl_MaxDrawBuffers", mShaderVersion, &builtIn); in arraySetMaxSize()
1017 static_cast<const TVariable *>(symbolTable.findBuiltIn("gl_MaxDrawBuffers", mShaderVersion)); in declareVariable()
1029 if(!symbolTable.declare(*variable)) in declareVariable()
1166 if(symbolTable.findBuiltIn(variable->getName(), mShaderVersion)) in getNamedVariable()
1197 symbolTable.declare(fakeVariable); in getNamedVariable()
1213 const TSymbol* symbol = symbolTable.find(call->getName(), mShaderVersion, builtIn); in findFunction()
1215 symbol = symbolTable.find(call->getMangledName(), mShaderVersion, builtIn); in findFunction()
1262 if(symbolTable.atGlobalLevel() && initializer->getQualifier() != EvqConstExpr) in executeInitializer()
[all …]
DInitialize.h26 TSymbolTable& symbolTable);
DValidateLimitations.cpp431 TSymbolTable& symbolTable = GetGlobalParseContext()->symbolTable; in validateFunctionCall() local
432 TSymbol* symbol = symbolTable.find(node->getName(), GetGlobalParseContext()->getShaderVersion()); in validateFunctionCall()
DCompiler.h114 TSymbolTable symbolTable; variable
/external/deqp-deps/glslang/hlsl/
DhlslParseables.cpp1088 TSymbolTable& symbolTable) in identifyBuiltIns() argument
1091 symbolTable.relateToOperator("abs", EOpAbs); in identifyBuiltIns()
1092 symbolTable.relateToOperator("acos", EOpAcos); in identifyBuiltIns()
1093 symbolTable.relateToOperator("all", EOpAll); in identifyBuiltIns()
1094 symbolTable.relateToOperator("AllMemoryBarrier", EOpMemoryBarrier); in identifyBuiltIns()
1095 symbolTable.relateToOperator("AllMemoryBarrierWithGroupSync", EOpAllMemoryBarrierWithGroupSync); in identifyBuiltIns()
1096 symbolTable.relateToOperator("any", EOpAny); in identifyBuiltIns()
1097 symbolTable.relateToOperator("asdouble", EOpAsDouble); in identifyBuiltIns()
1098 symbolTable.relateToOperator("asfloat", EOpIntBitsToFloat); in identifyBuiltIns()
1099 symbolTable.relateToOperator("asin", EOpAsin); in identifyBuiltIns()
[all …]
DhlslParseables.h54 …, EProfile profile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable);
56 …ile, const SpvVersion& spvVersion, EShLanguage language, TSymbolTable& symbolTable, const TBuiltIn…
DhlslParseHelper.cpp55 HlslParseContext::HlslParseContext(TSymbolTable& symbolTable, TIntermediate& interm, bool parsingBu… in HlslParseContext() argument
60 …TParseContextBase(symbolTable, interm, parsingBuiltins, version, profile, spvVersion, language, in… in HlslParseContext()
650 TSymbol* symbol = symbolTable.find(*string, thisDepth); in handleVariable()
1591 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
1597 if (symbolTable.atBuiltInLevel()) in handleFunctionDeclarator()
1608 if (! symbolTable.insert(function)) in handleFunctionDeclarator()
1627 if (! symbolTable.insert(*variable)) in addStructBufferHiddenCounterParam()
1646 TSymbol* symbol = symbolTable.find(function.getMangledName()); in handleFunctionDefinition()
1694 symbolTable.makeInternalVariable(*variable); in handleFunctionDefinition()
1699 if (! symbolTable.insert(*variable)) in handleFunctionDefinition()
[all …]
DhlslParseHelper.h171 void pushScope() { symbolTable.push(); } in pushScope()
172 void popScope() { symbolTable.pop(0); } in popScope()
175 void popThisScope() { symbolTable.pop(0); } in popThisScope()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeRegex.java46 private SymbolTable symbolTable; field in UnicodeRegex
53 return symbolTable; in getSymbolTable()
60 public UnicodeRegex setSymbolTable(SymbolTable symbolTable) { in setSymbolTable() argument
61 this.symbolTable = symbolTable; in setSymbolTable()
344 UnicodeSet x = temp.clear().applyPattern(regex, pos, symbolTable, 0);
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeRegex.java48 private SymbolTable symbolTable; field in UnicodeRegex
55 return symbolTable; in getSymbolTable()
62 public UnicodeRegex setSymbolTable(SymbolTable symbolTable) { in setSymbolTable() argument
63 this.symbolTable = symbolTable; in setSymbolTable()
346 UnicodeSet x = temp.clear().applyPattern(regex, pos, symbolTable, 0);
/external/cldr/tools/java/org/unicode/cldr/util/
DTokenizer.java34 TokenSymbolTable symbolTable = new TokenSymbolTable(); field in Tokenizer
161 unicodeSet = new UnicodeSet(source, pos, symbolTable); in next()
284 return symbolTable.itemsLookedUp; in getLookedUpItems()
292 symbolTable.add(var, body); in addSymbol()

12