Home
last modified time | relevance | path

Searched refs:symbolType (Results 1 – 25 of 72) sorted by relevance

123

/external/angle/src/compiler/translator/
DSymbol.cpp37 SymbolType symbolType, in TSymbol() argument
44 mSymbolType(symbolType),
54 SymbolType symbolType, in TSymbol() argument
60 mSymbolType(symbolType), in TSymbol()
99 SymbolType symbolType, in TVariable() argument
101 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable()
106 ASSERT(name.empty() || symbolType != SymbolType::Empty); in TVariable()
112 SymbolType symbolType, in TVariable() argument
114 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extensions), in TVariable()
119 ASSERT(name.empty() || symbolType != SymbolType::Empty); in TVariable()
[all …]
DSymbol.h30 SymbolType symbolType,
36 SymbolType symbolType,
56 SymbolType symbolType() const { return mSymbolType; } in symbolType() function
84 SymbolType symbolType, in TSymbol() argument
90 mSymbolType(symbolType), in TSymbol()
116 SymbolType symbolType,
122 SymbolType symbolType,
134 SymbolType symbolType, in TVariable() argument
139 symbolType, in TVariable()
149 SymbolType symbolType, in TVariable() argument
[all …]
DUtilsHLSL.cpp39 ASSERT(paramType.getStruct()->symbolType() != SymbolType::Empty); in DisambiguateFunctionNameForParameterType()
827 if (structure.symbolType() != SymbolType::BuiltIn) in DecorateField()
852 if (variable.symbolType() == SymbolType::AngleInternal || in DecorateVariableIfNeeded()
853 variable.symbolType() == SymbolType::BuiltIn || variable.symbolType() == SymbolType::Empty) in DecorateVariableIfNeeded()
864 else if (variable.symbolType() == SymbolType::UserDefined && in DecorateVariableIfNeeded()
877 if (func->symbolType() == SymbolType::AngleInternal) in DecorateFunctionIfNeeded()
896 if (structure->symbolType() != SymbolType::Empty) in TypeString()
994 if (structure.symbolType() == SymbolType::Empty) in StructNameString()
1014 if (structure.symbolType() == SymbolType::Empty) in QualifiedStructNameString()
DHashNames.cpp118 if (symbol->symbolType() == SymbolType::Empty) in HashName()
122 if (symbol->symbolType() == SymbolType::AngleInternal || in HashName()
123 symbol->symbolType() == SymbolType::BuiltIn) in HashName()
DValidateTypeSizeLimitations.cpp60 if (variable.symbolType() == SymbolType::AngleInternal) in visitDeclaration()
117 if (structure->symbolType() != SymbolType::Empty) in setFieldOrVariableProperties()
137 if (interfaceBlock->symbolType() != SymbolType::Empty) in setFieldOrVariableProperties()
191 const bool isNamed = variable.symbolType() != SymbolType::Empty; in setCommonVariableProperties()
DBuiltinsWorkaroundGLSL.cpp46 if (node->variable().symbolType() == SymbolType::BuiltIn) in visitSymbol()
83 if (variable && variable->variable().symbolType() == SymbolType::BuiltIn) in visitDeclaration()
DCollectVariables.cpp403 if (symbol->variable().symbolType() == SymbolType::AngleInternal || in visitSymbol()
404 symbol->variable().symbolType() == SymbolType::Empty) in visitSymbol()
770 if (structure->symbolType() != SymbolType::Empty) in setFieldOrVariableProperties()
790 if (interfaceBlock->symbolType() != SymbolType::Empty) in setFieldOrVariableProperties()
867 const bool isNamed = variable.symbolType() != SymbolType::Empty; in setCommonVariableProperties()
1116 if (variable.variable().symbolType() == SymbolType::AngleInternal) in visitDeclaration()
1130 bool isUnnamed = variable.variable().symbolType() == SymbolType::Empty; in visitDeclaration()
1151 ASSERT(variable.variable().symbolType() != SymbolType::Empty || in visitDeclaration()
/external/angle/src/compiler/translator/TranslatorMetalDirect/
DName.h29 explicit constexpr Name(ImmutableString rawName, SymbolType symbolType) in Name() argument
30 : mRawName(rawName), mSymbolType(symbolType) in Name()
32 ASSERT(rawName.empty() == (symbolType == SymbolType::Empty)); in Name()
35 explicit constexpr Name(const char *rawName, SymbolType symbolType = SymbolType::AngleInternal)
36 : Name(ImmutableString(rawName), symbolType) in Name() argument
39 explicit Name(const std::string &rawName, SymbolType symbolType) in Name() argument
40 : Name(ImmutableString(rawName), symbolType) in Name()
52 constexpr SymbolType symbolType() const { return mSymbolType; } in symbolType() function
DSeparateCompoundStructDeclarations.cpp36 const SymbolType symbolType = var.symbolType(); in visitDeclaration() local
37 if (type.isStructSpecifier() && symbolType != SymbolType::Empty) in visitDeclaration()
43 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration()
60 new TVariable(mSymbolTable, var.name(), instanceType, symbolType, var.extensions()); in visitDeclaration()
DReduceInterfaceBlocks.cpp43 const SymbolType symbolType = var.symbolType(); in visitDeclarationPre() local
46 if (symbolType == SymbolType::Empty) in visitDeclarationPre()
51 &interfaceBlock->fields(), interfaceBlock->symbolType()); in visitDeclarationPre()
70 &interfaceBlock->fields(), interfaceBlock->symbolType()); in visitDeclarationPre()
DAstHelpers.cpp59 auto *var = new TVariable(&symbolTable, name.rawName(), type, name.symbolType()); in CreateInstanceVariable()
103 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined); in CloneFunction()
107 auto &newFunc = *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunction()
121 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndPrependParam()
122 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndPrependParam()
126 auto &newFunc = *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunctionAndPrependParam()
141 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndAppendParams()
142 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndAppendParams()
146 auto &newFunc = *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunctionAndAppendParams()
164 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined); in CloneFunctionAndChangeReturnType()
[all …]
DNameEmbeddedUniformStructsMetal.cpp47 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration()
86 if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) in doReplacement()
93 asSymbol->variable().symbolType()); in doReplacement()
DName.cpp18 if (object.symbolType() == SymbolType::Empty) in GetName()
25 Name::Name(const TField &field) : Name(GetName(field), field.symbolType()) {} in Name()
27 Name::Name(const TSymbol &symbol) : Name(GetName(symbol), symbol.symbolType()) {} in Name()
DRewritePipelines.cpp229 new TField(textureEnvType, var->name(), kNoSourceLoc, var->symbolType())); in createInternalPipelineStruct()
239 auto *field = new TField(&type, var->name(), kNoSourceLoc, var->symbolType()); in createInternalPipelineStruct()
252 auto *field = new TField(&type, var->name(), kNoSourceLoc, var->symbolType()); in createInternalPipelineStruct()
266 pipelineStructName.symbolType()); in createInternalPipelineStruct()
396 field->symbolType())); in getUpdatedFunction()
416 new TVariable(&mSymbolTable, name.rawName(), &type, name.symbolType()); in getUpdatedFunction()
427 new TType(TBasicType::EbtUInt), name.symbolType()); in getUpdatedFunction()
745 field->symbolType()); in visitMain()
DSymbolEnv.cpp54 if (var.symbolType() == SymbolType::Empty && type.isStructSpecifier()) in visitDeclarationPre()
266 return Name(name, baseName.symbolType()); in fullName()
321 func = new TFunction(&mSymbolTable, name.rawName(), name.symbolType(), &returnType, false); in getFunctionOverloadImpl()
377 ASSERT(name.symbolType() == SymbolType::AngleInternal); in newStructure()
381 s = new TStructure(&mSymbolTable, name.rawName(), &fields, name.symbolType()); in newStructure()
DSeparateCompoundExpressions.cpp200 ASSERT(var.symbolType() == SymbolType::AngleInternal); in pullMappedExpr()
238 new TVariable(&mSymbolTable, name.rawName(), &newExpr.getType(), name.symbolType()); in pushBinding()
332 ASSERT(decl.symbol.variable().symbolType() != SymbolType::Empty); in visitDeclarationPost()
402 name.symbolType()); in visitBinaryPost()
473 new TVariable(&mSymbolTable, name.rawName(), &node.getType(), name.symbolType()); in visitTernaryPost()
DRewriteKeywords.cpp245 const SymbolType symbolType = object.symbolType(); in needsRenamingImpl() local
246 switch (symbolType) in needsRenamingImpl()
DEmitMetal.cpp61 SymbolType symbolType() const in symbolType() function
63 return isField() ? field().symbolType() : variable().symbolType(); in symbolType()
1206 ASSERT(field->symbolType() == SymbolType::AngleInternal); in emitStructDeclaration()
1213 ASSERT(field->symbolType() != SymbolType::AngleInternal || in emitStructDeclaration()
1261 if (decl.symbolType() != SymbolType::Empty) in emitOrdinaryVariableDeclaration()
1271 const SymbolType symbolType = decl.symbolType(); in emitVariableDeclaration() local
1283 if (symbolType != SymbolType::Empty) in emitVariableDeclaration()
1298 ASSERT(symbolType != SymbolType::Empty || evdConfig.isParameter); in emitVariableDeclaration()
1313 ASSERT(var.symbolType() != SymbolType::Empty); in visitSymbol()
/external/angle/src/compiler/translator/tree_ops/vulkan/
DSeparateStructFromUniformDeclarations.cpp64 if (structure->symbolType() == SymbolType::Empty) in doReplacement()
84 ASSERT(asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty); in doReplacement()
92 asSymbol->variable().symbolType()); in doReplacement()
/external/google-breakpad/src/client/mac/handler/testcases/
Dbreakpad_nlist_test.cc61 char symbolType; in CompareToNM() local
64 fscanf(fd, "%s %c %s", oneNMAddr, &symbolType, symbolName); in CompareToNM()
/external/angle/src/compiler/translator/tree_ops/
DDeferGlobalInitializers.cpp88 if (symbolNode->variable().symbolType() == SymbolType::AngleInternal || in GetDeferredInitializers()
89 symbolNode->variable().symbolType() == SymbolType::Empty) in GetDeferredInitializers()
166 new TVariable(symbolTable, var->name(), replacementType, var->symbolType()); in DeferGlobalInitializers()
DRewriteStructSamplers.cpp383 ASSERT(variable.symbolType() != SymbolType::Empty); in visitDeclaration()
468 new TField(newType, field->name(), field->line(), field->symbolType()); in stripStructSpecifierSamplers()
481 new TStructure(mSymbolTable, structure->name(), newFieldList, structure->symbolType()); in stripStructSpecifierSamplers()
537 new TVariable(mSymbolTable, variable.name(), newType, variable.symbolType()); in extractStructSamplerUniforms()
/external/angle/src/compiler/translator/tree_ops/gl/
DRegenerateStructNames.cpp53 if (userType->symbolType() == SymbolType::BuiltIn || in visitSymbol()
54 userType->symbolType() == SymbolType::Empty) in visitSymbol()
/external/angle/src/tests/compiler_tests/
DInitOutputVariables_test.cpp39 const bool sameSymbols = (expected->variable().symbolType() == SymbolType::Empty && in AreSymbolsTheSame()
40 candidate->variable().symbolType() == SymbolType::Empty) || in AreSymbolsTheSame()
172 if (structure != nullptr && structure->symbolType() != SymbolType::Empty && in visitSymbol()
/external/angle/src/compiler/translator/tree_util/
DFindSymbolNode.cpp30 if (node->variable().symbolType() != SymbolType::Empty && node->getName() == mSymbolName) in visitSymbol()

123