Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 3368) sorted by relevance

12345678910>>...135

/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dtrivial-auto-var-init.cpp20 used(self); in test_selfinit()
30 used(block); in test_block()
91 used(oops); in test_goto_unreachable_value()
114 used(oops); in test_goto()
173 used(ptr); in test_vla()
187 used(ptr); in test_alloca()
201 used(ptr); in test_alloca_with_align()
215 used(ptr); in test_alloca_uninitialized()
229 used(ptr); in test_alloca_with_align_uninitialized()
260 used(ptr); in test_struct_vla()
[all …]
H A Dvisibility-inlines-hidden-static-local-var.cpp3 #define used __attribute__((used)) macro
5 used inline void f1() { in f1()
11 used inline void f2() { in f2()
17 used void f3() { in f3()
26 used void f4() { in f4()
32 used void f5() { in f5()
37 used void S::f6() { in f6()
42 used inline void S::f7() { in f7()
49 used void f8() { in f8()
H A Dextern-c.cpp62 __attribute__((used)) static int internal_var;
63 __attribute__((used)) static int internal_fn() { return 0; } in internal_fn()
65 __attribute__((used)) static int duplicate_internal_var;
66 __attribute__((used)) static int duplicate_internal_fn() { return 0; } in duplicate_internal_fn()
69 __attribute__((used)) static int duplicate_internal_var;
70 __attribute__((used)) static int duplicate_internal_fn() { return 0; } in duplicate_internal_fn()
H A Dattr-retain.cpp14 __attribute__((used, retain)) X0() {} in X0()
16 __attribute__((used, retain)) ~X0() {} in ~X0()
24 void __attribute__((used, retain)) f1() {} in f1()
31 void bar() { void func() __attribute__((used, retain)); } in bar()
38 void __attribute__((used, retain)) f() {} in f()
H A Dattr-used.cpp6 __attribute__((used)) X0() {} in X0()
8 __attribute__((used)) ~X0() {} in ~X0()
15 void __attribute__((used)) f() {} in f()
22 void __attribute__((used)) bar() { foo(); } in bar()
/llvm-project-15.0.7/polly/lib/External/isl/imath/examples/
H A Dimcalc.c493 sp->used = 0; in state_init()
515 sp->used = 0; in state_clear()
555 sp->used = 0; in stack_flush()
575 sp->elts[sp->used++] = elt; in stack_push()
584 sp->used -= 1; in stack_pop()
586 sp->elts[sp->used] = NULL; in stack_pop()
926 if (sp->used == 0) { in cf_pstack()
993 sp->elts[sp->used - 1] = sp->elts[sp->used - 2]; in cf_swap()
994 sp->elts[sp->used - 2] = t; in cf_swap()
1002 sp->elts[sp->used - 3] = sp->elts[sp->used - 2]; in cf_rot()
[all …]
/llvm-project-15.0.7/clang/test/Sema/
H A Dattr-used.c3 extern int l0 __attribute__((used)); // expected-warning {{'used' attribute ignored on a non-defini…
4 __private_extern__ int l1 __attribute__((used)); // expected-warning {{'used' attribute ignored on …
6 struct __attribute__((used)) s { // expected-warning {{'used' attribute only applies to variables w…
10 int a __attribute__((used));
12 static void __attribute__((used)) f0(void) { in f0()
16 static int a __attribute__((used)); in f1()
17 …int b __attribute__((used)); // expected-warning {{'used' attribute only applies to variables with… in f1()
20 static void __attribute__((used)) f0(void);
/llvm-project-15.0.7/polly/lib/External/isl/
H A Disl_test_imath.c41 assert(val.alloc >= val.used); in test_imath_internals()
42 assert(val.used == 1); in test_imath_internals()
48 assert(val.alloc >= val.used); in test_imath_internals()
49 assert(val.used == 1); in test_imath_internals()
55 assert(val.alloc >= val.used); in test_imath_internals()
56 assert(val.used == 1); in test_imath_internals()
62 assert(val.alloc >= val.used); in test_imath_internals()
63 assert(val.used == 2); in test_imath_internals()
/llvm-project-15.0.7/llvm/test/CodeGen/PowerPC/
H A Daix-xcoff-used.ll1 ;; This test verifies llc on AIX would not crash when llvm.used and
2 ;; llvm.compiler.used is presented in the IR.
12 @llvm.used = appending global [1 x i8*] [i8* bitcast (i32* @keep_this to i8*)], section "llvm.metad…
13 @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (i32* @keep_this2 to i8*)], section "…
16 ; CHECK-NOT: llvm.used
17 ; CHECK-NOT: llvm.compiler.used
25 ; CHECK-NOT: llvm.used
26 ; CHECK-NOT: llvm.compiler.used
H A Dfast-isel-load-store-vsx.ll3 ;; The semantics of VSX stores for when R0 is used is different depending on
4 ;; whether it is used as base or offset. If used as base, the effective
5 ;; address computation will use zero regardless of the content of R0. If used as
6 ;; an offset the content will be used in the effective address. We observed that
8 ;; an offset register being specified which was causing R0 to be used as offset
10 ;; verifies that R0 is used as base in these situations.
/llvm-project-15.0.7/clang/test/FixIt/
H A Dformat-darwin.m39 …printf("%s", getNSInteger()); // expected-warning{{values of type 'NSInteger' should not be used a…
41 …printf("%s", getSInt32()); // expected-warning{{values of type 'SInt32' should not be used as form…
61 …printf("%s", getCFIndex()); // expected-warning{{values of type 'CFIndex' should not be used as fo…
86 …printf("%s", arr[0]); // expected-warning{{values of type 'NSInteger' should not be used as forma…
88 …printf("%s", i); // expected-warning{{values of type 'NSInteger' should not be used as format arg…
94 …printf("%s", *arr); // expected-warning{{values of type 'NSInteger' should not be used as format …
98 …printf("%s", i ? i : i); // expected-warning{{values of type 'NSInteger' should not be used as for…
111 …printf("%ld", getSInt32()); // expected-warning{{values of type 'SInt32' should not be used as for…
151 …printf("%u", i); // expected-warning{{values of type 'NSInteger' should not be used as format argu…
218 …printf("%s", (SInt32)0); // expected-warning{{values of type 'SInt32' should not be used as format…
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/GlobalISel/
H A Darm-unsupported.ll12 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_int_vectors
19 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_float_vectors
26 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_i64
33 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_i64_arr
39 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_i128
46 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_funny_ints
53 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_half
62 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_ret_demotion
82 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_mixed_struct
102 ; CHECK-LABEL: warning: Instruction selection used fallback path for test_thumb
[all …]
/llvm-project-15.0.7/clang/test/Preprocessor/
H A Dsearch-path-usage.m3 // Check that search paths used by `#include` and `#include_next` are reported.
14 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/a'}} \
17 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/d'}}
28 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/FwA'}}
39 // expected-remark-re {{search path used: '{{.*}}/search-path-usage/b'}}
51 // expected-remark {{search path used: '/d'}}
54 // Check that search paths used by `__has_include()` are reported.
68 // Check that search paths used by `#import` are reported.
90 // expected-remark-re {{search path used: '{{.*}}/b.hmap'}}
115 // expected-remark-re {{search path used: '{{.*}}/b-missing.hmap'}} \
[all …]
/llvm-project-15.0.7/openmp/runtime/src/
H A Dkmp_str.cpp73 if (buffer->used > 0) { in __kmp_str_buf_clear()
74 buffer->used = 0; in __kmp_str_buf_clear()
130 buffer->used = 0; in __kmp_str_buf_free()
142 __kmp_type_convert(buffer->used + len, &(buffer->used)); in __kmp_str_buf_cat()
151 if (!src->str || !src->used) in __kmp_str_buf_catbuf()
153 __kmp_str_buf_reserve(dest, dest->used + src->used + 1); in __kmp_str_buf_catbuf()
154 KMP_MEMCPY(dest->str + dest->used, src->str, src->used); in __kmp_str_buf_catbuf()
155 dest->str[dest->used + src->used] = 0; in __kmp_str_buf_catbuf()
156 dest->used += src->used; in __kmp_str_buf_catbuf()
196 buffer->used += rc; in __kmp_str_buf_vprint()
[all …]
/llvm-project-15.0.7/llvm/test/Transforms/ThinLTOBitcodeWriter/
H A Dsymver.ll9 module asm ".symver used, used@VER"
13 declare !type !0 void @used()
18 call void @used()
23 ; CHECK: ![[SYMVER]] = !{!"used", !"used@VER"}
H A Dsplit-used.ll1 ; Test to ensure that @llvm[.compiler].used is cloned to the split module for
22 ; M0: @llvm.used = appending global [2 x i8*] [i8* @g1, i8* @g3]
23 ; M0: @llvm.compiler.used = appending global [2 x i8*] [i8* @g2, i8* @g4]
24 ; M1: @llvm.used = appending global [1 x i8*] [i8* @g1]
25 ; M1: @llvm.compiler.used = appending global [1 x i8*] [i8* @g2]
26 @llvm.used = appending global [2 x i8*] [ i8* @g1, i8* @g3]
27 @llvm.compiler.used = appending global [2 x i8*] [ i8* @g2, i8* @g4]
/llvm-project-15.0.7/llvm/test/Transforms/GlobalOpt/
H A Dcompiler-used.ll3 ; Test that when all members of llvm.compiler.used are found to be redundant
10 @llvm.used = appending global [1 x i8*] [i8* bitcast (void ()* @foo to i8*)], section "llvm.metadat…
12 @llvm.compiler.used = appending global [1 x i8*] [i8* bitcast (void ()* @foo to i8*)], section "llv…
14 ; CHECK-NOT: @llvm.compiler.used
15 ; CHECK: @llvm.used = appending global [1 x i8*] [i8* bitcast (void ()* @foo to i8*)], section "llv…
16 ; CHECK-NOT: @llvm.compiler.used
/llvm-project-15.0.7/llvm/test/MC/Mips/
H A Dset-at-directive-explicit-at.s12 # WARNINGS: :[[@LINE+2]]:11: warning: used $at (currently $1) without ".set noat"
17 # WARNINGS: :[[@LINE+2]]:11: warning: used $at (currently $1) without ".set noat"
22 # WARNINGS: :[[@LINE+2]]:11: warning: used $at (currently $1) without ".set noat"
27 # WARNINGS: :[[@LINE+2]]:11: warning: used $at (currently $1) without ".set noat"
31 # WARNINGS-NOT: warning: used $at (currently ${{[0-9]+}}) without ".set noat"
46 # WARNINGS: :[[@LINE+2]]:11: warning: used $at (currently $16) without ".set noat"
51 # WARNINGS: :[[@LINE+2]]:11: warning: used $at (currently $16) without ".set noat"
/llvm-project-15.0.7/clang/test/ARCMT/
H A Dcheck-api.m23 …_id]; // expected-error {{NSInvocation's getReturnValue is not safe to be used with an object with…
24 …_id]; // expected-error {{NSInvocation's getReturnValue is not safe to be used with an object with…
28 …_id]; // expected-error {{NSInvocation's setReturnValue is not safe to be used with an object with…
29 …_id]; // expected-error {{NSInvocation's setReturnValue is not safe to be used with an object with…
33 …ndex:0]; // expected-error {{NSInvocation's getArgument is not safe to be used with an object with…
34 …ndex:0]; // expected-error {{NSInvocation's getArgument is not safe to be used with an object with…
38 …ndex:0]; // expected-error {{NSInvocation's setArgument is not safe to be used with an object with…
39 …ndex:0]; // expected-error {{NSInvocation's setArgument is not safe to be used with an object with…
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dattr-used.c11 int g0 __attribute__((used));
13 static void __attribute__((used)) f0(void) { in f0()
17 static int l0 __attribute__((used)) = 5225; in f1()
20 __attribute__((used)) int a0;
H A Dclang-sections-attribute.c19 static void int_fun(void) __attribute__((section(".int_fun_attr"), used));
23 static void int_fun2(void) __attribute__((section(".int_fun2_attr"), used));
35 __attribute__((section(".int_const_attr"), used))
46 __attribute__((section(".int_var_attr"), used))
57 __attribute__((section(".int_zvar_attr"), used))
/llvm-project-15.0.7/llvm/test/tools/llvm-mca/X86/
H A Dscheduler-queue-usage.s36 # BDVER2-NEXT: [2] Average number of used buffer entries.
37 # BDVER2-NEXT: [3] Maximum number of used buffer entries.
48 # BTVER2-NEXT: [2] Average number of used buffer entries.
49 # BTVER2-NEXT: [3] Maximum number of used buffer entries.
60 # ICX-NEXT: [2] Average number of used buffer entries.
61 # ICX-NEXT: [3] Maximum number of used buffer entries.
72 # KNL-NEXT: [2] Average number of used buffer entries.
73 # KNL-NEXT: [3] Maximum number of used buffer entries.
84 # SKX-AVX512-NEXT: [2] Average number of used buffer entries.
85 # SKX-AVX512-NEXT: [3] Maximum number of used buffer entries.
[all …]
/llvm-project-15.0.7/clang/test/SemaObjC/
H A Dboxing-illegal.m33 id boxed = @(p); // expected-error {{illegal type 'point' used in a boxed expression}}
38 …id boxed_null = @(null); // expected-error {{illegal type 'void *' used in a boxed expressi…
40 …id boxed_numbers = @(numbers); // expected-error {{illegal type 'int *' used in a boxed expressio…
57 …box = @(*(enum ForwE*)p); // expected-error {{incomplete type 'enum ForwE' used in a boxed express…
67 s = @(u"abc"); // expected-error {{illegal type 'unsigned short *' used in a boxed expression}}
68 s = @(U"abc"); // expected-error {{illegal type 'unsigned int *' used in a boxed expression}}
69 s = @(L"abc"); // expected-error-re {{illegal type {{.*}} used in a boxed expression}}
70 s = @("\pabc"); // expected-error {{illegal type 'unsigned char *' used in a boxed expression}}
/llvm-project-15.0.7/llvm/test/Linker/
H A Donly-needed-used.ll1 ; RUN: llvm-link -S %s %p/Inputs/only-needed-used.ll | FileCheck %s
2 ; RUN: llvm-link -S -internalize %s %p/Inputs/only-needed-used.ll | FileCheck %s
3 ; RUN: llvm-link -S -only-needed %s %p/Inputs/only-needed-used.ll | FileCheck %s
4 ; RUN: llvm-link -S -only-needed -internalize %s %p/Inputs/only-needed-used.ll | FileCheck %s
9 ; CHECK-DAG: @llvm.used = appending global [2 x i8*] [i8* @used1, i8* bitcast (i32* @used2…
/llvm-project-15.0.7/lld/test/COFF/
H A Dgc-dwarf.s15 # MAP: {{ used$}}
25 callq used
29 .def used; .scl 2; .type 32; .endef
30 .section .text,"xr",one_only,used
31 .globl used
32 used: label

12345678910>>...135