Home
last modified time | relevance | path

Searched refs:DICompositeType (Results 1 – 25 of 271) sorted by relevance

1234567891011

/external/llvm/unittests/IR/
DDebugTypeODRUniquingTest.cpp31 EXPECT_FALSE(DICompositeType::getODRType( in TEST()
37 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
40 auto &CT = *DICompositeType::getODRType( in TEST()
46 EXPECT_EQ(&CT, DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
48 &CT, DICompositeType::getODRType(Context, UUID, dwarf::DW_TAG_class_type, in TEST()
51 EXPECT_EQ(&CT, DICompositeType::getODRType( in TEST()
58 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
62 EXPECT_FALSE(DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
71 auto &CT = *DICompositeType::buildODRType( in TEST()
74 EXPECT_EQ(&CT, DICompositeType::getODRTypeIfExists(Context, UUID)); in TEST()
[all …]
/external/clang/test/Modules/
DModuleDebugInfo.m29 // CHECK: !DICompositeType(tag: DW_TAG_enumeration_type,
33 // CHECK: ![[TD_ENUM:.*]] = !DICompositeType(tag: DW_TAG_enumeration_type,
40 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "ObjCClass",
45 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "OpaqueData", file
47 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "FwdDecl",
50 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "ObjCClassWithPrivateIVars",
54 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "FwdDeclared"
57 // CHECK: ![[TD_UNION:.*]] = distinct !DICompositeType(tag: DW_TAG_union_type,
67 // CHECK: ![[TD_STRUCT:.*]] = distinct !DICompositeType(tag: DW_TAG_structure_type,
73 // CHECK: !DICompositeType(tag: DW_TAG_union_type,
[all …]
DExtDebugInfo.m37 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "ObjCClassWithPrivateIVars",
47 // CHECK: ![[GLOBAL_UNION]] = distinct !DICompositeType(tag: DW_TAG_union_type,
52 // CHECK: ![[GLOBAL_STRUCT]] = distinct !DICompositeType(tag: DW_TAG_structure_type,
57 // CHECK: ![[TD_UNION]] = !DICompositeType(tag: DW_TAG_union_type,
62 // CHECK: ![[TD_ENUM]] = !DICompositeType(tag: DW_TAG_enumeration_type,
67 // CHECK: ![[TD_STRUCT]] = !DICompositeType(tag: DW_TAG_structure_type,
70 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "ObjCClass",
74 // CHECK-NOT: !DICompositeType(tag: DW_TAG_structure_type,
75 // CHECK: !DICompositeType(tag: DW_TAG_enumeration_type,
/external/llvm/test/Linker/
Ddicompositetype-unique.ll25 ; CHECK: !1 = distinct !DICompositeType(
30 ; CHECK: !2 = distinct !DICompositeType(
34 ; CHECK: !3 = distinct !DICompositeType(
41 ; NOMAP: !1 = !DICompositeType(
44 ; NOMAP: !2 = !DICompositeType(
47 ; NOMAP: !3 = !DICompositeType(
50 ; NOMAP: !4 = !DICompositeType(
54 ; NOMAP: !5 = !DICompositeType(
58 ; NOMAP: !6 = !DICompositeType(
63 !1 = !DICompositeType(tag: DW_TAG_class_type, name: "T1", identifier: "T", file: !0)
[all …]
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h151 DenseMap<const DICompositeType *, codeview::TypeIndex> CompleteTypeIndices;
155 SmallVector<const DICompositeType *, 4> DeferredCompleteTypes;
235 const DICompositeType *Class);
245 codeview::TypeIndex lowerTypeArray(const DICompositeType *Ty);
254 codeview::TypeIndex lowerTypeEnum(const DICompositeType *Ty);
255 codeview::TypeIndex lowerTypeClass(const DICompositeType *Ty);
256 codeview::TypeIndex lowerTypeUnion(const DICompositeType *Ty);
265 codeview::TypeIndex lowerCompleteTypeClass(const DICompositeType *Ty);
266 codeview::TypeIndex lowerCompleteTypeUnion(const DICompositeType *Ty);
273 ClassInfo collectClassInfo(const DICompositeType *Ty);
[all …]
DCodeViewDebug.cpp233 if (const auto *Class = dyn_cast_or_null<DICompositeType>(Scope)) { in getFuncIdForSubprogram()
252 const DICompositeType *Class) { in getMemberFunctionType()
932 return lowerTypeArray(cast<DICompositeType>(Ty)); in lowerType()
955 return lowerTypeEnum(cast<DICompositeType>(Ty)); in lowerType()
958 return lowerTypeClass(cast<DICompositeType>(Ty)); in lowerType()
960 return lowerTypeUnion(cast<DICompositeType>(Ty)); in lowerType()
984 TypeIndex CodeViewDebug::lowerTypeArray(const DICompositeType *Ty) { in lowerTypeArray()
1379 static TypeRecordKind getRecordKind(const DICompositeType *Ty) { in getRecordKind()
1389 static ClassOptions getCommonClassOptions(const DICompositeType *Ty) { in getCommonClassOptions()
1402 if (ImmediateScope && isa<DICompositeType>(ImmediateScope)) in getCommonClassOptions()
[all …]
/external/llvm/test/Assembler/
Ddebug-info.ll43 ; CHECK-NEXT: !14 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyType", file: !10, line: 2…
44 ; CHECK-NEXT: !15 = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "Base", scope: !14,…
48 ; CHECK-NEXT: !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "Derived", scope: !14, file:…
52 ; CHECK-NEXT: !23 = !DICompositeType(tag: DW_TAG_structure_type)
53 ; CHECK-NEXT: !24 = !DICompositeType(tag: DW_TAG_structure_type, runtimeLang: DW_LANG_Cobol85)
54 !16 = !DICompositeType(tag: DW_TAG_structure_type, name: "MyType", file: !12, line: 2, size: 32, al…
55 !17 = !DICompositeType(tag: DW_TAG_structure_type, name: "Base", scope: !16, file: !12, line: 3, si…
59 !21 = !DICompositeType(tag: DW_TAG_structure_type, name: "Derived", scope: !16, file: !12, line: 3,…
63 !25 = !DICompositeType(tag: DW_TAG_structure_type)
64 !26 = !DICompositeType(tag: DW_TAG_structure_type, runtimeLang: 6)
Ddicompositetype-members.ll16 ; CHECK-NEXT: !3 = !DICompositeType(tag: DW_TAG_structure_type, name: "has-uuid",{{.*}}, identifier…
21 !3 = !DICompositeType(tag: DW_TAG_structure_type, name: "has-uuid", file: !1, line: 2, size: 64, al…
28 ; CHECK-NEXT: !8 = !DICompositeType(tag: DW_TAG_structure_type, name: "no-uuid", file: !1
33 !8 = !DICompositeType(tag: DW_TAG_structure_type, name: "no-uuid", file: !1, line: 2, size: 64, ali…
Dditype-large-values.ll9 ; CHECK-NEXT: !2 = !DICompositeType(tag: DW_TAG_array_type, baseType: !0, size: 1844674407370955161…
12 !2 = !DICompositeType(tag: DW_TAG_array_type, baseType: !0, size: 18446744073709551615, align: 1844…
Ddiobjcproperty.ll9 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "Object")
11 ; CHECK: !2 = !DICompositeType({{.*}})
/external/llvm/test/Bitcode/
Ddityperefs-3.8.ll8 ; CHECK-NEXT: !1 = !DICompositeType(tag: DW_TAG_structure_type, name: "T1"{{.*}}, identifier: "T1")
9 ; CHECK-NEXT: !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "T2", scope: !1{{.*}}, baseTy…
20 ; CHECK-NEXT: !13 = !DICompositeType(tag: DW_TAG_structure_type, name: "T3", file: !0, elements: !1…
26 !1 = !DICompositeType(tag: DW_TAG_structure_type, name: "T1", file: !0, identifier: "T1")
27 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "T2", file: !0, scope: !"T1", baseType: !"T…
38 !13 = !DICompositeType(tag: DW_TAG_structure_type, name: "T3", file: !0, elements: !14, identifier:…
/external/llvm/include/llvm/IR/
DDIBuilder.h274 DICompositeType *createClassType(DIScope *Scope, StringRef Name,
294 DICompositeType *createStructType(
311 DICompositeType *createUnionType(DIScope *Scope, StringRef Name,
362 DICompositeType *createArrayType(uint64_t Size, uint64_t AlignInBits,
370 DICompositeType *createVectorType(uint64_t Size, uint64_t AlignInBits,
384 DICompositeType *createEnumerationType(
402 DICompositeType *createExternalTypeRef(unsigned Tag, DIFile *File,
413 DICompositeType *createForwardDecl(unsigned Tag, StringRef Name,
421 DICompositeType *createReplaceableCompositeType(
701 void replaceVTableHolder(DICompositeType *&T,
[all …]
/external/llvm/test/DebugInfo/X86/
Dtype_units_with_addresses.ll119 !4 = !DICompositeType(tag: DW_TAG_structure_type, name: "S1<&i>", line: 4, size: 8, align: 8, file:…
124 !9 = !DICompositeType(tag: DW_TAG_structure_type, name: "S2", line: 11, size: 8, align: 8, file: !1…
127 !12 = !DICompositeType(tag: DW_TAG_structure_type, name: "S2_1<&i>", line: 9, size: 8, align: 8, fi…
128 !13 = !DICompositeType(tag: DW_TAG_structure_type, name: "S3", line: 22, size: 16, align: 8, file: …
132 !17 = !DICompositeType(tag: DW_TAG_structure_type, name: "S3_1<&i>", line: 18, size: 8, align: 8, f…
133 !18 = !DICompositeType(tag: DW_TAG_structure_type, name: "S3_2", line: 20, size: 8, align: 8, file:…
134 !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "S4", line: 34, size: 16, align: 8, file: …
138 !23 = !DICompositeType(tag: DW_TAG_structure_type, name: "S4_1", line: 29, size: 8, align: 8, file:…
139 !24 = !DICompositeType(tag: DW_TAG_structure_type, name: "S4_2<&i>", line: 32, size: 8, align: 8, f…
Ddebug-info-packed-struct.ll157 !6 = !DICompositeType(tag: DW_TAG_structure_type, name: "layout0", file: !5, line: 15, size: 192, a…
162 !11 = !DICompositeType(tag: DW_TAG_structure_type, name: "size8", file: !5, line: 11, size: 64, ali…
170 !19 = !DICompositeType(tag: DW_TAG_structure_type, name: "layout1", file: !5, line: 34, size: 96, a…
174 !23 = !DICompositeType(tag: DW_TAG_structure_type, name: "size8_anon", file: !5, line: 30, size: 64…
177 !26 = !DICompositeType(tag: DW_TAG_structure_type, name: "layout2", file: !5, line: 54, size: 80, a…
181 !30 = !DICompositeType(tag: DW_TAG_structure_type, name: "size8_pack1", file: !5, line: 50, size: 6…
187 !36 = !DICompositeType(tag: DW_TAG_structure_type, name: "layout3", file: !5, line: 76, size: 128, …
191 !40 = !DICompositeType(tag: DW_TAG_structure_type, name: "size8_pack4", file: !5, line: 72, size: 6…
Denum-class.ll13 !3 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "A", line: 1, size: 32, align: 32, file: …
18 !8 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "B", line: 2, size: 64, align: 64, file: …
22 !12 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "C", line: 3, size: 32, align: 32, file:…
Dexternaltyperef.ll39 !4 = !DICompositeType(tag: DW_TAG_class_type, name: "A", file: !1, flags: DIFlagExternalTypeRef, id…
43 !8 = !DICompositeType(tag: DW_TAG_class_type, name: "B", file: !1, flags: DIFlagExternalTypeRef, id…
44 !9 = !DICompositeType(tag: DW_TAG_class_type, name: "A", file: !1, flags: DIFlagExternalTypeRef, id…
/external/llvm/test/Linker/Inputs/
Ddicompositetype-unique.ll4 !1 = !DICompositeType(tag: DW_TAG_class_type, name: "T2", identifier: "T", file: !0)
5 !2 = !DICompositeType(tag: DW_TAG_class_type, name: "FwdTDef", identifier: "FwdT", file: !0)
6 !3 = !DICompositeType(tag: DW_TAG_class_type, flags: DIFlagFwdDecl, name: "BothFwdT2", identifier: …
Dtype-unique-inheritance-a.ll1 ; CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "A"
2 ; CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "Base"
3 ; CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "B"
4 ; CHECK-NOT: !DICompositeType(tag: DW_TAG_class_type
73 !4 = !DICompositeType(tag: DW_TAG_class_type, name: "A", line: 3, size: 64, align: 32, file: !5, el…
77 !8 = !DICompositeType(tag: DW_TAG_class_type, name: "Base", line: 3, size: 32, align: 32, file: !9,…
/external/llvm/lib/IR/
DDIBuilder.cpp359 DICompositeType *DIBuilder::createClassType( in createClassType()
367 auto *R = DICompositeType::get( in createClassType()
376 DICompositeType *DIBuilder::createStructType( in createStructType()
381 auto *R = DICompositeType::get( in createStructType()
389 DICompositeType *DIBuilder::createUnionType( in createUnionType()
393 auto *R = DICompositeType::get( in createUnionType()
406 DICompositeType *DIBuilder::createExternalTypeRef(unsigned Tag, DIFile *File, in createExternalTypeRef()
409 return DICompositeType::get(VMContext, Tag, "", nullptr, 0, nullptr, nullptr, in createExternalTypeRef()
414 DICompositeType *DIBuilder::createEnumerationType( in createEnumerationType()
418 auto *CTy = DICompositeType::get( in createEnumerationType()
[all …]
DDebugInfoMetadata.cpp257 DICompositeType *DICompositeType::getImpl( in getImpl()
268 DICompositeType, (Tag, Name, File, Line, Scope, BaseType, SizeInBits, in getImpl()
273 DEFINE_GETIMPL_STORE(DICompositeType, (Tag, Line, RuntimeLang, SizeInBits, in getImpl()
278 DICompositeType *DICompositeType::buildODRType( in buildODRType()
289 return CT = DICompositeType::getDistinct( in buildODRType()
312 DICompositeType *DICompositeType::getODRType( in getODRType()
323 CT = DICompositeType::getDistinct( in getODRType()
330 DICompositeType *DICompositeType::getODRTypeIfExists(LLVMContext &Context, in getODRTypeIfExists()
/external/llvm/test/CodeGen/ARM/
Ddebug-info-blocks.ll115 !1 = !DICompositeType(tag: DW_TAG_enumeration_type, line: 248, size: 32, align: 32, file: !160, sco…
119 !5 = !DICompositeType(tag: DW_TAG_enumeration_type, name: "Mode", line: 79, size: 32, align: 32, fi…
123 !9 = !DICompositeType(tag: DW_TAG_enumeration_type, line: 15, size: 32, align: 32, file: !149, scop…
128 !14 = !DICompositeType(tag: DW_TAG_enumeration_type, line: 20, size: 32, align: 32, file: !150, sco…
133 !19 = !DICompositeType(tag: DW_TAG_enumeration_type, line: 14, size: 32, align: 32, file: !151, sco…
143 !29 = !DICompositeType(tag: DW_TAG_structure_type, name: "__block_literal_14", line: 609, size: 256…
153 !39 = !DICompositeType(tag: DW_TAG_structure_type, name: "__block_descriptor_withcopydispose", line…
164 !50 = !DICompositeType(tag: DW_TAG_structure_type, size: 224, flags: DIFlagBlockByrefStruct, file: …
174 !60 = !DICompositeType(tag: DW_TAG_structure_type, name: "UIMydata", line: 26, size: 128, align: 32…
178 !64 = !DICompositeType(tag: DW_TAG_structure_type, name: "NSO", line: 66, size: 32, align: 32, runt…
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDebugInfo.h393 class DICompositeType : public DIDerivedType {
395 explicit DICompositeType(const MDNode *N = 0)
403 DICompositeType getContainingType() const { in getContainingType()
404 return getFieldAs<DICompositeType>(12); in getContainingType()
472 DICompositeType getType() const { return getFieldAs<DICompositeType>(8); } in getType()
477 DICompositeType DCT(getFieldAs<DICompositeType>(8)); in getReturnTypeName()
495 DICompositeType getContainingType() const { in getContainingType()
496 return getFieldAs<DICompositeType>(13); in getContainingType()
767 DICompositeType getDICompositeType(DIType T);
/external/llvm/test/Verifier/
Dmdcompositetype-templateparams.ll4 ; CHECK-NEXT: !2 = !DICompositeType(
12 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParam…
Dmdcompositetype-templateparams-tuple.ll4 ; CHECK-NEXT: !2 = !DICompositeType(
11 !2 = !DICompositeType(tag: DW_TAG_structure_type, name: "IntTy", size: 32, align: 32, templateParam…
/external/clang/test/CodeGenObjCXX/
Ddebug-info-block-capture-this.mm13 // CHECK: ![[TESTCT:[0-9]+]] = distinct !DICompositeType(tag: DW_TAG_structure_type, name: "test"
14 // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "__block_literal_1",

1234567891011