Home
last modified time | relevance | path

Searched refs:gi (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/clang/test/CodeGen/
H A Dalloc-size.c12 int gi; variable
30 gi = OBJECT_SIZE_BUILTIN(vp, 0); in test1()
32 gi = OBJECT_SIZE_BUILTIN(vp, 1); in test1()
34 gi = OBJECT_SIZE_BUILTIN(vp, 2); in test1()
36 gi = OBJECT_SIZE_BUILTIN(vp, 3); in test1()
40 gi = OBJECT_SIZE_BUILTIN(arr, 0); in test1()
42 gi = OBJECT_SIZE_BUILTIN(arr, 1); in test1()
44 gi = OBJECT_SIZE_BUILTIN(arr, 2); in test1()
46 gi = OBJECT_SIZE_BUILTIN(arr, 3); in test1()
86 void *const vp = my_malloc(gi); in test2()
[all …]
H A Dobject-size.c21 int gi, gj; variable
77 strcpy(buf[++gi], "Hi there"); in test8()
140 gi = OBJECT_SIZE_BUILTIN(gp++, 0); in test17()
265 gi = OBJECT_SIZE_BUILTIN(p, 0); in test23()
267 gi = OBJECT_SIZE_BUILTIN(p, 1); in test23()
269 gi = OBJECT_SIZE_BUILTIN(p, 2); in test23()
273 gi = OBJECT_SIZE_BUILTIN(p, 3); in test23()
353 gi = OBJECT_SIZE_BUILTIN(t, 0); in test27()
355 gi = OBJECT_SIZE_BUILTIN(t, 1); in test27()
357 gi = OBJECT_SIZE_BUILTIN(t, 2); in test27()
[all …]
H A Dpass-object-size.c12 int gi = 0; variable
69 gi = ObjectSize0(&t[1]); in test1()
71 gi = ObjectSize1(&t[1]); in test1()
73 gi = ObjectSize2(&t[1]); in test1()
75 gi = ObjectSize3(&t[1]); in test1()
78 gi = ObjectSize0(&t[1].t[1]); in test1()
80 gi = ObjectSize1(&t[1].t[1]); in test1()
106 gi = ObjectSize1(&t->t[1]); in test2()
108 gi = ObjectSize3(&t->t[1]); in test2()
242 gi = f(&t[1]); in test5()
[all …]
H A Dobject-size.cpp5 int gi; variable
18 gi = __builtin_object_size(&c, 0); in test1()
20 gi = __builtin_object_size((A*)&c, 0); in test1()
22 gi = __builtin_object_size((B*)&c, 0); in test1()
25 gi = __builtin_object_size((char*)&c, 0); in test1()
27 gi = __builtin_object_size((char*)(A*)&c, 0); in test1()
29 gi = __builtin_object_size((char*)(B*)&c, 0); in test1()
39 gi = __builtin_object_size(&c->bs[0], 0); in test2()
41 gi = __builtin_object_size(&c->bs[0], 1); in test2()
43 gi = __builtin_object_size(&c->bs[0], 2); in test2()
[all …]
H A Dalloc-size-fnptr.c7 int gi; variable
/llvm-project-15.0.7/clang/test/CodeGen/SystemZ/
H A Dsystemz-inline-asm.c3 unsigned int gi; variable
7 asm("st %1, %0" : "=m" (gi) : "r" (i)); in test_store_m()
13 asm("st %1, %0" : "=Q" (gi) : "r" (i)); in test_store_Q()
19 asm("st %1, %0" : "=R" (gi) : "r" (i)); in test_store_R()
25 asm("st %1, %0" : "=S" (gi) : "r" (i)); in test_store_S()
31 asm("st %1, %0" : "=T" (gi) : "r" (i)); in test_store_T()
38 asm("l %0, %1" : "=r" (i) : "m" (gi)); in test_load_m()
46 asm("l %0, %1" : "=r" (i) : "Q" (gi)); in test_load_Q()
54 asm("l %0, %1" : "=r" (i) : "R" (gi)); in test_load_R()
62 asm("l %0, %1" : "=r" (i) : "S" (gi)); in test_load_S()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Dmcm-3.ll10 @gi = dso_local global i32 5, align 4
14 %0 = load i32, i32* @gi, align 4
16 store i32 %inc, i32* @gi, align 4
40 ; LARGE: .type gi,@object
42 ; LARGE-NEXT: .globl gi
44 ; LARGE-NEXT: gi:
49 ; LARGE-NEXT: .tc gi[TC],gi
H A Dmcm-1.ll14 @gi = global i32 0, align 4, comdat($fi)
26 %0 = load i32, i32* @gi, align 4
45 ; CHECK-NEXT: .tc gi[TC],gi
H A Dmcm-obj-2.ll28 @gi = dso_local global i32 5, align 4
32 %0 = load i32, i32* @gi, align 4
34 store i32 %inc, i32* @gi, align 4
39 ; accessing file-scope variable gi.
H A Dmcm-11.ll9 @gi = dso_local global i32 5, align 4
13 %0 = load i32, i32* @gi, align 4
15 store i32 %inc, i32* @gi, align 4
H A Dmcm-obj.ll62 @gi = dso_local global i32 5, align 4
66 %0 = load i32, i32* @gi, align 4
68 store i32 %inc, i32* @gi, align 4
73 ; accessing file-scope variable gi.
75 ; MEDIUM-NEXT: 0x{{[0-9,A-F]+}} R_PPC64_TOC16_HA gi 0x0
76 ; MEDIUM-NEXT: 0x{{[0-9,A-F]+}} R_PPC64_TOC16_LO gi 0x0
79 ; accessing file-scope variable gi.
/llvm-project-15.0.7/libcxx/test/std/language.support/support.dynamic/ptr.launder/
H A Dlaunder.pass.cpp20 constexpr int gi = 5; variable
24 static_assert(std::launder(&gi) == &gi, "" ); in main()
27 const int *i = &gi; in main()
/llvm-project-15.0.7/llvm/test/CodeGen/CSKY/
H A Dinline-asm.ll5 @gi = external global i32
23 ; CSKY-NEXT: .long gi
24 %1 = load i32, i32* @gi
68 ; CSKY-NEXT: .long gi
69 %1 = load i32, i32* @gi
89 ; CSKY-NEXT: .long gi
90 %1 = load i32, i32* @gi
111 ; CSKY-NEXT: .long gi
112 %1 = load i32, i32* @gi
132 ; CSKY-NEXT: .long gi
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dpass-object-size.cpp3 int gi; variable
18 gi = L1(ptr); in Lambdas()
20 gi = L2(ptr); in Lambdas()
H A Ddebug-info-template-explicit-specialization.cpp85 g<int> gi; variable
/llvm-project-15.0.7/llvm/test/Analysis/TypeBasedAliasAnalysis/
H A Dcyclic.ll4 define void @test6(i32* %gi) #0 {
6 store i32 42, i32* %gi, align 4, !tbaa !0
13 store i32 undef, i32* %gi, align 4, !tbaa !2
/llvm-project-15.0.7/llvm/test/CodeGen/RISCV/
H A Dinline-asm.ll7 @gi = external global i32
12 ; RV32I-NEXT: lui a1, %hi(gi)
13 ; RV32I-NEXT: lw a1, %lo(gi)(a1)
21 ; RV64I-NEXT: lui a1, %hi(gi)
22 ; RV64I-NEXT: lw a1, %lo(gi)(a1)
27 %1 = load i32, i32* @gi
46 %1 = load i32, i32* @gi
254 ; RV32I-NEXT: .8byte gi
261 ; RV64I-NEXT: .8byte gi
264 tail call void asm sideeffect ".8byte $0", "i"(i32* @gi)
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A D2007-10-12-SpillerUnfold1.ll39 %gi.1 = getelementptr float, ptr %fz, i32 0 ; <ptr> [#uses=2]
40 %tmp240 = load float, ptr %gi.1, align 4 ; <float> [#uses=1]
70 store float %tmp369, ptr %gi.1, align 4
/llvm-project-15.0.7/clang/test/CodeGenOpenCLCXX/
H A Daddrspace-constructors.clcpp8 // CHECK: @gi ={{.*}} addrspace(1) global i32 0
10 __global int gi = 0;
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dstore.ll162 define void @test6(i32 %n, float* %a, i32* %gi) nounwind uwtable ssp {
182 store i32 42, i32* %gi, align 4, !tbaa !0
187 %0 = load i32, i32* %gi, align 4, !tbaa !0
195 %1 = load i32, i32* %gi, align 4, !tbaa !0
197 store i32 %inc, i32* %gi, align 4, !tbaa !0
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-flag-enum.c23 gi = ~0x11, // expected-warning {{enumeration value 'gi' is out of range}} enumerator
/llvm-project-15.0.7/llvm/test/Other/
H A Dforce-opaque-ptrs.ll23 ; CHECK: @gi = ifunc i20 (), ptr @f
24 @gi = ifunc i20 (), i20 ()* ()* bitcast (void (i32*)* @f to i20 ()* ()*)
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Datomic-ops-libcall.cl21 void f(atomic_int *i, global atomic_int *gi, local atomic_int *li, private atomic_int *pi, atomic_u…
34 __opencl_atomic_store(gi, 1, memory_order_seq_cst, memory_scope_work_group);
/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dclass.cpp115 mutable int gi; // expected-error {{'mutable' can only be applied to member variables}} variable
/llvm-project-15.0.7/llvm/test/Feature/
H A Dvector-cast-constant-exprs.ll23 define <2 x i32> @gi() {

12