/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 | RewriteStructSamplersOld.cpp | 22 const TStructure *structure = param.getType().getStruct(); in GetStructSamplerParameterType() 55 ASSERT(asSymbol->getType().getStruct()); in ReplaceTypeOfTypedStructNode() 71 ASSERT(asSymbol->getType().getStruct()); in ReplaceTypeOfTypedStructNode() 122 stripStructSpecifierSamplers(type.getStruct(), newSequence); in visitDeclaration() 130 extractStructSamplerUniforms(decl, variable, type.getStruct(), newSequence); in visitDeclaration() 287 mSymbolTable->findUserDefined(fieldType.getStruct()->name()); in stripStructSpecifierSamplers() 332 const TStructure *structure = type.getStruct(); in isRemovedStructType() 410 const TStructure *structure = fieldType.getStruct(); in extractFieldSamplersImpl() 507 const TStructure *structure = structType.getStruct(); in traverseStructContainingSamplers()
|
D | RewriteStructSamplers.cpp | 24 const TStructure *structure = param.getType().getStruct(); in GetStructSamplerParameterType() 57 ASSERT(asSymbol->getType().getStruct()); in ReplaceTypeOfTypedStructNode() 73 ASSERT(asSymbol->getType().getStruct()); in ReplaceTypeOfTypedStructNode() 342 stripStructSpecifierSamplers(type.getStruct(), newSequence); in visitDeclaration() 350 extractStructSamplerUniforms(decl, variable, type.getStruct(), newSequence); in visitDeclaration() 550 mSymbolTable->findUserDefined(fieldType.getStruct()->name()); in stripStructSpecifierSamplers() 595 const TStructure *structure = type.getStruct(); in isRemovedStructType() 661 const TStructure *structure = fieldType.getStruct(); in extractFieldSamplersImpl() 785 const TStructure *structure = structType.getStruct(); in traverseStructContainingSamplers()
|
D | RewriteRowMajorMatrices.cpp | 446 const TStructure *structure = type.getStruct(); in visitDeclaration() 747 const TStructure *fieldTypeStruct = fieldType->getStruct(); in convertField() 940 structure = ancestorType.getStruct(); in transformExpression() 1376 ASSERT(fromFieldType->getStruct()); in getCopyStructFieldFunction() 1377 ASSERT(toFieldType->getStruct()); in getCopyStructFieldFunction() 1386 const TStructure *toFieldStruct = toFieldType->getStruct(); in getCopyStructFieldFunction() 1397 const TStructure *fromFieldStruct = fromFieldType->getStruct(); in getCopyStructFieldFunction() 1420 if (fromType.getStruct()) in addFieldCopy() 1480 bool isStructOrMatrix = fromFieldType->getStruct() || fromFieldType->isMatrix(); in declareStructCopy()
|
D | RegenerateStructNames.cpp | 24 const TStructure *userType = type.getStruct(); in visitSymbol()
|
D | NameEmbeddedUniformStructs.cpp | 43 const TStructure *structure = type.getStruct(); in visitDeclaration()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | MachOObjectFile.cpp | 69 static T getStruct(const MachOObjectFile &O, const char *P) { in getStruct() function 117 return getStruct<MachO::nlist_base>(O, P); in getSymbolTableEntryBase() 295 Section s = getStruct<Section>(Obj, Sec); in parseSegmentLoadCommand() 406 getStruct<MachO::symtab_command>(Obj, Load.Ptr); in checkSymtabCommand() 462 getStruct<MachO::dysymtab_command>(Obj, Load.Ptr); in checkDysymtabCommand() 593 getStruct<MachO::linkedit_data_command>(Obj, Load.Ptr); in checkLinkeditDataCommand() 628 getStruct<MachO::dyld_info_command>(Obj, Load.Ptr); in checkDyldInfoCommand() 718 MachO::dylib_command D = getStruct<MachO::dylib_command>(Obj, Load.Ptr); in checkDylibCommand() 764 MachO::dylinker_command D = getStruct<MachO::dylinker_command>(Obj, Load.Ptr); in checkDyldCommand() 809 MachO::note_command Nt = getStruct<MachO::note_command>(Obj, Load.Ptr); in checkNoteCommand() [all …]
|
/external/angle/src/compiler/translator/ |
D | ValidateVaryingLocations.cpp | 31 if (varyingType.getStruct() != nullptr) in GetLocationCount() 35 for (const auto *field : varyingType.getStruct()->fields()) in GetLocationCount() 38 ASSERT(fieldType->getStruct() == nullptr && !fieldType->isArray()); in GetLocationCount()
|
D | StructureHLSL.cpp | 47 const TStructure *fieldStruct = fieldType.getStruct(); in Define() 182 const TStructure *structure = type.getStruct(); in postPaddingString() 261 ensureStructDefined(*fieldType->getStruct()); in defineVariants() 378 ASSERT(type.getStruct() == nullptr); in addBuiltInConstructor()
|
D | OutputHLSL.cpp | 213 const TStructure *structure = ancestorBinary->getLeft()->getType().getStruct(); in needStructMapping() 217 if (field->type()->getStruct() == nullptr) in needStructMapping() 517 const TStructure &structure = *type.getStruct(); in structInitializerString() 600 "static " + Decorate(structType->getStruct()->name()) + " " + mappedName; in generateStructMapping() 1352 const TStructure &structure = *type.getStruct(); in outputEqual() 1391 const TStructure *structure = ancestorBinary->getLeft()->getType().getStruct(); in ancestorEvaluatesToSamplerInStruct() 1658 const TStructure *structure = node->getLeft()->getType().getStruct(); in visitBinary() 2063 const TStructure *s = nodeBinary->getLeft()->getAsTyped()->getType().getStruct(); in samplerNamePrefixFromStruct() 3276 constructorName = mStructureHLSL->addStructConstructor(*node->getType().getStruct()); in outputConstructor() 3303 const TStructure *structure = type.getStruct(); in writeConstantUnion() [all …]
|
D | ShaderStorageBlockOutputHLSL.cpp | 172 ASSERT((field->type()->getStruct() == nullptr) == variable.fields.empty()); in MapVariableToField() 177 const TStructure *subStruct = field->type()->getStruct(); in MapVariableToField() 627 const TStructure *structure = node->getLeft()->getType().getStruct(); in visitBinary()
|
/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/deqp-deps/glslang/glslang/MachineIndependent/ |
D | linkValidate.cpp | 521 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes() 524 for (int i = 0; i < (int)type.getStruct()->size(); ++i) in mergeImplicitArraySizes() 525 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes() 1252 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeLocationSize() 1309 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeUniformLocationSize() 1377 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeXfbSize() 1559 const TTypeList& memberList = *type.getStruct(); in getBaseAlignment() 1653 const TTypeList& memberList = *type.getStruct(); in getScalarAlignment() 1728 const TTypeList& memberList = *type.getStruct(); in getOffset() 1752 const TTypeList& memberList = *blockType.getStruct(); in getBlockSize()
|
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() 847 const TTypeList& structure = *variable->getAsVariable()->getType().getStruct(); in setVariableExtensions()
|
D | reflection.cpp | 157 const TTypeList& memberList = *type.getStruct(); in getOffsets() 207 const TTypeList &memberList = *parentType.getStruct(); in countAggregateMembers() 306 … name.append((*visitNode->getLeft()->getType().getStruct())[index].type->getFieldName()); in blowUpActiveAggregate() 348 const TTypeList& typeList = *terminalType->getStruct(); in blowUpActiveAggregate() 448 const TTypeList& typeList = *type.getStruct(); in blowUpIOAggregate() 567 const TTypeList& typeList = *structType.getStruct(); in addDereferencedUniform()
|
D | iomapper.cpp | 485 if (type.getStruct()->size() < 1) { in resolveUniformLocation() 488 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation() 515 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 518 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() 604 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 607 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() 688 if (type.getStruct()->size() < 1) { in resolveUniformLocation() 691 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation()
|
/external/angle/third_party/glslang/src/glslang/MachineIndependent/ |
D | linkValidate.cpp | 521 …if (! type.isStruct() || ! unitType.isStruct() || type.getStruct()->size() != unitType.getStruct()… in mergeImplicitArraySizes() 524 for (int i = 0; i < (int)type.getStruct()->size(); ++i) in mergeImplicitArraySizes() 525 mergeImplicitArraySizes(*(*type.getStruct())[i].type, *(*unitType.getStruct())[i].type); in mergeImplicitArraySizes() 1252 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeLocationSize() 1309 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeUniformLocationSize() 1377 for (int member = 0; member < (int)type.getStruct()->size(); ++member) { in computeTypeXfbSize() 1559 const TTypeList& memberList = *type.getStruct(); in getBaseAlignment() 1653 const TTypeList& memberList = *type.getStruct(); in getScalarAlignment() 1728 const TTypeList& memberList = *type.getStruct(); in getOffset() 1752 const TTypeList& memberList = *blockType.getStruct(); in getBlockSize()
|
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() 847 const TTypeList& structure = *variable->getAsVariable()->getType().getStruct(); in setVariableExtensions()
|
D | reflection.cpp | 157 const TTypeList& memberList = *type.getStruct(); in getOffsets() 207 const TTypeList &memberList = *parentType.getStruct(); in countAggregateMembers() 306 … name.append((*visitNode->getLeft()->getType().getStruct())[index].type->getFieldName()); in blowUpActiveAggregate() 348 const TTypeList& typeList = *terminalType->getStruct(); in blowUpActiveAggregate() 448 const TTypeList& typeList = *type.getStruct(); in blowUpIOAggregate() 567 const TTypeList& typeList = *structType.getStruct(); in addDereferencedUniform()
|
D | iomapper.cpp | 485 if (type.getStruct()->size() < 1) { in resolveUniformLocation() 488 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation() 515 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 518 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() 604 if (type.getStruct()->size() < 1) { in resolveInOutLocation() 607 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveInOutLocation() 688 if (type.getStruct()->size() < 1) { in resolveUniformLocation() 691 if ((*type.getStruct())[0].type->isBuiltIn()) { in resolveUniformLocation()
|
/external/angle/third_party/glslang/src/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() 1283 auto members = *type.getStruct(); in flattenStruct() 1537 if (!type.isStruct() || type.getStruct()->size() > 0) { in assignToInterface() 1703 const TTypeList* structure = variable->getType().getStruct(); in handleFunctionDefinition() 2262 auto it = ioTypeMap.find(type.getStruct()); in remapEntryPointIO() 2266 … for (auto member = type.getStruct()->begin(); member != type.getStruct()->end(); ++member) { in remapEntryPointIO() 2275 ioTypeMap[type.getStruct()] = newLists; in remapEntryPointIO() [all …]
|
/external/deqp-deps/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() 1283 auto members = *type.getStruct(); in flattenStruct() 1537 if (!type.isStruct() || type.getStruct()->size() > 0) { in assignToInterface() 1703 const TTypeList* structure = variable->getType().getStruct(); in handleFunctionDefinition() 2262 auto it = ioTypeMap.find(type.getStruct()); in remapEntryPointIO() 2266 … for (auto member = type.getStruct()->begin(); member != type.getStruct()->end(); ++member) { in remapEntryPointIO() 2275 ioTypeMap[type.getStruct()] = newLists; in remapEntryPointIO() [all …]
|
/external/deqp/modules/glshared/ |
D | glsUniformBlockCase.cpp | 446 …for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct… in computeStd140BaseAlignment() 570 …for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct… in computeStd140Layout() 754 …for (StructType::ConstIterator iter = type.getStruct().begin(); iter != type.getStruct().end(); ++… in collectUniqueBasicTypes() 881 generateLocalDeclaration(src, curType->getStruct(), indentLevel+1); in generateDeclaration() 891 generateLocalDeclaration(src, type.getStruct(), indentLevel+1); in generateDeclaration() 1042 …for (StructType::ConstIterator memberIter = type.getStruct().begin(); memberIter != type.getStruct… in generateCompareSrc()
|
/external/angle/src/compiler/translator/tree_util/ |
D | IntermNodePatternMatcher.cpp | 202 declarator->getType().getStruct()->symbolType() == SymbolType::Empty) in match()
|