/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | Symbol.cpp | 37 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 …]
|
D | Symbol.h | 30 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 …]
|
D | UtilsHLSL.cpp | 41 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()
|
D | TranslatorMetalDirect.cpp | 66 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 …]
|
D | HashNames.cpp | 87 if (symbol->symbolType() == SymbolType::Empty) in HashName() 91 if (symbol->symbolType() == SymbolType::AngleInternal || in HashName() 92 symbol->symbolType() == SymbolType::BuiltIn) in HashName()
|
D | ValidateTypeSizeLimitations.cpp | 60 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()
|
D | TranslatorMetal.cpp | 246 SymbolType::AngleInternal); in insertSampleMaskWritingLogic() 249 new TFunction(symbolTable, kSampleMaskWriteFuncName, SymbolType::AngleInternal, in insertSampleMaskWritingLogic() 254 new TVariable(symbolTable, ImmutableString("mask"), uintType, SymbolType::AngleInternal); in insertSampleMaskWritingLogic() 296 boolType, SymbolType::AngleInternal); in insertRasterizerDiscardLogic()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
D | Name.h | 27 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;
|
D | SeparateCompoundStructDeclarations.cpp | 36 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()
|
D | Name.cpp | 18 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()
|
D | NameEmbeddedUniformStructsMetal.cpp | 47 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()
|
D | AstHelpers.cpp | 43 TVariable *var = new TVariable(&symbolTable, ImmutableString(""), type, SymbolType::Empty); in CreateStructTypeVariable() 103 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined); in CloneFunction() 122 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndPrependParam() 123 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndPrependParam() 143 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined || in CloneFunctionAndAppendParams() 144 oldFunc.symbolType() == SymbolType::AngleInternal); in CloneFunctionAndAppendParams() 167 ASSERT(oldFunc.symbolType() == SymbolType::UserDefined); in CloneFunctionAndChangeReturnType() 519 return symbolEnv.callFunctionOverload(Name("as_type", SymbolType::BuiltIn), toType, in AsType()
|
D | SymbolEnv.cpp | 54 if (var.symbolType() == SymbolType::Empty && type.isStructSpecifier()) in visitDeclarationPre() 325 new TVariable(&mSymbolTable, kEmptyImmutableString, ¶mType, SymbolType::Empty)); in getFunctionOverloadImpl() 377 ASSERT(name.symbolType() == SymbolType::AngleInternal); in newStructure() 393 new TField(textureType, ImmutableString("texture"), kNoSourceLoc, SymbolType::BuiltIn); in getTextureEnv() 397 ImmutableString("sampler"), kNoSourceLoc, SymbolType::BuiltIn); in getTextureEnv() 405 env = &newStructure(Name(envName, SymbolType::AngleInternal), in getTextureEnv() 416 new TFieldList(), SymbolType::BuiltIn); in getSamplerStruct() 700 return Name(name, SymbolType::BuiltIn); in GetTextureTypeName()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/TextAPI/ELF/ |
D | TBEHandler.cpp | 26 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/ |
D | DriverUniform.cpp | 65 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()
|
D | IntermNode_util.cpp | 157 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/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/vulkan/ |
D | DeclarePerVertexBlocks.cpp | 224 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/ |
D | SeparateStructFromUniformDeclarations.cpp | 63 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()
|
D | SeparateDeclarations.cpp | 104 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()
|
D | RemoveDynamicIndexing.cpp | 417 new TFunction(mSymbolTable, indexingFunctionName, SymbolType::AngleInternal, in visitBinary() 420 mSymbolTable, kBaseName, GetBaseType(type, false), SymbolType::AngleInternal)); in visitBinary() 422 new TVariable(mSymbolTable, kIndexName, kIndexType, SymbolType::AngleInternal)); in visitBinary() 467 new TFunction(mSymbolTable, functionName, SymbolType::AngleInternal, in visitBinary() 471 SymbolType::AngleInternal)); in visitBinary() 473 mSymbolTable, kIndexName, kIndexType, SymbolType::AngleInternal)); in visitBinary() 478 SymbolType::AngleInternal)); in visitBinary()
|
D | DeferGlobalInitializers.cpp | 90 if (symbolNode->variable().symbolType() == SymbolType::AngleInternal || in GetDeferredInitializers() 91 symbolNode->variable().symbolType() == SymbolType::Empty) in GetDeferredInitializers() 113 new TFunction(symbolTable, kInitGlobalsString, SymbolType::AngleInternal, in InsertInitCallToMain()
|
D | DeclareAndInitBuiltinsForInstancedMultiview.cpp | 139 new TType(EbtUInt, EbpHigh, viewIDQualifier), SymbolType::AngleInternal); in DeclareAndInitBuiltinsForInstancedMultiview() 153 SymbolType::AngleInternal); in DeclareAndInitBuiltinsForInstancedMultiview() 177 baseLayerIndexVariableType, SymbolType::AngleInternal); in DeclareAndInitBuiltinsForInstancedMultiview()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | JITSymbol.cpp | 49 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/ |
D | MCSectionXCOFF.h | 38 XCOFF::SymbolType Type; 43 XCOFF::SymbolType ST, XCOFF::StorageClass SC, SectionKind K, in MCSectionXCOFF() 64 XCOFF::SymbolType getCSectType() const { return Type; } in getCSectType()
|
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/ |
D | InitOutputVariables_test.cpp | 39 const bool sameSymbols = (expected->variable().symbolType() == SymbolType::Empty && in AreSymbolsTheSame() 40 candidate->variable().symbolType() == SymbolType::Empty) || in AreSymbolsTheSame() 72 new TVariable(&symbolTable, lValueName, new TType(type), SymbolType::UserDefined); in CreateLValueNode() 87 new TVariable(&symbolTable, lValueName, arrayType, SymbolType::UserDefined); in CreateIndexedLValueNodeList() 172 if (structure != nullptr && structure->symbolType() != SymbolType::Empty && in visitSymbol()
|