Home
last modified time | relevance | path

Searched refs:DDTy (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/CodeGen/AsmPrinter/
DDebugHandlerBase.cpp92 DIDerivedType *DDTy = dyn_cast<DIDerivedType>(Ty); in getBaseTypeSize() local
93 if (!DDTy) in getBaseTypeSize()
96 unsigned Tag = DDTy->getTag(); in getBaseTypeSize()
101 return DDTy->getSizeInBits(); in getBaseTypeSize()
103 DIType *BaseType = DDTy->getBaseType().resolve(); in getBaseTypeSize()
DCodeViewDebug.cpp1485 const DIDerivedType *DDTy) { in collectMemberInfo() argument
1486 if (!DDTy->getName().empty()) { in collectMemberInfo()
1487 Info.Members.push_back({DDTy, 0}); in collectMemberInfo()
1492 assert((DDTy->getOffsetInBits() % 8) == 0 && "Unnamed bitfield member!"); in collectMemberInfo()
1493 uint64_t Offset = DDTy->getOffsetInBits(); in collectMemberInfo()
1494 const DIType *Ty = DDTy->getBaseType().resolve(); in collectMemberInfo()
1513 } else if (auto *DDTy = dyn_cast<DIDerivedType>(Element)) { in collectClassInfo() local
1514 if (DDTy->getTag() == dwarf::DW_TAG_member) { in collectClassInfo()
1515 collectMemberInfo(Info, DDTy); in collectClassInfo()
1516 } else if (DDTy->getTag() == dwarf::DW_TAG_inheritance) { in collectClassInfo()
[all …]
DDwarfUnit.cpp921 else if (auto *DDTy = dyn_cast<DIDerivedType>(Element)) { in constructTypeDIE() local
922 if (DDTy->getTag() == dwarf::DW_TAG_friend) { in constructTypeDIE()
924 addType(ElemDie, resolve(DDTy->getBaseType()), dwarf::DW_AT_friend); in constructTypeDIE()
925 } else if (DDTy->isStaticMember()) { in constructTypeDIE()
926 getOrCreateStaticMemberDIE(DDTy); in constructTypeDIE()
928 constructMemberDIE(Buffer, DDTy); in constructTypeDIE()
DCodeViewDebug.h272 void collectMemberInfo(ClassInfo &Info, const DIDerivedType *DDTy);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DDebugHandlerBase.cpp132 DIDerivedType *DDTy = dyn_cast<DIDerivedType>(Ty); in getBaseTypeSize() local
133 if (!DDTy) in getBaseTypeSize()
136 unsigned Tag = DDTy->getTag(); in getBaseTypeSize()
141 return DDTy->getSizeInBits(); in getBaseTypeSize()
143 DIType *BaseType = DDTy->getBaseType().resolve(); in getBaseTypeSize()
DCodeViewDebug.cpp1936 const DIDerivedType *DDTy) { in collectMemberInfo() argument
1937 if (!DDTy->getName().empty()) { in collectMemberInfo()
1938 Info.Members.push_back({DDTy, 0}); in collectMemberInfo()
1946 assert((DDTy->getOffsetInBits() % 8) == 0 && "Unnamed bitfield member!"); in collectMemberInfo()
1947 uint64_t Offset = DDTy->getOffsetInBits(); in collectMemberInfo()
1948 const DIType *Ty = DDTy->getBaseType().resolve(); in collectMemberInfo()
1985 } else if (auto *DDTy = dyn_cast<DIDerivedType>(Element)) { in collectClassInfo() local
1986 if (DDTy->getTag() == dwarf::DW_TAG_member) { in collectClassInfo()
1987 collectMemberInfo(Info, DDTy); in collectClassInfo()
1988 } else if (DDTy->getTag() == dwarf::DW_TAG_inheritance) { in collectClassInfo()
[all …]
DDwarfUnit.cpp981 else if (auto *DDTy = dyn_cast<DIDerivedType>(Element)) { in constructTypeDIE() local
982 if (DDTy->getTag() == dwarf::DW_TAG_friend) { in constructTypeDIE()
984 addType(ElemDie, resolve(DDTy->getBaseType()), dwarf::DW_AT_friend); in constructTypeDIE()
985 } else if (DDTy->isStaticMember()) { in constructTypeDIE()
986 getOrCreateStaticMemberDIE(DDTy); in constructTypeDIE()
992 dyn_cast_or_null<ConstantInt>(DDTy->getDiscriminantValue())) { in constructTypeDIE()
998 constructMemberDIE(Variant, DDTy); in constructTypeDIE()
1000 constructMemberDIE(Buffer, DDTy); in constructTypeDIE()
DCodeViewDebug.h365 void collectMemberInfo(ClassInfo &Info, const DIDerivedType *DDTy);