Home
last modified time | relevance | path

Searched refs:struct2 (Results 1 – 25 of 27) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/Transforms/MergeFunc/
H A Dgep-base-type.ll8 %"struct2" = type { i8*, { i64, i64 } }
10 define internal %struct2* @Ffunc(%struct2* %P, i64 %i) {
19 %1 = getelementptr inbounds %"struct2", %"struct2"* %P, i64 %i
20 %2 = getelementptr inbounds %"struct2", %"struct2"* %P, i64 %i
21 %3 = getelementptr inbounds %"struct2", %"struct2"* %P, i64 %i
22 %4 = getelementptr inbounds %"struct2", %"struct2"* %P, i64 %i
23 %5 = getelementptr inbounds %"struct2", %"struct2"* %P, i64 %i
24 %6 = getelementptr inbounds %"struct2", %"struct2"* %P, i64 %i
25 ret %struct2* %6
/llvm-project-15.0.7/llvm/test/CodeGen/Thumb/
H A Dstm-deprecated.ll7 %struct2 = type { i32, i32, i32* }
13 declare void @fn2(%struct2*)
34 define i32 @test2(i32 %a, i32 %b, %struct2* %p) {
36 %p1 = getelementptr inbounds %struct2, %struct2* %p, i32 0, i32 0
37 %p2 = getelementptr inbounds %struct2, %struct2* %p, i32 0, i32 1
38 %p3 = getelementptr inbounds %struct2, %struct2* %p, i32 0, i32 2
54 %p1 = getelementptr inbounds %struct2, %struct2* %p, i32 0, i32 0
55 %p2 = getelementptr inbounds %struct2, %struct2* %p, i32 0, i32 1
56 %p3 = getelementptr inbounds %struct2, %struct2* %p, i32 0, i32 2
60 %p4 = getelementptr inbounds %struct2, %struct2* %p, i32 1
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dgepphigep.ll7 %struct4 = type { %struct2, %struct2 }
13 ; CHECK-NEXT: [[TMP1:%.*]] = load %struct2*, %struct2** [[TMP]], align 8
31 %tmp1 = load %struct2*, %struct2** %tmp, align 8
35 %tmp10 = getelementptr inbounds %struct2, %struct2* %tmp1, i64 %tmp9
36 %tmp11 = getelementptr inbounds %struct2, %struct2* %tmp10, i64 0, i32 0
41 %tmp20 = getelementptr inbounds %struct2, %struct2* %tmp1, i64 %tmp19
42 %tmp21 = getelementptr inbounds %struct2, %struct2* %tmp20, i64 0, i32 0
48 %tmp24 = getelementptr inbounds %struct2, %struct2* %phi, i64 0, i32 1
68 %tmp1 = load %struct2*, %struct2** %tmp, align 8
69 %tmp10 = getelementptr inbounds %struct2, %struct2* %tmp1, i64 %tmp9
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/MemCpyOpt/
H A D2011-06-02-CallSlotOverwritten.ll11 %struct2 = type { %struct1, i8* }
20 ; CHECK-NEXT: [[GEPN1:%.*]] = getelementptr inbounds [[STRUCT2]], %struct2* [[Y]], i32 0, i32 0,…
22 ; CHECK-NEXT: [[GEPN2:%.*]] = getelementptr inbounds [[STRUCT2]], %struct2* [[Y]], i32 0, i32 0,…
25 ; CHECK-NEXT: [[BIT2:%.*]] = bitcast %struct2* [[Y]] to i64*
28 ; CHECK-NEXT: [[GEP1:%.*]] = getelementptr [[STRUCT2]], %struct2* [[Y]], i32 0, i32 0, i32 0
33 %y = alloca %struct2, align 8
36 %gepn1 = getelementptr inbounds %struct2, %struct2* %y, i32 0, i32 0, i32 0
38 %gepn2 = getelementptr inbounds %struct2, %struct2* %y, i32 0, i32 0, i32 1
42 %bit2 = bitcast %struct2* %y to i64*
47 %gep1 = getelementptr %struct2, %struct2* %y, i32 0, i32 0, i32 0
/llvm-project-15.0.7/lldb/test/Shell/Breakpoint/
H A Dsplit-dwarf5-debug-stroffsets.test25 # struct struct2 {
26 # ~struct2();
51 # struct2::f();
54 # struct2 s2;
66 # struct2::~struct2() {
70 # void struct2::f() {}
82 b struct2::f
83 # CHECK-LABEL: b struct2::f
84 # CHECK: Address: {{.*}}struct2::f() + 4 at file2.cpp:7:20
/llvm-project-15.0.7/llvm/test/Linker/
H A D2004-05-07-TypeResolution2.ll6 %struct1 = type { i32, void (%struct2*)*, i16*, i32 (i32*)* }
7 %struct2 = type { %struct1 }
11 %tmp.2.i.i = getelementptr %struct1, %struct1* %tty, i64 0, i32 1 ; <void (%struct2*)**> [#uses=1]
12 …%tmp.3.i.i = load volatile void (%struct2*)*, void (%struct2*)** %tmp.2.i.i ; <void (%struct2*)*>…
H A D2004-05-07-TypeResolution1.ll7 %struct1 = type { i32, void (%struct2*)*, %myint*, i32 (i32*)* }
8 %struct2 = type { %struct1 }
29 declare void @func(%struct2*)
33 …store volatile void (%struct2*)* @func, void (%struct2*)** getelementptr (%struct1, %struct1* @dri…
/llvm-project-15.0.7/lldb/test/API/python_api/symbol-context/two-files/
H A Dfile2.cpp3 struct2::~struct2() { in ~struct2()
7 void struct2::f() {} in f()
H A Ddecls.h6 struct struct2 { struct
7 ~struct2();
H A Dfile1.cpp15 struct2::f(); in main()
18 struct2 s2; in main()
/llvm-project-15.0.7/llvm/test/Transforms/GVNSink/
H A Dstruct.ll5 %struct2 = type { [ 2 x i32], i32 }
39 %tmp = getelementptr inbounds %struct2, %struct2* null, i64 0, i32 0, i32 1
43 %tmp3 = getelementptr inbounds %struct2, %struct2* null, i64 0, i32 0, i32 0
/llvm-project-15.0.7/llvm/test/CodeGen/AArch64/
H A Dstatepoint-call-lowering.ll200 %struct2 = type { i64, i64, i64 }
202 declare void @consume_attributes(i32, i8* nest, i32, %struct2* byval(%struct2))
204 define void @test_attributes(%struct2* byval(%struct2) %s) gc "statepoint-example" {
226struct2*)*, i32, i32, ...) @llvm.experimental.gc.statepoint.p0f_isVoidi32p0i8i32p0s_struct2sf(i64 …
247 …epoint.p0f_isVoidi32p0i8i32p0s_struct2sf(i64, i32, void (i32, i8*, i32, %struct2*)*, i32, i32, ...)
H A Daarch64-gep-opt.ll139 %struct2 = type { %struct3, i32 }
140 %struct1 = type { i64, %struct2 }
147 define %struct2* @test-struct_2(%struct0* %ptr, i64 %idx) {
151 ret %struct2* %ptr2
/llvm-project-15.0.7/llvm/test/Transforms/SeparateConstOffsetFromGEP/NVPTX/
H A Dsplit-gep.ll260 %struct2 = type { %struct3, i32 }
261 %struct1 = type { i64, %struct2 }
263 define %struct2* @sign_mod_unsign(%struct0* %ptr, i64 %idx) {
270 ; CHECK: getelementptr inbounds %struct2, %struct2* [[PTR]], i64 -3
271 ret %struct2* %ptr2
276 define %struct2* @trunk_explicit(%struct0* %ptr, i64 %idx) {
283 ; CHECK: getelementptr inbounds %struct2, %struct2* %0, i64 151
284 ret %struct2* %ptr2
291 define %struct2* @trunk_long_idx(%struct0* %ptr, i64 %idx) {
297 ; CHECK: getelementptr inbounds %struct2, %struct2* %0, i64 151
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dopaque-constant-asm.ll5 %struct2 = type <{ i32, i32, i32, i32 }>
11 …call void asm sideeffect "#ASM $0", "n"(i32 ptrtoint (ptr getelementptr inbounds (%struct2, ptr ge…
H A Dselectiondag-patchpoint-legalize.ll115 %struct2 = type {i1, i1, i1}
126 %structreg2 = insertvalue %struct2 zeroinitializer, i1 %i1reg, 0
151 %struct2 zeroinitializer,
152 %struct2 %structreg2)
H A Dselectiondag-stackmap-legalize.ll115 %struct2 = type {i1, i1, i1}
126 %structreg2 = insertvalue %struct2 zeroinitializer, i1 %i1reg, 0
149 %struct2 zeroinitializer,
150 %struct2 %structreg2)
H A Dstatepoint-call-lowering.ll206 %struct2 = type { i64, i64, i64 }
208 declare void @consume_attributes(i32, ptr nest, i32, ptr byval(%struct2))
210 define void @test_attributes(ptr byval(%struct2) %s) gc "statepoint-example" {
239 …sume_attributes, i32 4, i32 0, i32 42, ptr nest null, i32 17, ptr byval(%struct2) %s, i32 0, i32 0)
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dtls_get_addr_stackframe.ll6 %struct1.2.41 = type { %struct2.0.39, %struct3.1.40, %struct1.2.41* }
7 %struct2.0.39 = type { i64, i32, i32, i32, i32 }
H A Dppc64-gep-opt.ll98 %struct2 = type { %struct3, i32 }
99 %struct1 = type { i64, %struct2 }
106 define %struct2* @test-struct_2(%struct0* %ptr, i64 %idx) {
110 ret %struct2* %ptr2
/llvm-project-15.0.7/llvm/test/Transforms/SCCP/
H A Dconstant-range-struct.ll68 define internal {i64, i64} @struct2() {
69 ; CHECK-LABEL: @struct2(
102 ; CHECK-NEXT: [[S:%.*]] = call { i64, i64 } @struct2()
123 %s = call {i64, i64} @struct2()
H A Dconstant-struct.ll13 define internal {i64, i64} @struct2() {
18 ; CHECK: define internal { i64, i64 } @struct2() {
/llvm-project-15.0.7/llvm/test/Analysis/BasicAA/
H A Dstruct-geps.ll200 %struct2 = type { [1 x { i32, i32 }], [2 x { i32 }] }
204 define void @test_struct_in_array(%struct2* %st, i64 %i, i64 %j, i64 %k) {
205 %x = getelementptr inbounds %struct2, %struct2* %st, i32 0, i32 1, i32 1, i32 0
206 %y = getelementptr inbounds %struct2, %struct2* %st, i32 0, i32 0, i32 1, i32 1
/llvm-project-15.0.7/lldb/test/API/tools/lldb-vscode/evaluate/
H A Dmain.cpp20 my_struct *struct2 = new my_struct{16}; in main() local
/llvm-project-15.0.7/clang/test/SemaSYCL/
H A Dspecial-class-attribute.cpp24 struct __attribute__((sycl_special_class)) struct2 { struct

12