/external/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 50 static T getStruct(const MachOObjectFile *O, const char *P) { in getStruct() function 97 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase() 396 getStruct<MachO::symtab_command>(this, SymtabLoadCmd); in MachOObjectFile() 398 getStruct<MachO::dysymtab_command>(this, DysymtabLoadCmd); in MachOObjectFile() 1054 getStruct<MachO::dylib_command>(this, Libraries[i]); in getLibraryShortNameByIndex() 2063 return getStruct<MachO::section>(this, Sections[DRI.d.a]); in getSection() 2068 return getStruct<MachO::section_64>(this, Sections[DRI.d.a]); in getSection64() 2074 return getStruct<MachO::section>(this, Sec); in getSection() 2080 return getStruct<MachO::section_64>(this, Sec); in getSection64() 2086 return getStruct<MachO::nlist>(this, P); in getSymbolTableEntry() [all …]
|
/external/angle/src/compiler/translator/tree_ops/ |
D | RemoveUnreferencedVariables.cpp | 71 const auto *structure = type.getStruct(); in incrementStructTypeRefCount() 159 auto *structure = type.getStruct(); in decrementStructTypeRefCount() 180 unsigned int structId = declarator->getType().getStruct()->uniqueId().get(); in removeVariableDeclaration() 185 ASSERT(declarator->getAsBinaryNode()->getLeft()->getType().getStruct() == in removeVariableDeclaration() 186 declarator->getType().getStruct()); in removeVariableDeclaration() 187 ASSERT(declarator->getAsBinaryNode()->getRight()->getType().getStruct() == in removeVariableDeclaration() 188 declarator->getType().getStruct()); in removeVariableDeclaration()
|
D | RewriteStructSamplers.cpp | 78 const TStructure *structure = node->getLeft()->getType().getStruct(); in RewriteExpressionVisitBinaryHelper() 285 const TStructure *structure = indexNode->getLeft()->getType().getStruct(); in RewriteModifiedStructFieldSelectionExpression() 363 const TStructure *structure = type.getStruct(); in visitDeclaration() 370 const TStructure *structure = type.getStruct(); in visitDeclaration() 445 const TStructure *fieldStruct = fieldType.getStruct(); in stripStructSpecifierSamplers() 496 const TStructure *structure = type.getStruct(); in isRemovedStructType() 572 const TStructure *structure = fieldType.getStruct(); in extractFieldSamplers()
|
D | RewriteRowMajorMatrices.cpp | 450 const TStructure *structure = type.getStruct(); in visitDeclaration() 746 const TStructure *fieldTypeStruct = fieldType->getStruct(); in convertField() 939 structure = ancestorType.getStruct(); in transformExpression() 1375 ASSERT(fromFieldType->getStruct()); in getCopyStructFieldFunction() 1376 ASSERT(toFieldType->getStruct()); in getCopyStructFieldFunction() 1385 const TStructure *toFieldStruct = toFieldType->getStruct(); in getCopyStructFieldFunction() 1396 const TStructure *fromFieldStruct = fromFieldType->getStruct(); in getCopyStructFieldFunction() 1419 if (fromType.getStruct()) in addFieldCopy() 1479 bool isStructOrMatrix = fromFieldType->getStruct() || fromFieldType->isMatrix(); in declareStructCopy()
|
D | ForcePrecisionQualifier.cpp | 61 const TStructure *structure = type.getStruct(); in visitDeclaration()
|
/external/angle/src/compiler/translator/TranslatorMetalDirect/ |
D | ToposortStructs.cpp | 43 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl() 152 if (type.isVector() || type.isMatrix() || type.getStruct()) in CreateStructEqualityFunction() 226 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure() 265 ASSERT(leftType.getStruct() == rightType.getStruct()); in visitBinary() 266 if (const TStructure *structure = mSymbolEnv.remap(leftType.getStruct())) in visitBinary() 287 if (const TStructure *subStruct = mSymbolEnv.remap(field->type()->getStruct())) in useStruct()
|
D | EmitMetal.cpp | 385 if ((argType0->getStruct() && argType1->getStruct()) && in GetOperatorString() 392 (argType0->getStruct() && argType1->getStruct()) || in GetOperatorString() 403 if ((argType0->getStruct() && argType1->getStruct()) && in GetOperatorString() 415 else if (argType0->getStruct() && argType1->getStruct()) in GetOperatorString() 883 const TStructure &structure = *type.getStruct(); in emitBareTypeName() 1164 const TStructure *structure = type.getStruct(); in emitUniformBufferDeclaration() 1184 const TStructure &structure = *type.getStruct(); in emitStructDeclaration() 1383 const TStructure *structure = type.getStruct(); in emitConstantUnion() 1460 const TFieldListCollection *fieldListCollection = fieldsType.getStruct(); in getDirectField() 1740 const TStructure *structure = returnType.getStruct(); in emitFunctionReturn() [all …]
|
D | ProgramPrelude.cpp | 3463 if (argType0->getStruct() && argType1->getStruct() && argType0->isArray() && in visitOperator() 3479 else if (argType0->getStruct() && argType1->getStruct()) in visitOperator() 3488 if (argType0->getStruct() && argType1->getStruct() && argType0->isArray() && in visitOperator() 3799 if (const TStructure *s = type.getStruct()) in visitVariable() 3905 const TStructure *s = type.getStruct(); in visitDeclaration()
|
/external/angle/src/compiler/translator/ |
D | ValidateVaryingLocations.cpp | 35 if (fieldType->getStruct() != nullptr) in GetFieldLocationCount() 37 field_size = GetStructLocationCount(fieldType->getStruct()); in GetFieldLocationCount() 86 if (varyingType.getStruct() != nullptr) in GetLocationCount() 89 for (const TField *field : varyingType.getStruct()->fields()) in GetLocationCount() 92 ASSERT(fieldType->getStruct() == nullptr && !fieldType->isArray()); in GetLocationCount()
|
D | ValidateAST.cpp | 151 if (type.getStruct() == nullptr && type.getInterfaceBlock() == nullptr) in visitStructOrInterfaceBlockDeclaration() 184 structOrBlock = type.getStruct(); in visitStructOrInterfaceBlockDeclaration() 196 if (type.getStruct() == nullptr) in visitStructInDeclarationUsage() 203 const TStructure *structure = type.getStruct(); in visitStructInDeclarationUsage() 333 const TStructure *structure = type.getStruct(); in getStructOrInterfaceBlock()
|
D | StructureHLSL.cpp | 47 const TStructure *fieldStruct = fieldType.getStruct(); in Define() 241 const TStructure *structure = type.getStruct(); in postPaddingString() 320 ensureStructDefined(*fieldType->getStruct()); in defineVariants() 437 ASSERT(type.getStruct() == nullptr); in addBuiltInConstructor()
|
D | BuildSPIRV.cpp | 139 fieldType.getStruct() != nullptr ? GL_NONE : GLVariableType(fieldType); in ToShaderVariable() 141 var.fields.push_back(ToShaderVariable(fieldType.getStruct(), glType, in ToShaderVariable() 273 const bool isBlock = type.isInterfaceBlock() || type.getStruct(); in inferDefaults() 307 if (type.getStruct() != nullptr) in inferDefaults() 330 if (fieldType.getStruct() == nullptr) in onBlockFieldSelection() 415 if (type.getStruct() != nullptr) in getSpirvType() 417 spirvType.block = type.getStruct(); in getSpirvType() 436 if (type.getStruct() != nullptr) in getTypeData() 438 block = type.getStruct(); in getTypeData() 598 getSpirvTypeData(fieldSpirvType, fieldType.getStruct()).id; in declareType()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | linkValidate.cpp | 760 … for (unsigned int i = 0; i < unitSymbol->getType().getStruct()->size(); ++i) { in mergeLinkerObjects() 761 … if (name == (*unitSymbol->getType().getStruct())[i].type->getFieldName()) { in mergeLinkerObjects() 763 … infoSink.info << (*unitSymbol->getType().getStruct())[i].type->getCompleteString() << "\n"; in mergeLinkerObjects() 773 … for (unsigned int i = 0; i < symbol->getType().getStruct()->size(); ++i) { in mergeLinkerObjects() 774 checkName((*symbol->getType().getStruct())[i].type->getFieldName()); in mergeLinkerObjects() 799 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes() 802 for (int i = 0; i < (int)type.getStruct()->size(); ++i) in mergeImplicitArraySizes() 803 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes() 858 symbol.getType().getStruct() && unitSymbol.getType().getStruct() && in mergeErrorCheck() 860 for (unsigned int i = 0; i < symbol.getType().getStruct()->size(); ++i) { in mergeErrorCheck() [all …]
|
D | iomapper.cpp | 389 auto blockType = uniformVar.second.symbol->getType().getStruct(); in TSymbolValidater() 598 auto blockType1 = base->getType().getStruct(); in operator ()() 687 const TTypeList* typeList1 = type1->getStruct(); in typeCheck() 688 const TTypeList* typeList2 = type2->getStruct(); in typeCheck() 835 if (type.getStruct()->size() < 1) { in resolveUniformLocation() 838 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation() 865 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 868 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() 951 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 954 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() [all …]
|
D | SymbolTable.h | 187 memberExtensions->resize(type.getStruct()->size()); in setMemberExtensions() 378 const TTypeList& types = *anonContainer.getType().getStruct(); in getType() 385 const TTypeList& types = *anonContainer.getType().getStruct(); in getWritableType() 464 const TTypeList& types = *symbol.getAsVariable()->getType().getStruct(); in insertAnonymousMembers() 879 const TTypeList& structure = *variable->getAsVariable()->getType().getStruct(); in setVariableExtensions()
|
/external/llvm-project/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 68 static T getStruct(const MachOObjectFile &O, const char *P) { in getStruct() function 116 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase() 1490 getStruct<MachO::encryption_info_command>(*this, Load.Ptr); in MachOObjectFile() 1501 getStruct<MachO::encryption_info_command_64>(*this, Load.Ptr); in MachOObjectFile() 1515 getStruct<MachO::sub_framework_command>(*this, Load.Ptr); in MachOObjectFile() 1528 getStruct<MachO::sub_umbrella_command>(*this, Load.Ptr); in MachOObjectFile() 1541 getStruct<MachO::sub_library_command>(*this, Load.Ptr); in MachOObjectFile() 1554 getStruct<MachO::sub_client_command>(*this, Load.Ptr); in MachOObjectFile() 1628 getStruct<MachO::symtab_command>(*this, SymtabLoadCmd); in MachOObjectFile() 1630 getStruct<MachO::dysymtab_command>(*this, DysymtabLoadCmd); in MachOObjectFile() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 68 static T getStruct(const MachOObjectFile &O, const char *P) { in getStruct() function 116 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase() 1490 getStruct<MachO::encryption_info_command>(*this, Load.Ptr); in MachOObjectFile() 1501 getStruct<MachO::encryption_info_command_64>(*this, Load.Ptr); in MachOObjectFile() 1515 getStruct<MachO::sub_framework_command>(*this, Load.Ptr); in MachOObjectFile() 1528 getStruct<MachO::sub_umbrella_command>(*this, Load.Ptr); in MachOObjectFile() 1541 getStruct<MachO::sub_library_command>(*this, Load.Ptr); in MachOObjectFile() 1554 getStruct<MachO::sub_client_command>(*this, Load.Ptr); in MachOObjectFile() 1625 getStruct<MachO::symtab_command>(*this, SymtabLoadCmd); in MachOObjectFile() 1627 getStruct<MachO::dysymtab_command>(*this, DysymtabLoadCmd); in MachOObjectFile() [all …]
|
/external/swiftshader/src/OpenGL/compiler/ |
D | SymbolTable.cpp | 43 structure = p.userDef->getStruct(); in TType() 100 if (!getStruct()) { in getStructSize() 105 return getStruct()->objectSize(); in getStructSize()
|
/external/angle/src/compiler/translator/tree_ops/d3d/ |
D | RecordUniformBlocksWithLargeArrayMember.cpp | 74 const TStructure *structure = type.getStruct(); in IsSupportedTypeForStructuredBuffer() 83 if (!fieldType.isArray() && !fieldType.getStruct() && in IsSupportedTypeForStructuredBuffer() 133 const TStructure *structure = type->getStruct(); in FieldIsOrHasLargeArrayField()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | linkValidate.cpp | 523 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes() 526 for (int i = 0; i < (int)type.getStruct()->size(); ++i) in mergeImplicitArraySizes() 527 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes() 1299 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeLocationSize() 1356 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeUniformLocationSize() 1424 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeXfbSize() 1608 const TTypeList& memberList = *type.getStruct(); in getBaseAlignment() 1702 const TTypeList& memberList = *type.getStruct(); in getScalarAlignment() 1777 const TTypeList& memberList = *type.getStruct(); in getOffset() 1801 const TTypeList& memberList = *blockType.getStruct(); in getBlockSize()
|
D | iomapper.cpp | 391 auto blockType = uniformVar.second.symbol->getType().getStruct(); in TSymbolValidater() 592 auto blockType1 = base->getType().getStruct(); in operator ()() 682 const TTypeList* typeList1 = type1->getStruct(); in typeCheck() 683 const TTypeList* typeList2 = type2->getStruct(); in typeCheck() 826 if (type.getStruct()->size() < 1) { in resolveUniformLocation() 829 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation() 856 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 859 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() 942 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 945 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() [all …]
|
D | SymbolTable.h | 187 memberExtensions->resize(type.getStruct()->size()); in setMemberExtensions() 365 const TTypeList& types = *anonContainer.getType().getStruct(); in getType() 372 const TTypeList& types = *anonContainer.getType().getStruct(); in getWritableType() 451 const TTypeList& types = *symbol.getAsVariable()->getType().getStruct(); in insertAnonymousMembers() 853 const TTypeList& structure = *variable->getAsVariable()->getType().getStruct(); in setVariableExtensions()
|
/external/angle/src/compiler/translator/tree_ops/gl/ |
D | RegenerateStructNames.cpp | 49 const TStructure *userType = type.getStruct(); in visitSymbol()
|
/external/deqp-deps/glslang/glslang/HLSL/ |
D | hlslParseHelper.cpp | 177 auto it = ioTypeMap.find(memberType.getStruct()); in growGlobalUniformBlock() 677 node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type); in handleVariable() 688 … variable->getType().getBasicType() == EbtStruct) && variable->getType().getStruct() == nullptr) { in handleVariable() 1032 const TTypeList* fields = base->getType().getStruct(); in handleDotDereference() 1294 auto members = *type.getStruct(); in flattenStruct() 1548 if (!type.isStruct() || type.getStruct()->size() > 0) { in assignToInterface() 1714 const TTypeList* structure = variable->getType().getStruct(); in handleFunctionDefinition() 2303 auto it = ioTypeMap.find(type.getStruct()); in remapEntryPointIO() 2307 … for (auto member = type.getStruct()->begin(); member != type.getStruct()->end(); ++member) { in remapEntryPointIO() 2316 ioTypeMap[type.getStruct()] = newLists; in remapEntryPointIO() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/ |
D | hlslParseHelper.cpp | 177 auto it = ioTypeMap.find(memberType.getStruct()); in growGlobalUniformBlock() 677 node->setType(*(*variable->getType().getStruct())[anon->getMemberNumber()].type); in handleVariable() 688 … variable->getType().getBasicType() == EbtStruct) && variable->getType().getStruct() == nullptr) { in handleVariable() 1032 const TTypeList* fields = base->getType().getStruct(); in handleDotDereference() 1294 auto members = *type.getStruct(); in flattenStruct() 1548 if (!type.isStruct() || type.getStruct()->size() > 0) { in assignToInterface() 1714 const TTypeList* structure = variable->getType().getStruct(); in handleFunctionDefinition() 2303 auto it = ioTypeMap.find(type.getStruct()); in remapEntryPointIO() 2307 … for (auto member = type.getStruct()->begin(); member != type.getStruct()->end(); ++member) { in remapEntryPointIO() 2316 ioTypeMap[type.getStruct()] = newLists; in remapEntryPointIO() [all …]
|