Home
last modified time | relevance | path

Searched full:vfptr (Results 1 – 25 of 65) sorted by relevance

123

/external/clang/test/CodeGenCXX/
Dmicrosoft-abi-multiple-nonvirtual-inheritance.cpp28 // CHECK: %[[VFPTR:.*]] = bitcast %struct.Left* %[[LEFT]] to void (%struct.Left*)*** in call_left_no_override()
29 // CHECK: %[[VFTABLE:.*]] = load void (%struct.Left*)**, void (%struct.Left*)*** %[[VFPTR]] in call_left_no_override()
55 // CHECK: %[[VFPTR:.*]] = bitcast %struct.ChildOverride* %[[CHILD]] to void (%struct.ChildOverride*… in call_left_override()
56 …%[[VFTABLE:.*]] = load void (%struct.ChildOverride*)**, void (%struct.ChildOverride*)*** %[[VFPTR]] in call_left_override()
76 // CHECK: %[[VFPTR:.*]] = bitcast %struct.Right* %[[RIGHT]] to void (%struct.Right*)*** in call_right_no_override()
77 // CHECK: %[[VFTABLE:.*]] = load void (%struct.Right*)**, void (%struct.Right*)*** %[[VFPTR]] in call_right_no_override()
113 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VFPTR_i8]] to void (i8*)*** in call_right_override()
114 // CHECK: %[[VFTABLE:.*]] = load void (i8*)**, void (i8*)*** %[[VFPTR]] in call_right_override()
165 // CHECK: %[[VFPTR:.*]] = bitcast %struct.ChildOverride* %[[THIS]] to i32 (...)*** in emit_ctors()
166 …)** bitcast ([1 x i8*]* @"\01??_7ChildOverride@@6BLeft@@@" to i32 (...)**), i32 (...)*** %[[VFPTR]] in emit_ctors()
[all …]
Dmicrosoft-abi-vtables-multiple-nonvirtual-inheritance-vdtors.cpp51 // CHECK-NEXT: -- accessible via vfptr at offset 4 --
71 // CHECK-NEXT: -- accessible via vfptr at offset 4 --
89 // CHECK-NEXT: -- accessible via vfptr at offset 4 --
Dmicrosoft-abi-vtables-virtual-inheritance.cpp22 // CHECK-NEXT: vbtable index 1, vfptr at offset 0
42 // CHECK-NEXT: via vfptr at offset 0
44 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
61 // X and A get reordered in the layout since X doesn't have a vfptr while A has.
236 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
257 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
399 // CHECK-NEXT: via vfptr at offset 0
401 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
404 // CHECK-NEXT: via vbtable index 2, vfptr at offset 0
431 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
[all …]
Dmicrosoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp71 // CHECK-NEXT: via vfptr at offset 4
130 // CHECK-NEXT: via vfptr at offset 0
132 // CHECK-NEXT: via vfptr at offset 4
Dmicrosoft-abi-virtual-inheritance.cpp35 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VFPTR_i8]] to i32 (...)*** in B()
36 …: store i32 (...)** bitcast ([3 x i8*]* @"\01??_7B@@6B@" to i32 (...)**), i32 (...)*** %[[VFPTR]] in B()
62 // Restore the vfptr that could have been changed by a subclass. in ~B()
68 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VFPTR_i8]] to i32 (...)*** in ~B()
69 …: store i32 (...)** bitcast ([3 x i8*]* @"\01??_7B@@6B@" to i32 (...)**), i32 (...)*** %[[VFPTR]] in ~B()
155 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VBASE_i8]] to void (i8*)*** in call_vbase_bar()
156 // CHECK: %[[VFTABLE:.*]] = load void (i8*)**, void (i8*)*** %[[VFPTR]] in call_vbase_bar()
187 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VBASE_i8]] to i8* (%struct.B*, i32)*** in delete_B()
188 // CHECK: %[[VFTABLE:.*]] = load i8* (%struct.B*, i32)**, i8* (%struct.B*, i32)*** %[[VFPTR]] in delete_B()
Dmicrosoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp56 // CHECK-NEXT: via vfptr at offset 4
177 // CHECK-NEXT: via vfptr at offset 4
212 // CHECK-NEXT: via vfptr at offset 4
Dmicrosoft-abi-vtables-multiple-nonvirtual-inheritance-pure-virtual.cpp23 // CHECK-NEXT: via vfptr at offset 4
/external/llvm-project/clang/test/CodeGenCXX/
Dmicrosoft-abi-multiple-nonvirtual-inheritance.cpp28 // CHECK: %[[VFPTR:.*]] = bitcast %struct.Left* %[[LEFT]] to void (%struct.Left*)*** in call_left_no_override()
29 // CHECK: %[[VFTABLE:.*]] = load void (%struct.Left*)**, void (%struct.Left*)*** %[[VFPTR]] in call_left_no_override()
56 // CHECK: %[[VFPTR:.*]] = bitcast %struct.ChildOverride* %[[CHILD]] to void (%struct.ChildOverride*… in call_left_override()
57 …%[[VFTABLE:.*]] = load void (%struct.ChildOverride*)**, void (%struct.ChildOverride*)*** %[[VFPTR]] in call_left_override()
77 // CHECK: %[[VFPTR:.*]] = bitcast %struct.Right* %[[RIGHT]] to void (%struct.Right*)*** in call_right_no_override()
78 // CHECK: %[[VFTABLE:.*]] = load void (%struct.Right*)**, void (%struct.Right*)*** %[[VFPTR]] in call_right_no_override()
121 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VFPTR_i8]] to void (i8*)*** in call_right_override()
122 // CHECK: %[[VFTABLE:.*]] = load void (i8*)**, void (i8*)*** %[[VFPTR]] in call_right_override()
175 // CHECK: %[[VFPTR:.*]] = bitcast %struct.ChildOverride* %[[THIS]] to i32 (...)*** in emit_ctors()
176 …** bitcast ({ [1 x i8*] }* @"??_7ChildOverride@@6BLeft@@@" to i32 (...)**), i32 (...)*** %[[VFPTR]] in emit_ctors()
[all …]
Dcfi-mfcall.cpp16 // WPV: [[VFPTR:%.*]] = getelementptr i8, i8* %{{.*}}, i64 [[OFFSET]] in f()
17 // WPV: [[TT:%.*]] = call i1 @llvm.type.test(i8* [[VFPTR]], metadata !"_ZTSM1SFvvE.virtual") in f()
19 // CHECK: [[VFPTR:%.*]] = getelementptr i8, i8* %{{.*}}, i64 [[OFFSET]] in f()
20 // CHECK: [[TT:%.*]] = call i1 @llvm.type.test(i8* [[VFPTR]], metadata !"_ZTSM1SFvvE.virtual") in f()
Dmicrosoft-abi-vtables-multiple-nonvirtual-inheritance-vdtors.cpp51 // CHECK-NEXT: -- accessible via vfptr at offset 4 --
71 // CHECK-NEXT: -- accessible via vfptr at offset 4 --
89 // CHECK-NEXT: -- accessible via vfptr at offset 4 --
Dmicrosoft-abi-vtables-virtual-inheritance.cpp22 // CHECK-NEXT: vbtable index 1, vfptr at offset 0
42 // CHECK-NEXT: via vfptr at offset 0
44 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
61 // X and A get reordered in the layout since X doesn't have a vfptr while A has.
236 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
257 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
399 // CHECK-NEXT: via vfptr at offset 0
401 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
404 // CHECK-NEXT: via vbtable index 2, vfptr at offset 0
431 // CHECK-NEXT: via vbtable index 1, vfptr at offset 0
[all …]
Dmicrosoft-abi-this-nullable.cpp37 // CHECK: %[[VFPTR:.*]] = bitcast %struct.Right* %[[RIGHT]] to void (%struct.Right*)*** in call_right_no_override()
38 // CHECK: %[[VFTABLE:.*]] = load void (%struct.Right*)**, void (%struct.Right*)*** %[[VFPTR]] in call_right_no_override()
Dmicrosoft-abi-virtual-inheritance.cpp35 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VFPTR_i8]] to i32 (...)*** in B()
36 … store i32 (...)** bitcast ({ [3 x i8*] }* @"??_7B@@6B@" to i32 (...)**), i32 (...)*** %[[VFPTR]] in B()
64 // Restore the vfptr that could have been changed by a subclass. in ~B()
70 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VFPTR_i8]] to i32 (...)*** in ~B()
71 … store i32 (...)** bitcast ({ [3 x i8*] }* @"??_7B@@6B@" to i32 (...)**), i32 (...)*** %[[VFPTR]] in ~B()
176 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VBASE_i8]] to void (i8*)*** in call_vbase_bar()
177 // CHECK: %[[VFTABLE:.*]] = load void (i8*)**, void (i8*)*** %[[VFPTR]] in call_vbase_bar()
209 // CHECK: %[[VFPTR:.*]] = bitcast i8* %[[VBASE_i8]] to i8* (%struct.B*, i32)*** in delete_B()
210 // CHECK: %[[VFTABLE:.*]] = load i8* (%struct.B*, i32)**, i8* (%struct.B*, i32)*** %[[VFPTR]] in delete_B()
Dmicrosoft-abi-vtables-multiple-nonvirtual-inheritance-this-adjustment.cpp71 // CHECK-NEXT: via vfptr at offset 4
130 // CHECK-NEXT: via vfptr at offset 0
132 // CHECK-NEXT: via vfptr at offset 4
Dmicrosoft-abi-vtables-multiple-nonvirtual-inheritance-no-thunks.cpp56 // CHECK-NEXT: via vfptr at offset 4
177 // CHECK-NEXT: via vfptr at offset 4
212 // CHECK-NEXT: via vfptr at offset 4
Dmicrosoft-abi-vtables-multiple-nonvirtual-inheritance-pure-virtual.cpp23 // CHECK-NEXT: via vfptr at offset 4
/external/llvm-project/llvm/test/tools/llvm-pdbutil/
Dcomplex-padding-graphical.test17 ; DIRECT_VB_ONLY-NEXT: vfptr +0x08 [sizeof=4]
25 DIRECT_VB_AND_NON_VB-NEXT: vfptr +0x00 [sizeof=4]
30 DIRECT_VB_AND_NON_VB-NEXT: vfptr +0x10 [sizeof=4]
41 INDIRECT_VB-NEXT: vfptr +0x0c [sizeof=4]
53 INDIRECT_AND_DIRECT_VB-NEXT: vfptr +0x0c [sizeof=4]
Dsimple-padding-graphical.test14 ; RUN: FileCheck -input-file=%t %s -check-prefix=VFPTR
74 ; VFPTR: struct SimplePadVfptr [sizeof = 8] {
75 ; VFPTR-NEXT: vfptr +0x00 [sizeof=4]
76 ; VFPTR-NEXT: data +0x04 [sizeof=4] int X
77 ; VFPTR-NEXT: }
/external/llvm/test/tools/llvm-cxxdump/
Deh.test5 COFF-I386: ??_R0?AUA@@@8[VFPtr]: ??_7type_info@@6B@
8 COFF-I386: ??_R0?AUB@@@8[VFPtr]: ??_7type_info@@6B@
11 COFF-I386: ??_R0?AUC@@@8[VFPtr]: ??_7type_info@@6B@
14 COFF-I386: ??_R0?AUM@@@8[VFPtr]: ??_7type_info@@6B@
17 COFF-I386: ??_R0?AUS@@@8[VFPtr]: ??_7type_info@@6B@
20 COFF-I386: ??_R0?AW4E@@@8[VFPtr]: ??_7type_info@@6B@
23 COFF-I386: ??_R0PAUA@@@8[VFPtr]: ??_7type_info@@6B@
26 COFF-I386: ??_R0PAUC@@@8[VFPtr]: ??_7type_info@@6B@
29 COFF-I386: ??_R0PAUS@@@8[VFPtr]: ??_7type_info@@6B@
32 COFF-I386: ??_R0PAW4E@@@8[VFPtr]: ??_7type_info@@6B@
[all …]
Dtrivial.test48 COFF-I386-NEXT: ??_R0?AUA@@@8[VFPtr]: ??_7type_info@@6B@
51 COFF-I386-NEXT: ??_R0?AUS@@@8[VFPtr]: ??_7type_info@@6B@
/external/llvm-project/llvm/test/tools/llvm-cxxdump/
Deh.test5 COFF-I386: ??_R0?AUA@@@8[VFPtr]: ??_7type_info@@6B@
8 COFF-I386: ??_R0?AUB@@@8[VFPtr]: ??_7type_info@@6B@
11 COFF-I386: ??_R0?AUC@@@8[VFPtr]: ??_7type_info@@6B@
14 COFF-I386: ??_R0?AUM@@@8[VFPtr]: ??_7type_info@@6B@
17 COFF-I386: ??_R0?AUS@@@8[VFPtr]: ??_7type_info@@6B@
20 COFF-I386: ??_R0?AW4E@@@8[VFPtr]: ??_7type_info@@6B@
23 COFF-I386: ??_R0PAUA@@@8[VFPtr]: ??_7type_info@@6B@
26 COFF-I386: ??_R0PAUC@@@8[VFPtr]: ??_7type_info@@6B@
29 COFF-I386: ??_R0PAUS@@@8[VFPtr]: ??_7type_info@@6B@
32 COFF-I386: ??_R0PAW4E@@@8[VFPtr]: ??_7type_info@@6B@
[all …]
Dtrivial.test51 COFF-I386-NEXT: ??_R0?AUA@@@8[VFPtr]: ??_7type_info@@6B@
54 COFF-I386-NEXT: ??_R0?AUS@@@8[VFPtr]: ??_7type_info@@6B@
/external/clang/include/clang/AST/
DVTableBuilder.h433 /// with the given vfptr offset, in the base-to-derived order. Only used for
437 /// Static offset from the top of the most derived class to this vfptr,
467 /// If nonzero, holds the vbtable index of the virtual base with the vfptr.
470 /// If nonnull, holds the last vbase which contains the vfptr that the
474 /// This is the offset of the vfptr from the start of the last vbase, or the
/external/llvm-project/clang/include/clang/AST/
DVTableBuilder.h480 /// with the given vfptr offset, in the base-to-derived order. Only used for
484 /// Static offset from the top of the most derived class to this vfptr,
510 /// If nonzero, holds the vbtable index of the virtual base with the vfptr.
513 /// If nonnull, holds the last vbase which contains the vfptr that the
517 /// This is the offset of the vfptr from the start of the last vbase, or the
/external/llvm-project/llvm/unittests/DebugInfo/CodeView/
DTypeIndexDiscoveryTest.cpp283 static VFPtrRecord VFPtr(TypeIndex(58)); variable
513 writeFieldList(VFPtr); in TEST_F()
514 checkTypeReferences(0, VFPtr.Type); in TEST_F()
527 NestedType, StaticDataMember, VirtualBaseClass, VFPtr, in TEST_F()
534 VirtualBaseClass.VBPtrType, VFPtr.Type, Continuation.ContinuationIndex); in TEST_F()

123