Home
last modified time | relevance | path

Searched refs:getStruct (Results 1 – 25 of 85) sorted by relevance

1234

/external/llvm/lib/Object/
DMachOObjectFile.cpp50 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/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/
DlinkValidate.cpp665 … *(symbol->getWritableType().getWritableStruct()) = *(newSymbol->getType().getStruct()); in mergeBlockDefinitions()
805 … for (unsigned int i = 0; i < unitSymbol->getType().getStruct()->size(); ++i) { in mergeLinkerObjects()
806 if (name == (*unitSymbol->getType().getStruct())[i].type->getFieldName() in mergeLinkerObjects()
807 … && !((*unitSymbol->getType().getStruct())[i].type->getQualifier().hasLocation() in mergeLinkerObjects()
811 … infoSink.info << (*unitSymbol->getType().getStruct())[i].type->getCompleteString() << "\n"; in mergeLinkerObjects()
821 … for (unsigned int i = 0; i < symbol->getType().getStruct()->size(); ++i) { in mergeLinkerObjects()
822 checkName((*symbol->getType().getStruct())[i].type->getFieldName()); in mergeLinkerObjects()
847 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes()
850 for (int i = 0; i < (int)type.getStruct()->size(); ++i) in mergeImplicitArraySizes()
851 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes()
[all …]
Diomapper.cpp383 auto blockType = uniformVar.second.symbol->getType().getStruct(); in TSymbolValidater()
517 type1.getStruct()->begin()->type->appendMangledName(name); in operator ()()
525 type2.getStruct()->begin()->type->appendMangledName(name); in operator ()()
610 auto blockType1 = base->getType().getStruct(); in operator ()()
699 const TTypeList* typeList1 = type1->getStruct(); in typeCheck()
700 const TTypeList* typeList2 = type2->getStruct(); in typeCheck()
847 if (type.getStruct()->size() < 1) { in resolveUniformLocation()
850 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation()
877 if (type.getStruct()->size() < 1) { in resolveInOutLocation()
880 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation()
[all …]
DSymbolTable.h187 memberExtensions->resize(type.getStruct()->size()); in setMemberExtensions()
380 const TTypeList& types = *anonContainer.getType().getStruct(); in getType()
387 const TTypeList& types = *anonContainer.getType().getStruct(); in getWritableType()
473 const TTypeList& types = *symbol.getAsVariable()->getType().getStruct(); in insertAnonymousMembers()
906 const TTypeList& structure = *variable->getAsVariable()->getType().getStruct(); in setVariableExtensions()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DlinkValidate.cpp665 … *(symbol->getWritableType().getWritableStruct()) = *(newSymbol->getType().getStruct()); in mergeBlockDefinitions()
805 … for (unsigned int i = 0; i < unitSymbol->getType().getStruct()->size(); ++i) { in mergeLinkerObjects()
806 if (name == (*unitSymbol->getType().getStruct())[i].type->getFieldName() in mergeLinkerObjects()
807 … && !((*unitSymbol->getType().getStruct())[i].type->getQualifier().hasLocation() in mergeLinkerObjects()
811 … infoSink.info << (*unitSymbol->getType().getStruct())[i].type->getCompleteString() << "\n"; in mergeLinkerObjects()
821 … for (unsigned int i = 0; i < symbol->getType().getStruct()->size(); ++i) { in mergeLinkerObjects()
822 checkName((*symbol->getType().getStruct())[i].type->getFieldName()); in mergeLinkerObjects()
847 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes()
850 for (int i = 0; i < (int)type.getStruct()->size(); ++i) in mergeImplicitArraySizes()
851 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes()
[all …]
Diomapper.cpp383 auto blockType = uniformVar.second.symbol->getType().getStruct(); in TSymbolValidater()
517 type1.getStruct()->begin()->type->appendMangledName(name); in operator ()()
525 type2.getStruct()->begin()->type->appendMangledName(name); in operator ()()
610 auto blockType1 = base->getType().getStruct(); in operator ()()
699 const TTypeList* typeList1 = type1->getStruct(); in typeCheck()
700 const TTypeList* typeList2 = type2->getStruct(); in typeCheck()
847 if (type.getStruct()->size() < 1) { in resolveUniformLocation()
850 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation()
877 if (type.getStruct()->size() < 1) { in resolveInOutLocation()
880 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation()
[all …]
DSymbolTable.h187 memberExtensions->resize(type.getStruct()->size()); in setMemberExtensions()
380 const TTypeList& types = *anonContainer.getType().getStruct(); in getType()
387 const TTypeList& types = *anonContainer.getType().getStruct(); in getWritableType()
473 const TTypeList& types = *symbol.getAsVariable()->getType().getStruct(); in insertAnonymousMembers()
906 const TTypeList& structure = *variable->getAsVariable()->getType().getStruct(); in setVariableExtensions()
/external/angle/src/compiler/translator/tree_ops/
DRemoveUnreferencedVariables.cpp71 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()
DRewriteStructSamplers.cpp78 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()
499 const TStructure *structure = type.getStruct(); in isRemovedStructType()
575 const TStructure *structure = fieldType.getStruct(); in extractFieldSamplers()
/external/deqp-deps/glslang/gtests/
DGlslMapIO.FromFile.cpp119 … for (size_t j = 0; j < outIt.second->getType()->getStruct()->size(); j++) { in verifyIOMapping()
120 … baseLoc = (*outIt.second->getType()->getStruct())[j].type->getQualifier().hasLocation() ? in verifyIOMapping()
121 … (*outIt.second->getType()->getStruct())[j].type->getQualifier().layoutLocation : baseLoc; in verifyIOMapping()
127 …ang::TIntermediate::computeTypeLocationSize(*(*outIt.second->getType()->getStruct())[j].type, EShL… in verifyIOMapping()
139 for (size_t j = 0; j < in.getType()->getStruct()->size(); j++) { in verifyIOMapping()
140 … baseLoc = (*in.getType()->getStruct())[j].type->getQualifier().hasLocation() ? in verifyIOMapping()
141 … (*in.getType()->getStruct())[j].type->getQualifier().layoutLocation : baseLoc; in verifyIOMapping()
154 …Loc += glslang::TIntermediate::computeTypeLocationSize(*(*in.getType()->getStruct())[j].type, EShL… in verifyIOMapping()
/external/angle/third_party/vulkan-deps/glslang/src/gtests/
DGlslMapIO.FromFile.cpp119 … for (size_t j = 0; j < outIt.second->getType()->getStruct()->size(); j++) { in verifyIOMapping()
120 … baseLoc = (*outIt.second->getType()->getStruct())[j].type->getQualifier().hasLocation() ? in verifyIOMapping()
121 … (*outIt.second->getType()->getStruct())[j].type->getQualifier().layoutLocation : baseLoc; in verifyIOMapping()
127 …ang::TIntermediate::computeTypeLocationSize(*(*outIt.second->getType()->getStruct())[j].type, EShL… in verifyIOMapping()
139 for (size_t j = 0; j < in.getType()->getStruct()->size(); j++) { in verifyIOMapping()
140 … baseLoc = (*in.getType()->getStruct())[j].type->getQualifier().hasLocation() ? in verifyIOMapping()
141 … (*in.getType()->getStruct())[j].type->getQualifier().layoutLocation : baseLoc; in verifyIOMapping()
154 …Loc += glslang::TIntermediate::computeTypeLocationSize(*(*in.getType()->getStruct())[j].type, EShL… in verifyIOMapping()
/external/angle/src/compiler/translator/msl/
DToposortStructs.cpp49 if (const TStructure *z = symbolEnv.remap(f->type()->getStruct())) in BuildGraphImpl()
174 if (type.isVector() || type.isMatrix() || type.getStruct()) in CreateStructEqualityFunction()
248 if (const TStructure *structure = symbolEnv.remap(type.getStruct())) in GetAsDeclaredStructure()
287 ASSERT(leftType.getStruct() == rightType.getStruct()); in visitBinary()
288 if (const TStructure *structure = mSymbolEnv.remap(leftType.getStruct())) in visitBinary()
309 if (const TStructure *subStruct = mSymbolEnv.remap(field->type()->getStruct())) in useStruct()
DEmitMetal.cpp385 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()
947 const TStructure &structure = *type.getStruct(); in emitBareTypeName()
1382 const TStructure *structure = type.getStruct(); in emitUniformBufferDeclaration()
1402 const TStructure &structure = *type.getStruct(); in emitStructDeclaration()
1620 const TStructure *structure = type.getStruct(); in emitConstantUnion()
1697 const TFieldListCollection *fieldListCollection = fieldsType.getStruct(); in getDirectField()
1977 const TStructure *structure = returnType.getStruct(); in emitFunctionReturn()
[all …]
DProgramPrelude.cpp3714 if (argType0->getStruct() && argType1->getStruct() && argType0->isArray() && in visitOperator()
3730 else if (argType0->getStruct() && argType1->getStruct()) in visitOperator()
3739 if (argType0->getStruct() && argType1->getStruct() && argType0->isArray() && in visitOperator()
4060 if (const TStructure *s = type.getStruct()) in visitVariable()
4177 const TStructure *s = type.getStruct(); in visitDeclaration()
/external/angle/src/compiler/translator/
DInfoSink.cpp93 if (type.getStruct() != nullptr) in operator <<()
95 if (type.getStruct()->symbolType() == SymbolType::Empty) in operator <<()
101 *this << " '" << type.getStruct()->name() << "'"; in operator <<()
DValidateVaryingLocations.cpp35 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()
DValidateAST.cpp138 a.getStruct() == b.getStruct() && in IsSameType()
300 if (type.getStruct() == nullptr && type.getInterfaceBlock() == nullptr) in visitStructOrInterfaceBlockDeclaration()
318 structOrBlock = type.getStruct(); in visitStructOrInterfaceBlockDeclaration()
332 if (type.getStruct() == nullptr) in visitStructOrInterfaceBlockDeclaration()
373 if (type.getStruct() == nullptr) in visitStructUsage()
380 const TStructure *structure = type.getStruct(); in visitStructUsage()
494 const TSymbol *symbol = expectedType.getStruct(); in validateExpressionTypeBinary()
719 const TStructure *structure = type.getStruct(); in getStructOrInterfaceBlock()
1190 const TFieldListCollection *structOrBlock = type.getStruct(); in visitDeclaration()
/external/angle/src/compiler/translator/tree_ops/hlsl/
DAggregateAssignStructsInSSBOs.cpp44 else if (!(s = node->getLeft()->getType().getStruct())) in visitBinary()
48 ASSERT(node->getRight()->getType().getStruct() == s); in visitBinary()
DRecordUniformBlocksWithLargeArrayMember.cpp74 const TStructure *structure = type.getStruct(); in IsSupportedTypeForStructuredBuffer()
83 if (!fieldType.isArray() && !fieldType.getStruct() && in IsSupportedTypeForStructuredBuffer()
133 const TStructure *structure = type->getStruct(); in FieldIsOrHasLargeArrayField()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp68 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/angle/src/compiler/translator/tree_util/
DFindPreciseNodes.cpp231 block = type.getStruct(); in GetObjectPreciseSubChainLength()
245 block = field->type()->getStruct(); in GetObjectPreciseSubChainLength()
288 block = object.variable->getType().getStruct(); in AddPreciseSubObjects()
294 block = block->fields()[accessChain[length]]->type()->getStruct(); in AddPreciseSubObjects()
586 node->getOp() == EOpConstruct && type.getStruct() != nullptr && !type.isArray(); in visitAggregate()
/external/angle/src/compiler/translator/tree_ops/glsl/apple/
DRewriteRowMajorMatrices.cpp450 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()
/external/angle/src/compiler/translator/hlsl/
DStructureHLSL.cpp47 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()
/external/angle/third_party/vulkan-deps/glslang/src/glslang/HLSL/
DhlslParseHelper.cpp177 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()
1185 if (type.isStruct() && type.getStruct()->size()==0) in flatten()
1297 auto members = *type.getStruct(); in flattenStruct()
1551 if (!type.isStruct() || type.getStruct()->size() > 0) { in assignToInterface()
1717 const TTypeList* structure = variable->getType().getStruct(); in handleFunctionDefinition()
2331 auto it = ioTypeMap.find(type.getStruct()); in remapEntryPointIO()
2335 … for (auto member = type.getStruct()->begin(); member != type.getStruct()->end(); ++member) { in remapEntryPointIO()
[all …]
/external/deqp-deps/glslang/glslang/HLSL/
DhlslParseHelper.cpp177 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()
1185 if (type.isStruct() && type.getStruct()->size()==0) in flatten()
1297 auto members = *type.getStruct(); in flattenStruct()
1551 if (!type.isStruct() || type.getStruct()->size() > 0) { in assignToInterface()
1717 const TTypeList* structure = variable->getType().getStruct(); in handleFunctionDefinition()
2331 auto it = ioTypeMap.find(type.getStruct()); in remapEntryPointIO()
2335 … for (auto member = type.getStruct()->begin(); member != type.getStruct()->end(); ++member) { in remapEntryPointIO()
[all …]

1234