Home
last modified time | relevance | path

Searched refs:SymbolType (Results 1 – 25 of 154) sorted by relevance

1234567

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DSymbol.cpp37 SymbolType symbolType, in TSymbol()
47 ASSERT(mSymbolType == SymbolType::BuiltIn || extension == TExtension::UNDEFINED);
48 ASSERT(mName != "" || mSymbolType == SymbolType::AngleInternal ||
49 mSymbolType == SymbolType::Empty);
54 SymbolType symbolType, in TSymbol()
63 ASSERT(mSymbolType == SymbolType::BuiltIn || extensions[0] == TExtension::UNDEFINED); in TSymbol()
64 ASSERT(mName != "" || mSymbolType == SymbolType::AngleInternal || in TSymbol()
65 mSymbolType == SymbolType::Empty); in TSymbol()
75 ASSERT(mSymbolType == SymbolType::AngleInternal || in name()
76 (mSymbolType == SymbolType::Empty && isVariable())); in name()
[all …]
DSymbol.h30 SymbolType symbolType,
36 SymbolType symbolType,
56 SymbolType symbolType() const { return mSymbolType; } in symbolType()
84 SymbolType symbolType, in TSymbol()
99 const SymbolType mSymbolType : 4;
116 SymbolType symbolType,
122 SymbolType symbolType,
134 SymbolType symbolType, in TVariable()
149 SymbolType symbolType, in TVariable()
169 SymbolType symbolType);
[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()
DTranslatorMetalDirect.cpp66 constexpr Name kSampleMaskWriteFuncName("writeSampleMask", SymbolType::AngleInternal);
67 constexpr Name kFlippedPointCoordName("flippedPointCoord", SymbolType::AngleInternal);
68 constexpr Name kFlippedFragCoordName("flippedFragCoord", SymbolType::AngleInternal);
72 SymbolType::BuiltIn,
100 ASSERT(structure->symbolType() != SymbolType::Empty); in visitDeclaration()
104 if (symbolNode && symbolNode->variable().symbolType() == SymbolType::Empty) in visitDeclaration()
239 new TVariable(symbolTable, flippedVariableName.rawName(), type, SymbolType::AngleInternal); in RotateAndFlipBuiltinVariable()
355 SymbolType::BuiltIn, TExtension::UNDEFINED); in AddSampleMaskDeclaration()
375 new TVariable(&symbolTable, builder, gl_FragDataType, SymbolType::AngleInternal, in AddFragDataDeclaration()
386 gl_FragDataTypeArray, SymbolType::BuiltIn); in AddFragDataDeclaration()
[all …]
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()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/
DSymbol.cpp36 SymbolType symbolType, in TSymbol()
45 ASSERT(mSymbolType == SymbolType::BuiltIn || mExtension == TExtension::UNDEFINED); in TSymbol()
46 ASSERT(mName != "" || mSymbolType == SymbolType::AngleInternal || in TSymbol()
47 mSymbolType == SymbolType::Empty); in TSymbol()
57 ASSERT(mSymbolType == SymbolType::AngleInternal || in name()
58 (mSymbolType == SymbolType::Empty && isVariable())); in name()
74 ASSERT(mSymbolType != SymbolType::Empty); in getMangledName()
81 SymbolType symbolType, in TVariable()
88 ASSERT(name.empty() || symbolType != SymbolType::Empty); in TVariable()
94 SymbolType symbolType) in TStructure()
[all …]
DSymbol.h30 SymbolType symbolType,
50 SymbolType symbolType() const { return mSymbolType; } in symbolType()
56 SymbolType symbolType, in TSymbol()
70 const SymbolType mSymbolType;
86 SymbolType symbolType,
98 SymbolType symbolType, in TVariable()
118 SymbolType symbolType);
156 SymbolType symbolType,
189 constName.empty() ? SymbolType::Empty : SymbolType::UserDefined); in createVariable()
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()
DTranslatorVulkan.cpp64 ASSERT(structure->symbolType() != SymbolType::Empty); in visitDeclaration()
68 if (symbolNode && symbolNode->variable().symbolType() == SymbolType::Empty) in visitDeclaration()
226 new TVariable(symbolTable, flippedVariableName, type, SymbolType::AngleInternal); in FlipBuiltinVariable()
316 new TType(), SymbolType::AngleInternal); in AppendVertexShaderTransformFeedbackOutputToMain()
333 SymbolType::AngleInternal)); in AddGraphicsDriverUniformsToShader()
336 SymbolType::AngleInternal)); in AddGraphicsDriverUniformsToShader()
339 SymbolType::AngleInternal)); in AddGraphicsDriverUniformsToShader()
342 SymbolType::AngleInternal)); in AddGraphicsDriverUniformsToShader()
344 symbolTable, kEmulatedDepthRangeParams, depthRangeParamsFields, SymbolType::AngleInternal); in AddGraphicsDriverUniformsToShader()
349 new TVariable(symbolTable->nextUniqueId(), kEmptyImmutableString, SymbolType::Empty, in AddGraphicsDriverUniformsToShader()
[all …]
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.h27 constexpr Name() : Name(kEmptyImmutableString, SymbolType::Empty) {} in Name()
29 explicit constexpr Name(ImmutableString rawName, SymbolType symbolType) in Name()
32 ASSERT(rawName.empty() == (symbolType == SymbolType::Empty)); in Name()
35 explicit constexpr Name(const char *rawName, SymbolType symbolType = SymbolType::AngleInternal)
39 explicit Name(const std::string &rawName, SymbolType symbolType) in Name()
52 constexpr SymbolType symbolType() const { return mSymbolType; } in symbolType()
61 SymbolType mSymbolType;
DSeparateCompoundStructDeclarations.cpp36 const SymbolType symbolType = var.symbolType(); in visitDeclaration()
37 if (type.isStructSpecifier() && symbolType != SymbolType::Empty) in visitDeclaration()
43 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration()
47 &structure->fields(), SymbolType::AngleInternal); in visitDeclaration()
49 new TType(structDefn, true), SymbolType::Empty); in visitDeclaration()
55 new TType(structure, true), SymbolType::Empty); in visitDeclaration()
DName.cpp18 if (object.symbolType() == SymbolType::Empty) in GetName()
54 return mSymbolType == SymbolType::Empty; in empty()
70 case SymbolType::BuiltIn: in emit()
75 case SymbolType::UserDefined: in emit()
87 case SymbolType::AngleInternal: in emit()
103 case SymbolType::Empty: in emit()
DNameEmbeddedUniformStructsMetal.cpp47 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration()
71 &oldStructure->fields(), SymbolType::AngleInternal); in doReplacement()
76 new TVariable(mSymbolTable, kEmptyImmutableString, namedType, SymbolType::Empty); in doReplacement()
86 if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) in doReplacement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/ELF/
DTBEHandler.cpp26 static void enumeration(IO &IO, ELFSymbolType &SymbolType) { in enumeration()
27 IO.enumCase(SymbolType, "NoType", ELFSymbolType::NoType); in enumeration()
28 IO.enumCase(SymbolType, "Func", ELFSymbolType::Func); in enumeration()
29 IO.enumCase(SymbolType, "Object", ELFSymbolType::Object); in enumeration()
30 IO.enumCase(SymbolType, "TLS", ELFSymbolType::TLS); in enumeration()
31 IO.enumCase(SymbolType, "Unknown", ELFSymbolType::Unknown); in enumeration()
34 SymbolType = ELFSymbolType::Unknown; in enumeration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DDriverUniform.cpp65 SymbolType::AngleInternal); in addComputeDriverUniformsToShader()
107 SymbolType::AngleInternal); in createUniformFields()
126 new TField(floatType, ImmutableString("near"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType()
128 new TField(floatType, ImmutableString("far"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType()
130 new TField(floatType, ImmutableString("diff"), TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType()
133 TSourceLoc(), SymbolType::AngleInternal)); in createEmulatedDepthRangeType()
136 symbolTable, kEmulatedDepthRangeParams, depthRangeParamsFields, SymbolType::AngleInternal); in createEmulatedDepthRangeType()
159 new TVariable(symbolTable->nextUniqueId(), kEmptyImmutableString, SymbolType::Empty, in addGraphicsDriverUniformsToShader()
292 SymbolType::AngleInternal); in createUniformFields()
DIntermNode_util.cpp157 return new TVariable(symbolTable, kEmptyImmutableString, type, SymbolType::AngleInternal); in CreateTempVariable()
174 ASSERT(tempVariable->symbolType() == SymbolType::AngleInternal); in CreateTempSymbolNode()
238 new TStructure(symbolTable, structTypeName, fieldList, SymbolType::AngleInternal); in DeclareStructure()
254 SymbolType::Empty); in DeclareStructure()
261 SymbolType::AngleInternal); in DeclareStructure()
283 symbolTable, blockTypeName, fieldList, layoutQualifier, SymbolType::AngleInternal); in DeclareInterfaceBlock()
296 blockVariableName.empty() ? SymbolType::Empty : SymbolType::AngleInternal); in DeclareInterfaceBlock()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DNameEmbeddedUniformStructs.cpp45 if (structure->symbolType() == SymbolType::Empty) in visitDeclaration()
61 &oldStructure->fields(), SymbolType::AngleInternal); in doReplacement()
66 new TVariable(mSymbolTable, kEmptyImmutableString, namedType, SymbolType::Empty); in doReplacement()
76 if (asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty) in doReplacement()
DRewriteCubeMapSamplersAs2DArray.cpp95 StaticType::GetBasic<EbtBool>(), SymbolType::AngleInternal); in GetLayerFromNonHelperInvocation()
112 SymbolType::AngleInternal, boolType, true); in GetLayerFromNonHelperInvocation()
115 SymbolType::AngleInternal, floatType, true); in GetLayerFromNonHelperInvocation()
118 SymbolType::AngleInternal, boolType, true); in GetLayerFromNonHelperInvocation()
121 SymbolType::AngleInternal, floatType, true); in GetLayerFromNonHelperInvocation()
124 SymbolType::AngleInternal, floatType, true); in GetLayerFromNonHelperInvocation()
154 SymbolType::AngleInternal, boolType, true); in GetLayerFromNonHelperInvocation()
156 SymbolType::AngleInternal, floatType, true); in GetLayerFromNonHelperInvocation()
158 SymbolType::AngleInternal, boolType, true); in GetLayerFromNonHelperInvocation()
160 SymbolType::AngleInternal, floatType, true); in GetLayerFromNonHelperInvocation()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/
DDeclarePerVertexBlocks.cpp224 if (variable->symbolType() != SymbolType::BuiltIn) in visitSymbol()
330 SymbolType::AngleInternal)); in declarePerVertex()
332 SymbolType::AngleInternal)); in declarePerVertex()
334 TSourceLoc(), SymbolType::AngleInternal)); in declarePerVertex()
336 TSourceLoc(), SymbolType::AngleInternal)); in declarePerVertex()
340 TLayoutQualifier::Create(), SymbolType::AngleInternal); in declarePerVertex()
351 variableName.empty() ? SymbolType::Empty : SymbolType::AngleInternal); in declarePerVertex()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DSeparateStructFromUniformDeclarations.cpp63 if (structure->symbolType() == SymbolType::Empty) in doReplacement()
67 SymbolType::AngleInternal); in doReplacement()
73 new TVariable(mSymbolTable, kEmptyImmutableString, namedType, SymbolType::Empty); in doReplacement()
83 ASSERT(asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty); in doReplacement()
DSeparateDeclarations.cpp104 if (!isStructSpecifier || (index == 0 && structure->symbolType() != SymbolType::Empty)) in separateDeclarator()
118 if (structure->symbolType() == SymbolType::Empty) in separateDeclarator()
124 SymbolType::AngleInternal); in separateDeclarator()
132 new TVariable(mSymbolTable, kEmptyImmutableString, namedType, SymbolType::Empty); in separateDeclarator()
170 ASSERT(asSymbol && asSymbol->variable().symbolType() != SymbolType::Empty); in separateDeclarator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DJITSymbol.cpp49 auto SymbolType = Symbol.getType(); in fromObjectSymbol() local
50 if (!SymbolType) in fromObjectSymbol()
51 return SymbolType.takeError(); in fromObjectSymbol()
53 if (*SymbolType & object::SymbolRef::ST_Function) in fromObjectSymbol()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCSectionXCOFF.h38 XCOFF::SymbolType Type;
43 XCOFF::SymbolType ST, XCOFF::StorageClass SC, SectionKind K, in MCSectionXCOFF()
64 XCOFF::SymbolType getCSectType() const { return Type; } in getCSectType()

1234567