| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | stack-addr-ps.cpp | 27 int get_value(); 29 const int &get_reference1() { return get_value(); } // expected-warning{{Address of stack memory as… in get_reference1() 32 const int &x = get_value(); // expected-note {{binding reference variable 'x' here}} in get_reference2() 37 const int &x1 = get_value(); // expected-note {{binding reference variable 'x1' here}} in get_reference3() 61 const int &x1 = get_value(); // expected-note {{binding reference variable 'x1' here}} in f4()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Thumb/ |
| H A D | litpoolremat.ll | 5 declare i32 @get_value(...) #1 12 %1 = tail call i32 (...) @get_value() #2 13 %2 = tail call i32 (...) @get_value() #2 14 %3 = tail call i32 (...) @get_value() #2
|
| /llvm-project-15.0.7/libunwind/test/ |
| H A D | libunwind_01.pass.cpp | 127 unw_word_t get_value = 0; in test_reg_get_set() local 128 if (unw_get_reg(&cursor, i, &get_value) != UNW_ESUCCESS) in test_reg_get_set() 131 if (set_value != get_value) in test_reg_get_set() 149 unw_fpreg_t get_value = 0; in test_fpreg_get_set() local 150 if (unw_get_fpreg(&cursor, i, &get_value) != UNW_EBADREG) in test_fpreg_get_set()
|
| /llvm-project-15.0.7/openmp/runtime/src/ |
| H A D | kmp_utility.cpp | 154 #define get_value(reg, lo, mask) (((reg) >> (lo)) & (mask)) in __kmp_query_cpuid() macro 157 p->family = get_value(buf.eax, 20, 0xff) + get_value(buf.eax, 8, 0x0f); in __kmp_query_cpuid() 159 (get_value(buf.eax, 16, 0x0f) << 4) + get_value(buf.eax, 4, 0x0f); in __kmp_query_cpuid() 160 p->stepping = get_value(buf.eax, 0, 0x0f); in __kmp_query_cpuid() 162 #undef get_value in __kmp_query_cpuid()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/BPF/CORE/ |
| H A D | offset-reloc-ignore.ll | 6 ; int get_value(const int *arg); 8 ; return get_value(_(&arg[4])); 20 %call = tail call i32 @get_value(i32* %0) #4, !dbg !17 25 ; CHECK: call get_value 29 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-global-1.ll | 7 ; int get_value(const int *arg); 10 ; return get_value(_(&g.b)); 25 %call = tail call i32 @get_value(i32* %0) #3, !dbg !20 32 ; CHECK: call get_value 48 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | intrinsic-union.ll | 8 ; int get_value(const void *addr); 9 ; int test(union u *arg) { return get_value(_(&arg->b)); } 23 %call = tail call i32 @get_value(i8* %1) #4, !dbg !20 30 ; CHECK: call get_value 42 declare dso_local i32 @get_value(i8*) local_unnamed_addr #1
|
| H A D | intrinsic-struct.ll | 8 ; int get_value(const void *addr); 9 ; int test(struct s *arg) { return get_value(_(&arg->b)); } 23 %call = tail call i32 @get_value(i8* %1) #4, !dbg !20 31 ; CHECK: call get_value 43 declare dso_local i32 @get_value(i8*) local_unnamed_addr #1
|
| H A D | offset-reloc-pointer-1.ll | 7 ; int get_value(const int *arg); 9 ; return get_value(_(&arg[1])); 24 %call = tail call i32 @get_value(i32* %1) #4, !dbg !22 30 ; CHECK: call get_value 46 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-global-3.ll | 7 ; int get_value(const int *arg); 10 ; return get_value(_(&g->b)); 26 %call = tail call i32 @get_value(i32* %1) #3, !dbg !25 32 ; CHECK: call get_value 48 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-typedef-union.ll | 12 ; int get_value(const void *addr); 14 ; return get_value(_(&arg->b)); 28 %call = tail call i32 @get_value(i8* %1) #4, !dbg !24 36 ; CHECK: call get_value 51 declare dso_local i32 @get_value(i8*) local_unnamed_addr #1
|
| H A D | offset-reloc-typedef-array.ll | 12 ; int get_value(const void *addr); 14 ; return get_value(_(&arg->a[1])); 29 %call = tail call i32 @get_value(i8* %2) #4, !dbg !27 37 ; CHECK: call get_value 52 declare dso_local i32 @get_value(i8*) local_unnamed_addr #1
|
| H A D | offset-reloc-pointer-2.ll | 7 ; int get_value(const int *arg); 9 ; return get_value(_(&arg[1].b)); 24 %call = tail call i32 @get_value(i32* %1) #4, !dbg !22 30 ; CHECK: call get_value 45 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-typedef-struct.ll | 12 ; int get_value(const void *addr); 14 ; return get_value(_(&arg->b)); 28 %call = tail call i32 @get_value(i8* %1) #4, !dbg !24 36 ; CHECK: call get_value 51 declare dso_local i32 @get_value(i8*) local_unnamed_addr #1
|
| H A D | intrinsic-array.ll | 10 ; int get_value(const void *addr); 11 ; int test(struct s *arg) { return get_value(_(&arg[2].b)); } 26 %call = tail call i32 @get_value(i8* %2) #4, !dbg !20 33 ; CHECK: call get_value 45 declare dso_local i32 @get_value(i8*) local_unnamed_addr #1
|
| H A D | offset-reloc-global-2.ll | 7 ; int get_value(const int *arg); 10 ; return get_value(_(&g[1][2].b)); 27 %call = tail call i32 @get_value(i32* %2) #3, !dbg !27 34 ; CHECK: call get_value 51 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-cast-union-1.ll | 13 ; int get_value(const int *arg); 15 ; return get_value(_(&cast_to_v1(&arg->d)->b)); 34 %call = tail call i32 @get_value(i32* %b) #4, !dbg !36 42 ; CHECK: call get_value 64 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-multi-array-1.ll | 8 ; int get_value(const int *arg); 10 ; return get_value(_(&arg[1].b[2][3])); 27 %call = tail call i32 @get_value(i32* %3) #4, !dbg !28 33 ; CHECK: call get_value 49 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-multi-array-2.ll | 8 ; int get_value(const int *arg); 10 ; return get_value(_(&arg[1].b[2][3][2])); 28 %call = tail call i32 @get_value(i32* %4) #4, !dbg !30 34 ; CHECK: call get_value 50 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-cast-struct-1.ll | 10 ; int get_value(const int *arg); 12 ; return get_value(_(&cast_to_v1(&arg->d)->b)); 30 %call = tail call i32 @get_value(i32* %2) #4, !dbg !31 38 ; CHECK: call get_value 64 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-cast-struct-3.ll | 12 ; int get_value(const int *arg); 14 ; return get_value(_(&cast_to_v1(&arg->d[4])->b)); 32 %call = tail call i32 @get_value(i32* %3) #4, !dbg !33 40 ; CHECK: call get_value 63 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| H A D | offset-reloc-typedef.ll | 14 ; int get_value(const void *addr); 16 ; return get_value(_(&arg[1]->d.b)); 36 %call = tail call i32 @get_value(i8* %3) #4, !dbg !31 44 ; CHECK: call get_value 59 declare dso_local i32 @get_value(i8*) local_unnamed_addr #1
|
| H A D | offset-reloc-cast-struct-2.ll | 13 ; int get_value(const int *arg); 15 ; return get_value(_(&cast_to_v1(&arg->d)->b)); 33 %call = tail call i32 @get_value(i32* %2) #4, !dbg !36 41 ; CHECK: call get_value 64 declare dso_local i32 @get_value(i32*) local_unnamed_addr #1
|
| /llvm-project-15.0.7/libcxx/test/support/ |
| H A D | test_transparent_unordered.h | 28 return static_cast<std::size_t>(t.get_value()); in operator() 33 return static_cast<std::size_t>(t.get_value()); in operator() 58 int get_value() const { in get_value() function 82 return lhs.value_ == rhs.get_value(); 85 int get_value() const { in get_value() function
|
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | warn-thread-safety-analysis.c | 71 int get_value(int *p) SHARED_LOCKS_REQUIRED(foo_.mu_){ in get_value() function 105 …get_value(b_); // expected-warning{{calling function 'get_value' requires holding mutex 'foo_.mu_'… in main() 110 (void)(get_value(b_) == 1); in main()
|