Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/angle2/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.cpp41 ASSERT(paramType.getStruct()->symbolType() != SymbolType::Empty); in DisambiguateFunctionNameForParameterType()
829 if (structure.symbolType() != SymbolType::BuiltIn) in DecorateField()
854 if (variable.symbolType() == SymbolType::AngleInternal || in DecorateVariableIfNeeded()
855 variable.symbolType() == SymbolType::BuiltIn || variable.symbolType() == SymbolType::Empty) in DecorateVariableIfNeeded()
866 else if (variable.symbolType() == SymbolType::UserDefined && in DecorateVariableIfNeeded()
879 if (func->symbolType() == SymbolType::AngleInternal) in DecorateFunctionIfNeeded()
898 if (structure->symbolType() != SymbolType::Empty) in TypeString()
996 if (structure.symbolType() == SymbolType::Empty) in StructNameString()
1016 if (structure.symbolType() == SymbolType::Empty) in QualifiedStructNameString()
DHashNames.cpp87 if (symbol->symbolType() == SymbolType::Empty) in HashName()
91 if (symbol->symbolType() == SymbolType::AngleInternal || in HashName()
92 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.cpp45 if (node->variable().symbolType() == SymbolType::BuiltIn) in visitSymbol()
82 if (variable && variable->variable().symbolType() == SymbolType::BuiltIn) in visitDeclaration()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DSymbol.cpp36 SymbolType symbolType, in TSymbol() argument
41 mSymbolType(symbolType), in TSymbol()
81 SymbolType symbolType, in TVariable() argument
83 : TSymbol(symbolTable, name, symbolType, SymbolClass::Variable, extension), in TVariable()
88 ASSERT(name.empty() || symbolType != SymbolType::Empty); in TVariable()
94 SymbolType symbolType) in TStructure() argument
95 : TSymbol(symbolTable, name, symbolType, SymbolClass::Struct), TFieldListCollection(fields) in TStructure()
138 SymbolType symbolType, in TInterfaceBlock() argument
140 : TSymbol(symbolTable, name, symbolType, SymbolClass::InterfaceBlock, extension), in TInterfaceBlock()
160 SymbolType symbolType, in TFunction() argument
[all …]
DSymbol.h30 SymbolType symbolType,
50 SymbolType symbolType() const { return mSymbolType; } in symbolType() function
56 SymbolType symbolType, in TSymbol() argument
61 mSymbolType(symbolType), in TSymbol()
86 SymbolType symbolType,
98 SymbolType symbolType, in TVariable() argument
101 : TSymbol(id, name, symbolType, extension, SymbolClass::Variable), in TVariable()
118 SymbolType symbolType);
156 SymbolType symbolType,
203 SymbolType symbolType,
[all …]
DUtilsHLSL.cpp39 ASSERT(paramType.getStruct()->symbolType() != SymbolType::Empty); in DisambiguateFunctionNameForParameterType()
826 if (structure.symbolType() != SymbolType::BuiltIn) in DecorateField()
851 if (variable.symbolType() == SymbolType::AngleInternal || in DecorateVariableIfNeeded()
852 variable.symbolType() == SymbolType::Empty) in DecorateVariableIfNeeded()
863 else if (variable.symbolType() == SymbolType::UserDefined && in DecorateVariableIfNeeded()
876 if (func->symbolType() == SymbolType::AngleInternal) in DecorateFunctionIfNeeded()
895 if (structure->symbolType() != SymbolType::Empty) in TypeString()
991 if (structure.symbolType() == SymbolType::Empty) in StructNameString()
1010 if (structure.symbolType() == SymbolType::Empty) in QualifiedStructNameString()
DHashNames.cpp82 if (symbol->symbolType() == SymbolType::Empty) in HashName()
86 if (symbol->symbolType() == SymbolType::AngleInternal || in HashName()
87 symbol->symbolType() == SymbolType::BuiltIn) in HashName()
/third_party/skia/third_party/externals/angle2/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
DReduceInterfaceBlocks.cpp44 const SymbolType symbolType = var.symbolType(); in visitDeclarationPre() local
47 if (symbolType == SymbolType::Empty) in visitDeclarationPre()
52 &interfaceBlock->fields(), interfaceBlock->symbolType()); in visitDeclarationPre()
71 &interfaceBlock->fields(), interfaceBlock->symbolType()); in visitDeclarationPre()
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()
64 new TVariable(mSymbolTable, var.name(), instanceType, symbolType, var.extensions()); in visitDeclaration()
DAstHelpers.cpp59 TVariable *var = new TVariable(&symbolTable, name.rawName(), type, name.symbolType()); in CreateInstanceVariable()
103 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined); in CloneFunction()
108 *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunction()
122 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndPrependParam()
123 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndPrependParam()
128 *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunctionAndPrependParam()
143 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndAppendParams()
144 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndAppendParams()
149 *new TFunction(&symbolTable, newName.rawName(), newName.symbolType(), in CloneFunctionAndAppendParams()
167 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()
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()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DNameEmbeddedUniformStructs.cpp45 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration()
76 if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) in doReplacement()
83 asSymbol->variable().symbolType()); in doReplacement()
DDeferGlobalInitializers.cpp87 if (symbolNode->variable().symbolType() == SymbolType::AngleInternal || in GetDeferredInitializers()
88 symbolNode->variable().symbolType() == SymbolType::Empty) in GetDeferredInitializers()
162 new TVariable(symbolTable, var->name(), replacementType, var->symbolType()); in DeferGlobalInitializers()
DRegenerateStructNames.cpp28 if (userType->symbolType() == SymbolType::BuiltIn || in visitSymbol()
29 userType->symbolType() == SymbolType::Empty) in visitSymbol()
DRewriteStructSamplers.cpp45 new TVariable(oldVariable.uniqueId(), oldVariable.name(), oldVariable.symbolType(), in ReplaceTypeOfSymbolNode()
129 ASSERT(variable.symbolType() != SymbolType::Empty); in visitDeclaration()
302 new TField(newType, field->name(), field->line(), field->symbolType()); in stripStructSpecifierSamplers()
315 new TStructure(mSymbolTable, structure->name(), newFieldList, structure->symbolType()); in stripStructSpecifierSamplers()
590 new TFunction(mSymbolTable, function->name(), function->symbolType(), in traverse()
609 new TVariable(mSymbolTable, param->name(), structType, param->symbolType()); in visitStructParam()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSeparateDeclarations.cpp104 if (!isStructSpecifier || (index == 0 && structure->symbolType() != SymbolType::Empty)) in separateDeclarator()
118 if (structure->symbolType() == SymbolType::Empty) in separateDeclarator()
170 ASSERT(asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty); in separateDeclarator()
177 asSymbol->variable().symbolType()); in separateDeclarator()
DSeparateStructFromUniformDeclarations.cpp63 if (structure->symbolType() == SymbolType::Empty) in doReplacement()
83 ASSERT(asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty); in doReplacement()
91 asSymbol->variable().symbolType()); in doReplacement()
DDeferGlobalInitializers.cpp90 if (symbolNode->variable().symbolType() == SymbolType::AngleInternal || in GetDeferredInitializers()
91 symbolNode->variable().symbolType() == SymbolType::Empty) in GetDeferredInitializers()
170 new TVariable(symbolTable, var->name(), replacementType, var->symbolType()); in DeferGlobalInitializers()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/gl/
DRegenerateStructNames.cpp53 if (userType->symbolType() == SymbolType::BuiltIn || in visitSymbol()
54 userType->symbolType() == SymbolType::Empty) in visitSymbol()

12345