Home
last modified time | relevance | path

Searched refs:typeid (Results 1 – 25 of 146) sorted by relevance

123456

/llvm-project-15.0.7/clang/test/CodeGenObjCXX/
H A Drtti.mm26 const std::type_info &t1 = typeid(B*);
27 const std::type_info &t2 = typeid(B);
32 const std::type_info &t3 = typeid(i);
33 const std::type_info &t4 = typeid(*i);
38 const std::type_info &t5 = typeid(c);
39 const std::type_info &t6 = typeid(*c);
44 const std::type_info &t7 = typeid(i2);
45 const std::type_info &t8 = typeid(*i2);
50 const std::type_info &t9 = typeid(c2);
51 const std::type_info &t10 = typeid(*c2);
/llvm-project-15.0.7/llvm/test/Transforms/NewGVN/
H A D2011-09-07-TypeIdFor.ll12 declare i32 @llvm.eh.typeid.for(i8*) nounwind readonly
33 …%typeid.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo*…
34 ; CHECK: call i32 @llvm.eh.typeid.for
35 %1 = icmp eq i32 %filter3.i, %typeid.i
39 …%typeid1.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo…
40 ; CHECK: call i32 @llvm.eh.typeid.for
56 …%typeid = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* @…
57 ; CHECK-NOT: call i32 @llvm.eh.typeid.for
58 %4 = icmp eq i32 %filter3.i, %typeid
62 …%typeid1 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* …
/llvm-project-15.0.7/llvm/test/Transforms/GVN/
H A D2011-09-07-TypeIdFor.ll12 declare i32 @llvm.eh.typeid.for(i8*) nounwind readonly
33 …%typeid.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo*…
34 ; CHECK: call i32 @llvm.eh.typeid.for
35 %1 = icmp eq i32 %filter3.i, %typeid.i
39 …%typeid1.i = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo…
40 ; CHECK: call i32 @llvm.eh.typeid.for
56 …%typeid = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* @…
57 ; CHECK-NOT: call i32 @llvm.eh.typeid.for
58 %4 = icmp eq i32 %filter3.i, %typeid
62 …%typeid1 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* …
/llvm-project-15.0.7/llvm/test/ThinLTO/X86/
H A Dcfi-distributed.ll28 ; INDEX1: typeid: (name: "_ZTS1A"
31 ; INDEX1: typeid: (name: "_ZTS1A2"
35 ; INDEX1: typeid: (name: "_ZTS1A3"
39 ; INDEX2-NOT: typeid: (name: "_ZTS1A"
40 ; INDEX2: typeid: (name: "_ZTS1A2"
41 ; INDEX2: typeid: (name: "_ZTS1A3"
/llvm-project-15.0.7/llvm/test/Transforms/WholeProgramDevirt/
H A Dexpand-check.ll25 %pair = call {i8*, i1} @llvm.type.checked.load(i8* %vtablei8, i32 0, metadata !"typeid")
27 ; CHECK: [[TT:%[^ ]*]] = call i1 @llvm.type.test(i8* [[VT:%[^,]*]], metadata !"typeid")
52 ; CHECK: [[TT2:%[^ ]*]] = call i1 @llvm.type.test(i8* [[VT2]], metadata !"typeid")
55 %pair = call {i8*, i1} @llvm.type.checked.load(i8* %vtablei8, i32 1, metadata !"typeid")
63 !0 = !{i32 0, !"typeid"}
H A Dvirtual-const-prop-begin.ll77 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
98 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
119 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
136 ; CHECK: [[T8]] = !{i32 8, !"typeid"}
137 ; CHECK: [[T5]] = !{i32 5, !"typeid"}
138 ; CHECK: [[T16]] = !{i32 16, !"typeid"}
139 ; CHECK: [[T0]] = !{i32 0, !"typeid"}
141 !0 = !{i32 0, !"typeid"}
H A Dstruct-vtable.ll19 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
34 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
49 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
63 !0 = !{i32 0, !"typeid"}
H A Ddevirt-single-impl-multiple-assumes.ll18 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
20 %p2 = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
33 !0 = !{i32 0, !"typeid"}
H A Dvirtual-const-prop-multiple-assumes.ll29 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
31 %p2 = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
43 !0 = !{i32 0, !"typeid"}
H A Duniform-retval-multiple-assumes.ll22 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
24 %p2 = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
38 !0 = !{i32 0, !"typeid"}
H A Dvirtual-const-prop-end.ll72 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
93 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
114 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
130 ; CHECK: [[T8]] = !{i32 8, !"typeid"}
131 ; CHECK: [[T0]] = !{i32 0, !"typeid"}
133 !0 = !{i32 0, !"typeid"}
134 !1 = !{i32 8, !"typeid"}
H A Dbad-read-from-vtable.ll18 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
50 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
66 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
80 !0 = !{i32 0, !"typeid"}
H A Dvcp-type-mismatch.ll28 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
43 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
58 %p = call i1 @llvm.type.test(i8* %vtablei8, metadata !"typeid")
71 !0 = !{i32 0, !"typeid"}
/llvm-project-15.0.7/llvm/test/Transforms/HotColdSplit/
H A Deh-typeid-for.ll3 ; Do not outline calls to @llvm.eh.typeid.for. See llvm.org/PR39545.
17 %t = call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*))
24 declare i32 @llvm.eh.typeid.for(i8*)
/llvm-project-15.0.7/clang/test/SemaObjCXX/
H A Darc-ppe.mm12 void test1() { (void)typeid(NP((void*)(id*)0)); }
16typeid(P((void*)(id*)0)); } // expected-error {{pointer to non-const type 'id'}} expected-warning …
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dtypeid-alias.ll12 define i32 @typeid() {
14 %eh_typeid = tail call i32 @llvm.eh.typeid.for( ptr @a)
18 declare i32 @llvm.eh.typeid.for(ptr)
H A Ddwarf-eh-prepare.ll31 %int_sel = call i32 @llvm.eh.typeid.for(ptr @int_typeinfo)
38 ; CHECK: call i32 @llvm.eh.typeid.for
69 %int_sel = call i32 @llvm.eh.typeid.for(ptr @int_typeinfo)
120 %int_sel = call i32 @llvm.eh.typeid.for(ptr @int_typeinfo)
150 ; CHECK: call i32 @llvm.eh.typeid.for
158 declare i32 @llvm.eh.typeid.for(ptr)
H A Dgcc_except_table_functions.ll11 declare i32 @llvm.eh.typeid.for(ptr)
27 %id0 = call i32 @llvm.eh.typeid.for(ptr @filt0)
32 %id1 = call i32 @llvm.eh.typeid.for(ptr @filt1)
/llvm-project-15.0.7/clang/test/SemaOpenCLCXX/
H A Drestricted.clcpp6 // Test that typeid is not available.
8 // Provide a dummy std::type_info so that we can use typeid.
13 __constant std::type_info int_ti = typeid(int);
14 // expected-error@-1 {{'typeid' is not supported in C++ for OpenCL}}
/llvm-project-15.0.7/llvm/test/Bindings/llvm-c/
H A Dinvoke.ll46 …%3 = tail call i32 @llvm.eh.typeid.for(ptr nonnull bitcast (ptr @C6object5Error__ClassInfo to ptr))
55 %5 = tail call i32 @llvm.eh.typeid.for(ptr nonnull @C6object9Exception__ClassInfo)
60 %7 = tail call i32 @llvm.eh.typeid.for(ptr nonnull @C6object9Throwable__ClassInfo)
77 declare i32 @llvm.eh.typeid.for(ptr) #1
/llvm-project-15.0.7/llvm/test/Assembler/
H A Dthinlto-summary.ll57 ^24 = typeid: (name: "_ZTS1C", summary: (typeTestRes: (kind: single, sizeM1BitWidth: 0)))
59 ^25 = typeid: (name: "_ZTS1B", summary: (typeTestRes: (kind: inline, sizeM1BitWidth: 0, alignLog2: …
62 ^26 = typeid: (name: "_ZTS1A", summary: (typeTestRes: (kind: allOnes, sizeM1BitWidth: 7), wpdResolu…
64 ^27 = typeid: (name: "_ZTS1D", summary: (typeTestRes: (kind: byteArray, sizeM1BitWidth: 0)))
65 ^28 = typeid: (name: "_ZTS1E", summary: (typeTestRes: (kind: unsat, sizeM1BitWidth: 0)))
94 ; CHECK: ^24 = typeid: (name: "_ZTS1C", summary: (typeTestRes: (kind: single, sizeM1BitWidth: 0))) …
95 ; CHECK: ^25 = typeid: (name: "_ZTS1B", summary: (typeTestRes: (kind: inline, sizeM1BitWidth: 0, al…
96 ; CHECK: ^26 = typeid: (name: "_ZTS1A", summary: (typeTestRes: (kind: allOnes, sizeM1BitWidth: 7), …
97 ; CHECK: ^27 = typeid: (name: "_ZTS1D", summary: (typeTestRes: (kind: byteArray, sizeM1BitWidth: 0)…
98 ; CHECK: ^28 = typeid: (name: "_ZTS1E", summary: (typeTestRes: (kind: unsat, sizeM1BitWidth: 0))) ;…
/llvm-project-15.0.7/llvm/test/CodeGen/Generic/
H A D2007-05-03-EHTypeInfo.ll8 …%eh_typeid = tail call i32 @llvm.eh.typeid.for( i8* getelementptr (%struct.exception, %struct.exce…
12 declare i32 @llvm.eh.typeid.for(i8*)
/llvm-project-15.0.7/llvm/test/CodeGen/SPARC/
H A Dexception.ll110 …%typeid = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* @…
111 %7 = icmp eq i32 %filter13, %typeid
115 …%typeid8 = tail call i32 @llvm.eh.typeid.for(i8* bitcast (%struct.__fundamental_type_info_pseudo* …
144 declare i32 @llvm.eh.typeid.for(i8*) #3
/llvm-project-15.0.7/llvm/test/Analysis/Lint/
H A Dcppeh-catch-intrinsics-clean.ll25 %1 = call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*))
60 %1 = call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*))
73 %l1.1 = call i32 @llvm.eh.typeid.for(i8* bitcast (i8** @_ZTIi to i8*))
106 declare i32 @llvm.eh.typeid.for(i8*)
/llvm-project-15.0.7/clang/test/PCH/
H A Dcxx_exprs.h44 typedef __typeof__(typeid(int))* typeid_result1;
45 typedef __typeof__(typeid(2))* typeid_result2;

123456