Home
last modified time | relevance | path

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

123

/external/angle/src/compiler/translator/
DSymbolTable_autogen.h22 TSymbol *m_gl_DepthRangeParameters = nullptr;
23 TSymbol *m_gl_DepthRange = nullptr;
24 TSymbol *m_gl_MaxVertexAttribs = nullptr;
25 TSymbol *m_gl_MaxVertexUniformVectors = nullptr;
26 TSymbol *m_gl_MaxVertexTextureImageUnits = nullptr;
27 TSymbol *m_gl_MaxCombinedTextureImageUnits = nullptr;
28 TSymbol *m_gl_MaxTextureImageUnits = nullptr;
29 TSymbol *m_gl_MaxFragmentUniformVectors = nullptr;
30 TSymbol *m_gl_MaxVaryingVectors = nullptr;
31 TSymbol *m_gl_MaxDrawBuffers = nullptr;
[all …]
DSymbol.h24 class TSymbol : angle::NonCopyable
28 TSymbol(TSymbolTable *symbolTable,
34 TSymbol(TSymbolTable *symbolTable,
42 ~TSymbol() = default;
82 constexpr TSymbol(const TSymbolUniqueId &id, in TSymbol() function
106 static_assert(sizeof(TSymbol) <= 24, "Size check failed");
110 class TVariable : public TSymbol
137 : TSymbol(id, in TVariable()
152 : TSymbol(id, name, symbolType, extensions, SymbolClass::Variable), in TVariable()
163 class TStructure : public TSymbol, public TFieldListCollection
[all …]
DSymbolTable.cpp66 bool insert(TSymbol *symbol);
71 TSymbol *find(const ImmutableString &name) const;
75 TSymbol *,
83 bool TSymbolTable::TSymbolTableLevel::insert(TSymbol *symbol) in insert()
95 TSymbol *TSymbolTable::TSymbolTableLevel::find(const ImmutableString &name) const in find()
252 const TSymbol *TSymbolTable::find(const ImmutableString &name, int shaderVersion) const in find()
254 const TSymbol *userSymbol = findUserDefined(name); in find()
263 const TSymbol *TSymbolTable::findUserDefined(const ImmutableString &name) const in findUserDefined()
268 const TSymbol *symbol = mTable[userDefinedLevel]->find(name); in findUserDefined()
286 const TSymbol *TSymbolTable::findGlobal(const ImmutableString &name) const in findGlobal()
[all …]
DSymbolTable.h68 using VarPointer = TSymbol *(TSymbolTableBase::*);
87 const TSymbol *get(ShShaderSpec shaderSpec,
101 const TSymbol *symbol);
111 constexpr SymbolOrVar(const TSymbol *symbolIn) : symbol(symbolIn) {} in SymbolOrVar()
114 const TSymbol *symbol;
130 const TSymbol *symbol) in SymbolRule()
162 const TSymbol *FindMangledBuiltIn(ShShaderSpec shaderSpec,
251 bool declare(TSymbol *symbol);
254 bool declareInternal(TSymbol *symbol);
280 const TSymbol *find(const ImmutableString &name, int shaderVersion) const;
[all …]
DSymbol.cpp35 TSymbol::TSymbol(TSymbolTable *symbolTable, in TSymbol() function in sh::TSymbol
52 TSymbol::TSymbol(TSymbolTable *symbolTable, in TSymbol() function in sh::TSymbol
68 ImmutableString TSymbol::name() const in name()
84 ImmutableString TSymbol::getMangledName() const in getMangledName()
101 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable()
114 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extensions), in TVariable()
126 : TSymbol(symbolTable, name, symbolType, SymbolClass::Struct), TFieldListCollection(fields) in TStructure()
163 : TSymbol(symbolTable, name, symbolType, SymbolClass::InterfaceBlock, extension), in TInterfaceBlock()
177 : TSymbol(symbolTable, name, symbolType, SymbolClass::InterfaceBlock, extensions), in TInterfaceBlock()
190 : TSymbol(symbolTable, name, symbolType, SymbolClass::Function, TExtension::UNDEFINED), in TFunction()
DFunctionLookup.h25 static TFunctionLookup *CreateFunctionCall(const ImmutableString &name, const TSymbol *symbol);
44 const TSymbol *symbol() const;
49 const TSymbol *symbol);
55 const TSymbol *mSymbol;
DHashNames.h21 class TSymbol; variable
29 ImmutableString HashName(const TSymbol *symbol, ShHashFunction64 hashFunction, NameMap *nameMap);
DSymbolUniqueId.h17 class TSymbol; variable
23 explicit TSymbolUniqueId(const TSymbol &symbol);
DFunctionLookup.cpp48 const TSymbol *symbol) in TFunctionLookup()
61 const TSymbol *symbol) in CreateFunctionCall()
174 const TSymbol *TFunctionLookup::symbol() const in symbol()
DOutputGLSLBase.h38 ImmutableString hashName(const TSymbol *symbol);
51 const TSymbol *symbol,
92 void writeQualifier(TQualifier qualifier, const TType &type, const TSymbol *symbol);
DSymbolUniqueId.cpp18 TSymbolUniqueId::TSymbolUniqueId(const TSymbol &symbol) : mId(symbol.uniqueId().get()) {} in TSymbolUniqueId()
DOutputVulkanGLSLForMetal.h37 const TSymbol *symbol,
DOutputVulkanGLSL.h51 const TSymbol *symbol,
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DSymbolTable.h84 class TSymbol {
87 explicit TSymbol(const TString *n) : name(n), extensions(0), writable(true) { } in POOL_ALLOCATOR_NEW_DELETE()
88 virtual TSymbol* clone() const = 0;
89 virtual ~TSymbol() { } // rely on all symbol owned memory coming from the pool in ~TSymbol()
129 explicit TSymbol(const TSymbol&);
130 TSymbol& operator=(const TSymbol&);
156 class TVariable : public TSymbol {
159 : TSymbol(name), in TSymbol() function
242 class TFunction : public TSymbol {
245 TSymbol(0), in TFunction()
[all …]
DSymbolTable.cpp192 void TSymbol::dumpExtensions(TInfoSink& infoSink) const in dumpExtensions()
316 TSymbol* symbol = candidate->second; in setFunctionExtensions()
336 TSymbol::TSymbol(const TSymbol& copyOf) in TSymbol() function in glslang::TSymbol
343 TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf) in TVariable()
375 TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf) in TFunction()
DParseHelper.h203 …TVector<TSymbol*> linkageSymbols; // will be transferred to 'linkage', after all editing is done, …
245 bool isAtomicCounterBlock(const TSymbol& symbol) { in isAtomicCounterBlock()
256 virtual void trackLinkage(TSymbol& symbol);
257 virtual void makeEditable(TSymbol*&);
325 TIntermTyped* handleVariable(const TSourceLoc&, TSymbol* symbol, const TString* string);
330 void makeEditable(TSymbol*&) override;
405TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
427 void layoutObjectCheck(const TSourceLoc&, const TSymbol&);
432 void fixOffset(const TSourceLoc&, TSymbol&);
498 void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&);
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DSymbolTable.h84 class TSymbol {
87 explicit TSymbol(const TString *n) : name(n), extensions(0), writable(true) { } in POOL_ALLOCATOR_NEW_DELETE()
88 virtual TSymbol* clone() const = 0;
89 virtual ~TSymbol() { } // rely on all symbol owned memory coming from the pool in ~TSymbol()
129 explicit TSymbol(const TSymbol&);
130 TSymbol& operator=(const TSymbol&);
156 class TVariable : public TSymbol {
159 : TSymbol(name), in TSymbol() function
242 class TFunction : public TSymbol {
245 TSymbol(0), in TFunction()
[all …]
DSymbolTable.cpp191 void TSymbol::dumpExtensions(TInfoSink& infoSink) const in dumpExtensions()
315 TSymbol* symbol = candidate->second; in setFunctionExtensions()
335 TSymbol::TSymbol(const TSymbol& copyOf) in TSymbol() function in glslang::TSymbol
342 TVariable::TVariable(const TVariable& copyOf) : TSymbol(copyOf) in TVariable()
374 TFunction::TFunction(const TFunction& copyOf) : TSymbol(copyOf) in TFunction()
DParseHelper.h201 …TVector<TSymbol*> linkageSymbols; // will be transferred to 'linkage', after all editing is done, …
237 virtual void trackLinkage(TSymbol& symbol);
238 virtual void makeEditable(TSymbol*&);
303 TIntermTyped* handleVariable(const TSourceLoc&, TSymbol* symbol, const TString* string);
308 void makeEditable(TSymbol*&) override;
379TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
401 void layoutObjectCheck(const TSourceLoc&, const TSymbol&);
406 void fixOffset(const TSourceLoc&, TSymbol&);
455 void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&);
530 TVector<TSymbol*> ioArraySymbolResizeList;
DParseContextBase.cpp274 void TParseContextBase::trackLinkage(TSymbol& symbol) in trackLinkage()
315 void TParseContextBase::makeEditable(TSymbol*& symbol) in makeEditable()
333 TSymbol* symbol = symbolTable.find(name, &builtIn); in getEditableVariable()
/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 POOL_ALLOCATOR_NEW_DELETE()
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 …]
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.h133TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
147 TSymbol* lookupUserType(const TString&, TType&);
244 …void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&, bool trac…
333 void trackLinkage(TSymbol& variable) override;
387 TVector<TSymbol*> ioArraySymbolResizeList;
440 …TMap<TBuiltInVariable, TSymbol*> builtInTessLinkageSymbols; // used for tessellation, finding decl…
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.h133TSymbol* redeclareBuiltinVariable(const TSourceLoc&, const TString&, const TQualifier&, const TSha…
147 TSymbol* lookupUserType(const TString&, TType&);
244 …void declareArray(const TSourceLoc&, const TString& identifier, const TType&, TSymbol*&, bool trac…
333 void trackLinkage(TSymbol& variable) override;
387 TVector<TSymbol*> ioArraySymbolResizeList;
440 …TMap<TBuiltInVariable, TSymbol*> builtInTessLinkageSymbols; // used for tessellation, finding decl…
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DName.h44 explicit Name(const TSymbol &symbol);

123