Home
last modified time | relevance | path

Searched refs:TSymbol (Results 1 – 24 of 24) sorted by relevance

/external/deqp-deps/glslang/glslang/MachineIndependent/
DSymbolTable.h82 class TSymbol {
85 … explicit TSymbol(const TString *n) : name(n), numExtensions(0), extensions(0), writable(true) { } in POOL_ALLOCATOR_NEW_DELETE()
86 virtual TSymbol* clone() const = 0;
87 virtual ~TSymbol() { } // rely on all symbol owned memory coming from the pool in ~TSymbol()
124 explicit TSymbol(const TSymbol&);
125 TSymbol& operator=(const TSymbol&);
152 class TVariable : public TSymbol {
155 : TSymbol(name), in TSymbol() function
217 class TFunction : public TSymbol {
220 TSymbol(0), in TFunction()
[all …]
DParseHelper.h191 …TVector<TSymbol*> linkageSymbols; // will be transferred to 'linkage', after all editing is done, …
227 virtual void trackLinkage(TSymbol& symbol);
228 virtual void makeEditable(TSymbol*&);
293 TIntermTyped* handleVariable(const TSourceLoc&, TSymbol* symbol, const TString* string);
297 void makeEditable(TSymbol*&) override;
365TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
386 void layoutObjectCheck(const TSourceLoc&, const TSymbol&);
391 void fixOffset(const TSourceLoc&, TSymbol&);
435 void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&);
504 TVector<TSymbol*> ioArraySymbolResizeList;
DSymbolTable.cpp259 TSymbol* symbol = candidate->second; in setFunctionExtensions()
279 TSymbol::TSymbol(const TSymbol& copyOf) in TSymbol() function in glslang::TSymbol
286 TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf) in TVariable()
312 TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf) in TFunction()
DParseContextBase.cpp243 void TParseContextBase::trackLinkage(TSymbol& symbol) in trackLinkage()
278 void TParseContextBase::makeEditable(TSymbol*& symbol) in makeEditable()
296 TSymbol* symbol = symbolTable.find(name, &builtIn); in getEditableVariable()
Dlimits.cpp115 TSymbol* function = symbolTable.find(node->getName()); in visitAggregate()
DParseHelper.cpp287 TIntermTyped* TParseContext::handleVariable(const TSourceLoc& loc, TSymbol* symbol, const TString* … in handleVariable()
506 void TParseContext::makeEditable(TSymbol*& symbol) in makeEditable()
893 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
945 TSymbol* symbol = symbolTable.find(function.getMangledName()); in handleFunctionDefinition()
3693 …declareArray(const TSourceLoc& loc, const TString& identifier, const TType& type, TSymbol*& symbol) in declareArray()
3886 TSymbol* TParseContext::redeclareBuiltinVariable(const TSourceLoc& loc, const TString& identifier, in redeclareBuiltinVariable()
3931 TSymbol* symbol = symbolTable.find(identifier, &builtIn); in redeclareBuiltinVariable()
4065 TSymbol* block; in redeclareBuiltinBlock()
4551 TSymbol* symbol = symbolTable.find(limit); in limitCheck()
5283 void TParseContext::layoutObjectCheck(const TSourceLoc& loc, const TSymbol& symbol) in layoutObjectCheck()
[all …]
Dglslang_tab.cpp.h472 glslang::TSymbol* symbol;
Dlocalintermediate.h208 class TSymbol; variable
520 void addSymbolLinkageNode(TIntermAggregate*& linkage, const TSymbol&);
DInitialize.cpp7739 TSymbol* symbol = symbolTable.find(name); in add2ndGenerationSamplingImaging()
7759 TSymbol* symbol = symbolTable.find(name); in add2ndGenerationSamplingImaging()
7776 TSymbol* symbol = symbolTable.find(blockName); in add2ndGenerationSamplingImaging()
8125 TSymbol* symbol = symbolTable.find("gl_FragColor"); in add2ndGenerationSamplingImaging()
DIntermediate.cpp2659 TSymbol* symbol = symbolTable.find(name); in addSymbolLinkageNode()
2664 void TIntermediate::addSymbolLinkageNode(TIntermAggregate*& linkage, const TSymbol& symbol) in addSymbolLinkageNode()
Dglslang.y83 glslang::TSymbol* symbol;
Dglslang_tab.cpp550 glslang::TSymbol* symbol;
/external/swiftshader/src/OpenGL/compiler/
DSymbolTable.cpp201 bool TSymbolTableLevel::insert(TSymbol *symbol) in insert()
221 TSymbol *TSymbolTableLevel::find(const TString &name) const in find()
230 TSymbol *TSymbolTable::find(const TString &name, int shaderVersion, bool *builtIn, bool *sameScope)… in find()
233 TSymbol *symbol = nullptr; in find()
260 TSymbol *TSymbolTable::findBuiltIn(const TString &name, int shaderVersion) const in findBuiltIn()
270 TSymbol *symbol = table[level]->find(name); in findBuiltIn()
281 TSymbol::TSymbol(const TSymbol& copyOf) in TSymbol() function in TSymbol
DSymbolTable.h54 class TSymbol
58 TSymbol(const TString *n) : name(n) { } in TSymbol() function
59 virtual ~TSymbol() { /* don't delete name, it's from the pool */ } in ~TSymbol()
67 TSymbol(const TSymbol&);
84 class TVariable : public TSymbol
87 …TVariable(const TString *name, const TType& t, bool uT = false ) : TSymbol(name), type(t), userTyp… in TSymbol() function
139 class TFunction : public TSymbol
143 TSymbol(0), in TFunction()
149 TSymbol(name), in TSymbol() function
200 typedef TMap<TString, TSymbol*> tLevel;
[all …]
Dglslang_tab.h198 TSymbol* symbol;
DParseHelper.h114 …const TVariable *getNamedVariable(const TSourceLoc &location, const TString *name, const TSymbol *…
176 const TSymbol *symbol);
DParseHelper.cpp895 TSymbol* symbol = symbolTable.find(node->getSymbol(), mShaderVersion, &builtIn); in arraySetMaxSize()
908 TSymbol* fragData = symbolTable.find("gl_MaxDrawBuffers", mShaderVersion, &builtIn); in arraySetMaxSize()
1148 const TSymbol *symbol) in getNamedVariable()
1213 const TSymbol* symbol = symbolTable.find(call->getName(), mShaderVersion, builtIn); in findFunction()
1300 const TSymbol* symbol = symbolTable.find(initializer->getAsSymbolNode()->getSymbol(), 0); in executeInitializer()
1589 const TSymbol *symbol) in parseInvariantDeclaration()
1909 const TSymbol *builtIn = symbolTable.findBuiltIn(function->getMangledName(), getShaderVersion()); in parseFunctionPrototype()
2043 TSymbol *prevSym = symbolTable.find(function->getName(), getShaderVersion()); in parseFunctionDeclarator()
2362 TSymbol* blockNameSymbol = new TSymbol(&blockName); in addInterfaceBlock()
DValidateLimitations.cpp432 TSymbol* symbol = symbolTable.find(node->getName(), GetGlobalParseContext()->getShaderVersion()); in validateFunctionCall()
Dglslang.l425 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->getShaderVersion()); in check_type()
Dglslang.y78 TSymbol* symbol;
Dglslang_lex.cpp3657 TSymbol* symbol = yyextra->symbolTable.find(yytext, yyextra->getShaderVersion()); in check_type()
Dglslang_tab.cpp285 TSymbol* symbol;
/external/deqp-deps/glslang/hlsl/
DhlslParseHelper.h133TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
147 TSymbol* lookupUserType(const TString&, TType&);
239 …void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&, bool trac…
327 void trackLinkage(TSymbol& variable) override;
381 TVector<TSymbol*> ioArraySymbolResizeList;
434 …TMap<TBuiltInVariable, TSymbol*> builtInTessLinkageSymbols; // used for tessellation, finding decl…
DhlslParseHelper.cpp650 TSymbol* symbol = symbolTable.find(*string, thisDepth); in handleVariable()
1450 void HlslParseContext::trackLinkage(TSymbol& symbol) in trackLinkage()
1591 TSymbol* symbol = symbolTable.find(function.getMangledName(), &builtIn); in handleFunctionDeclarator()
1646 TSymbol* symbol = symbolTable.find(function.getMangledName()); in handleFunctionDefinition()
4604 TSymbol* symbol = symbolTable.find(name); in decomposeIntrinsic()
5307 TSymbol* symbol = symbolTable.find(mangle, &builtIn); in handleFunctionCall()
6633 TSymbol*& symbol, bool track) in declareArray()
6711 TSymbol* HlslParseContext::redeclareBuiltinVariable(const TSourceLoc& /*loc*/, const TString& ident… in redeclareBuiltinVariable()
7294 TSymbol* symbol = symbolTable.find(call.getMangledName(), &builtIn, &dummyScope, &thisDepth); in findFunction()
7685 TSymbol* HlslParseContext::lookupUserType(const TString& typeName, TType& type) in lookupUserType()
[all …]