Home
last modified time | relevance | path

Searched full:symboltable (Results 1 – 25 of 728) sorted by relevance

12345678910>>...30

/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.y53 #include "SymbolTable.h"
617 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"))
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DInitialize.cpp48 // TBuiltIns::identifyBuiltIns(...,symbolTable) context-independent programmatic additions/mappin…
50 // TBuiltIns::identifyBuiltIns(...,symbolTable, resources) context-dependent programmatic additio…
448 void RelateTabledBuiltins(const FunctionT* functions, TSymbolTable& symbolTable) in RelateTabledBuiltins() argument
451 symbolTable.relateToOperator(functions->name, functions->op); in RelateTabledBuiltins()
477 …profile */, const SpvVersion& /* spvVersion */, EShLanguage /* stage */, TSymbolTable& symbolTable) in relateTabledBuiltins() argument
479 RelateTabledBuiltins(BaseFunctions, symbolTable); in relateTabledBuiltins()
480 RelateTabledBuiltins(DerivativeFunctions, symbolTable); in relateTabledBuiltins()
481 RelateTabledBuiltins(CustomFunctions, symbolTable); in relateTabledBuiltins()
7343 …const char* name, TStorageQualifier qualifier, TBuiltInVariable builtIn, TSymbolTable& symbolTable) argument
7345 TSymbol* symbol = symbolTable.find(name);
[all …]
Dglslang.m486 #include "SymbolTable.h"
428 if (! parseContext.symbolTable.atBuiltInLevel())
886 parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
1677 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1681 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1685 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1690 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1694 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1698 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1703 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
[all …]
Dglslang.y86 #include "SymbolTable.h"
428 if (! parseContext.symbolTable.atBuiltInLevel())
886 parseContext.symbolTable.setPreviousDefaultPrecisions(&parseContext.defaultPrecision[0]);
1677 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1681 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1685 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1690 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1694 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1698 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
1703 $$.init($1.loc, parseContext.symbolTable.atGlobalLevel());
[all …]
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseables.cpp44 // TBuiltInParseablesHlsl::identifyBuiltIns(...,symbolTable) context-independent programmatic add…
46 // TBuiltInParseablesHlsl::identifyBuiltIns(...,symbolTable, resources) context-dependent program…
1023 TSymbolTable& symbolTable) in identifyBuiltIns() argument
1025 // symbolTable.relateToOperator("abort", EOpAbort); in identifyBuiltIns()
1026 symbolTable.relateToOperator("abs", EOpAbs); in identifyBuiltIns()
1027 symbolTable.relateToOperator("acos", EOpAcos); in identifyBuiltIns()
1028 symbolTable.relateToOperator("all", EOpAll); in identifyBuiltIns()
1029 symbolTable.relateToOperator("AllMemoryBarrier", EOpMemoryBarrier); in identifyBuiltIns()
1030 symbolTable.relateToOperator("AllMemoryBarrierWithGroupSync", EOpAllMemoryBarrierWithGroupSync); in identifyBuiltIns()
1031 symbolTable.relateToOperator("any", EOpAny); in identifyBuiltIns()
[all …]
/external/llvm-project/mlir/lib/IR/
DSymbolTable.cpp1 //===- SymbolTable.cpp - MLIR Symbol Table Class --------------------------===//
9 #include "mlir/IR/SymbolTable.h"
29 symbol->getAttrOfType<StringAttr>(SymbolTable::getSymbolAttrName()); in getNameIfSymbol()
60 Identifier::get(SymbolTable::getSymbolAttrName(), ctx); in collectValidReferencesFor()
63 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) in collectValidReferencesFor()
96 if (!op.hasTrait<OpTrait::SymbolTable>()) { in walkSymbolTable()
106 // SymbolTable
110 SymbolTable::SymbolTable(Operation *symbolTableOp) in SymbolTable() function in SymbolTable
112 assert(symbolTableOp->hasTrait<OpTrait::SymbolTable>() && in SymbolTable()
113 "expected operation to have SymbolTable trait"); in SymbolTable()
[all …]
/external/angle/src/compiler/translator/tree_ops/
DInitializeVariables.cpp13 #include "compiler/translator/SymbolTable.h"
29 TSymbolTable *symbolTable);
35 TSymbolTable *symbolTable);
47 TSymbolTable *symbolTable) in AddZeroInitSequence() argument
52 initSequenceOut, symbolTable); in AddZeroInitSequence()
58 initSequenceOut, symbolTable); in AddZeroInitSequence()
70 TSymbolTable *symbolTable) in AddStructZeroInitSequence() argument
82 initSequenceOut, symbolTable); in AddStructZeroInitSequence()
90 TSymbolTable *symbolTable) in AddArrayZeroInitStatementList() argument
97 initSequenceOut, symbolTable); in AddArrayZeroInitStatementList()
[all …]
DRewriteTexelFetchOffset.cpp12 #include "compiler/translator/SymbolTable.h"
27 const TSymbolTable &symbolTable,
31 Traverser(const TSymbolTable &symbolTable, int shaderVersion);
35 const TSymbolTable *symbolTable; member in sh::__anon113835f70111::Traverser
40 Traverser::Traverser(const TSymbolTable &symbolTable, int shaderVersion) in Traverser() argument
41 : TIntermTraverser(true, false, false), symbolTable(&symbolTable), shaderVersion(shaderVersion) in Traverser()
47 const TSymbolTable &symbolTable, in Apply() argument
50 Traverser traverser(symbolTable, shaderVersion); in Apply()
145 *symbolTable, shaderVersion); in visitAggregate()
158 const TSymbolTable &symbolTable, in RewriteTexelFetchOffset() argument
[all …]
/external/angle/src/compiler/translator/tree_util/
DIntermNode_util.cpp12 #include "compiler/translator/SymbolTable.h"
22 const TSymbolTable &symbolTable, in LookUpBuiltInFunction() argument
26 const TSymbol *symbol = symbolTable.findBuiltIn(mangledName, shaderVersion); in LookUpBuiltInFunction()
152 TVariable *CreateTempVariable(TSymbolTable *symbolTable, const TType *type) in CreateTempVariable() argument
154 ASSERT(symbolTable != nullptr); in CreateTempVariable()
157 return new TVariable(symbolTable, kEmptyImmutableString, type, SymbolType::AngleInternal); in CreateTempVariable()
160 TVariable *CreateTempVariable(TSymbolTable *symbolTable, const TType *type, TQualifier qualifier) in CreateTempVariable() argument
162 ASSERT(symbolTable != nullptr); in CreateTempVariable()
165 return CreateTempVariable(symbolTable, type); in CreateTempVariable()
169 return CreateTempVariable(symbolTable, typeWithQualifier); in CreateTempVariable()
[all …]
DIntermNode_util.h31 TVariable *CreateTempVariable(TSymbolTable *symbolTable, const TType *type);
32 TVariable *CreateTempVariable(TSymbolTable *symbolTable, const TType *type, TQualifier qualifier);
40 TVariable *DeclareTempVariable(TSymbolTable *symbolTable,
44 TVariable *DeclareTempVariable(TSymbolTable *symbolTable,
50 TSymbolTable *symbolTable,
58 TSymbolTable *symbolTable,
74 const TSymbolTable &symbolTable);
79 const TSymbolTable &symbolTable,
84 const TSymbolTable &symbolTable,
88 const TSymbolTable &symbolTable,
/external/antlr/runtime/ObjC/Framework/examples/scopes/
DSymbolTableLexer.m4 …file : /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g
14 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g 2012-02-16 17…
34 …e:@"/Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g"];
77 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:7:6: ( '(' ) …
78 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:7:8: '(' // a…
111 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:8:6: ( ')' ) …
112 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:8:8: ')' // a…
145 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:9:6: ( ';' ) …
146 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:9:8: ';' // a…
179 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:10:7: ( '=' )…
[all …]
DSymbolTableParser.m4 …file : /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g
14 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g 2012-02-16 17…
141 …e:@"/Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g"];
182 …* /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:25:…
194 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:27:5: ( globa…
195 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:27:9: globals…
217 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:27:18: method…
258 …* /Users/acondit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:30:…
275 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:36:5: ( ( dec…
276 …condit/source/antlr/code/antlr3/runtime/ObjC/Framework/examples/scopes/SymbolTable.g:36:9: ( decl …
[all …]
/external/llvm-project/mlir/include/mlir/IR/
DSymbolInterfaces.td26 operation resides immediately within a region that defines a `SymbolTable`.
37 return mlir::SymbolTable::getSymbolName($_op);
39 return mlir::SymbolTable::getSymbolName(this->getOperation());
46 mlir::SymbolTable::getSymbolAttrName(),
51 "mlir::SymbolTable::Visibility", "getVisibility", (ins), [{}],
53 return mlir::SymbolTable::getSymbolVisibility(this->getOperation());
59 return getVisibility() == mlir::SymbolTable::Visibility::Nested;
65 return getVisibility() == mlir::SymbolTable::Visibility::Private;
71 return getVisibility() == mlir::SymbolTable::Visibility::Public;
75 "void", "setVisibility", (ins "mlir::SymbolTable::Visibility":$vis), [{}],
[all …]
/external/skia/src/sksl/ir/
DSkSLSymbolTable.h29 class SymbolTable {
31 SymbolTable(ErrorReporter* errorReporter, bool builtin) in SymbolTable() function
35 SymbolTable(std::shared_ptr<SymbolTable> parent, bool builtin) in SymbolTable() function
45 static std::shared_ptr<SymbolTable> WrapIfBuiltin(std::shared_ptr<SymbolTable> symbolTable) { in WrapIfBuiltin() argument
46 if (!symbolTable) { in WrapIfBuiltin()
49 if (!symbolTable->isBuiltin()) { in WrapIfBuiltin()
50 return symbolTable; in WrapIfBuiltin()
52 return std::make_shared<SymbolTable>(std::move(symbolTable), /*builtin=*/false); in WrapIfBuiltin()
109 /** Returns true if this is a built-in SymbolTable. */
116 std::shared_ptr<SymbolTable> fParent;
[all …]
DSkSLSwitchStatement.h20 class SymbolTable; variable
30 StatementArray cases, std::shared_ptr<SymbolTable> symbols) in SwitchStatement()
46 std::shared_ptr<SymbolTable> symbolTable);
55 std::shared_ptr<SymbolTable> symbolTable);
64 std::shared_ptr<SymbolTable> symbolTable);
86 const std::shared_ptr<SymbolTable>& symbols() const { in symbols()
98 std::shared_ptr<SymbolTable> fSymbols;
DSkSLForStatement.h26 std::unique_ptr<Statement> statement, std::shared_ptr<SymbolTable> symbols) in ForStatement()
40 std::shared_ptr<SymbolTable> symbolTable);
46 std::shared_ptr<SymbolTable> symbolTable);
54 std::shared_ptr<SymbolTable> symbolTable);
88 const std::shared_ptr<SymbolTable>& symbols() const { in symbols()
97 std::shared_ptr<SymbolTable> fSymbolTable;
/external/angle/src/compiler/translator/
DSymbol.cpp16 #include "compiler/translator/SymbolTable.h"
35 TSymbol::TSymbol(TSymbolTable *symbolTable, in TSymbol() argument
41 mUniqueId(symbolTable->nextUniqueId()), in TSymbol()
52 TSymbol::TSymbol(TSymbolTable *symbolTable, in TSymbol() argument
58 mUniqueId(symbolTable->nextUniqueId()), in TSymbol()
96 TVariable::TVariable(TSymbolTable *symbolTable, in TVariable() argument
101 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable()
109 TVariable::TVariable(TSymbolTable *symbolTable, in TVariable() argument
114 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extensions), in TVariable()
122 TStructure::TStructure(TSymbolTable *symbolTable, in TStructure() argument
[all …]
/external/angle/src/compiler/translator/tree_ops/vulkan/
DRewriteInterpolateAtOffset.cpp13 #include "compiler/translator/SymbolTable.h"
32 const TSymbolTable &symbolTable,
38 Traverser(TSymbolTable *symbolTable,
45 const TSymbolTable *symbolTable = nullptr; member in sh::__anon94b8cf470111::Traverser
52 Traverser::Traverser(TSymbolTable *symbolTable, in Traverser() argument
57 : TIntermTraverser(true, false, false, symbolTable), in Traverser()
58 symbolTable(symbolTable), in Traverser()
69 const TSymbolTable &symbolTable, in Apply() argument
74 TSymbolTable *pSymbolTable = const_cast<TSymbolTable *>(&symbolTable); in Apply()
130 "interpolateAtOffset", &interpolateAtOffsetArguments, *symbolTable, shaderVersion); in visitAggregate()
[all …]
DRewriteR32fImages.cpp14 #include "compiler/translator/SymbolTable.h"
32 TSymbolTable *symbolTable,
44 TSymbolTable *symbolTable, in RewriteExpressionTraverser() argument
46 : TIntermTraverser(true, false, false, symbolTable), in RewriteExpressionTraverser()
75 TSymbolTable *symbolTable, in RewriteExpression() argument
83 RewriteExpressionTraverser traverser(compiler, symbolTable, imageMap); in RewriteExpression()
114 TSymbolTable *symbolTable, in RewriteBuiltinFunctionCall() argument
174 index = RewriteExpression(compiler, symbolTable, index, imageMap); in RewriteBuiltinFunctionCall()
194 arg = RewriteExpression(compiler, symbolTable, arg, imageMap); in RewriteBuiltinFunctionCall()
207 CreateBuiltInUnaryFunctionCallNode("floatBitsToUint", data, *symbolTable, 300); in RewriteBuiltinFunctionCall()
[all …]
/external/llvm-project/mlir/test/lib/IR/
DTestSymbolUses.cpp22 // Test computing uses on a non symboltable op. in operateOnSymbol()
23 Optional<SymbolTable::UseRange> symbolUses = in operateOnSymbol()
24 SymbolTable::getSymbolUses(symbol); in operateOnSymbol()
38 if (SymbolTable::symbolKnownUseEmpty(symbol, &module.getBodyRegion())) { in operateOnSymbol()
48 symbolUses = SymbolTable::getSymbolUses(symbol, &module.getBodyRegion()); in operateOnSymbol()
50 for (SymbolTable::SymbolUse symbolUse : *symbolUses) { in operateOnSymbol()
52 if (SymbolTable::lookupNearestSymbolFrom( in operateOnSymbol()
56 << symbol->getAttr(SymbolTable::getSymbolAttrName()); in operateOnSymbol()
74 SymbolTable table(module); in runOnOperation()
76 // In order to test the SymbolTable::erase method, also erase completely in runOnOperation()
[all …]
/external/javassist/src/main/javassist/compiler/
DParser.java55 public ASTList parseMember(SymbolTable tbl) throws CompileError { in parseMember()
64 public ASTList parseMember1(SymbolTable tbl) throws CompileError { in parseMember1()
95 private FieldDecl parseField(SymbolTable tbl, ASTList mods, in parseField()
124 private MethodDecl parseMethod1(SymbolTable tbl, boolean isConstructor, in parseMethod1()
165 public MethodDecl parseMethod2(SymbolTable tbl, MethodDecl md) in parseMethod2()
204 private Declarator parseFormalType(SymbolTable tbl) throws CompileError { in parseFormalType()
223 private Declarator parseFormalParam(SymbolTable tbl) in parseFormalParam()
256 public Stmnt parseStatement(SymbolTable tbl) in parseStatement()
300 private Stmnt parseBlock(SymbolTable tbl) throws CompileError { in parseBlock()
305 SymbolTable tbl2 = new SymbolTable(tbl); in parseBlock()
[all …]
/external/angle/src/compiler/translator/tree_ops/gl/
DUseInterfaceBlockFields.cpp15 #include "compiler/translator/SymbolTable.h"
45 const TSymbolTable &symbolTable) in AddFieldUseStatements() argument
48 TIntermSymbol *symbol = ReferenceGlobalVariable(ImmutableString(var.name), symbolTable); in AddFieldUseStatements()
64 const TSymbolTable &symbolTable) in InsertUseCode() argument
72 AddFieldUseStatements(var, sequence, symbolTable); in InsertUseCode()
78 ReferenceGlobalVariable(ImmutableString(block.instanceName), symbolTable); in InsertUseCode()
89 ReferenceGlobalVariable(ImmutableString(block.instanceName), symbolTable); in InsertUseCode()
100 const TSymbolTable &symbolTable) in UseInterfaceBlockFields() argument
103 InsertUseCode(mainBody->getSequence(), blocks, symbolTable); in UseInterfaceBlockFields()
/external/llvm-project/mlir/lib/Transforms/
DSymbolDCE.cpp27 SymbolTableCollection &symbolTable,
37 if (!symbolTableOp->hasTrait<OpTrait::SymbolTable>()) { in runOnOperation()
53 SymbolTableCollection symbolTable; in runOnOperation() local
54 if (failed(computeLiveness(symbolTableOp, symbolTable, symbolTableIsHidden, in runOnOperation()
61 if (!nestedSymbolTable->hasTrait<OpTrait::SymbolTable>()) in runOnOperation()
77 SymbolTableCollection &symbolTable, in computeLiveness() argument
106 if (op->hasTrait<OpTrait::SymbolTable>()) { in computeLiveness()
111 if (failed(computeLiveness(op, symbolTable, symIsHidden, liveSymbols))) in computeLiveness()
116 Optional<SymbolTable::UseRange> uses = SymbolTable::getSymbolUses(op); in computeLiveness()
124 for (const SymbolTable::SymbolUse &use : *uses) { in computeLiveness()
[all …]

12345678910>>...30