/llvm-project/clang/test/SemaCXX/ |
H A D | ms-constexpr.cpp | 7 [[msvc::constexpr]] int get_value(int x) in get_value() function 19 …:constexpr]] return get_value(get_value(42) - 1337 + get_value(-32) - 5 + (get_value(1) ? get_valu… in test_complex_expr()
|
/llvm-project/clang/test/Analysis/ |
H A D | stack-addr-ps.cpp | 43 int get_value(); in f1() 45 const int &get_reference1() { return get_value(); } // expected-warning{{Address of stack memory associated with temporary object of type 'int' returned}} expected-warning {{returning reference to local temporary}} in f1() 48 const int &x = get_value(); // expected-note {{binding reference variable 'x' here}} in f2() 53 const int &x1 = get_value(); // expected-note {{binding reference variable 'x1' here}} 77 const int &x1 = get_value(); // expected-note {{binding reference variable 'x1' here}} in lf()
|
/llvm-project/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/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/openmp/runtime/src/ |
H A D | kmp_utility.cpp | 91 #define get_value(reg, lo, mask) (((reg) >> (lo)) & (mask)) in __kmp_query_cpuid() macro 94 p->family = get_value(buf.eax, 20, 0xff) + get_value(buf.eax, 8, 0x0f); in __kmp_query_cpuid() 96 (get_value(buf.eax, 16, 0x0f) << 4) + get_value(buf.eax, 4, 0x0f); in __kmp_query_cpuid() 97 p->stepping = get_value(buf.eax, 0, 0x0f); in __kmp_query_cpuid() 99 #undef get_value in __kmp_query_cpuid()
|
/llvm-project/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(ptr %0) #4, !dbg !17 25 ; CHECK: call get_value 29 declare dso_local i32 @get_value(ptr) local_unnamed_addr #1
|
H A D | intrinsic-struct.ll | 8 ; int get_value(const ptr addr); 9 ; int test(struct s *arg) { return get_value(_(&arg->b)); } 22 %call = tail call i32 @get_value(ptr %0) #4, !dbg !20 30 ; CHECK: call get_value 42 declare dso_local i32 @get_value(ptr) 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(ptr %0) #3, !dbg !20 32 ; CHECK: call get_value 48 declare dso_local i32 @get_value(ptr) local_unnamed_addr #1
|
H A D | intrinsic-union.ll | 8 ; int get_value(const ptr addr); 9 ; int test(union u *arg) { return get_value(_(&arg->b)); } 22 %call = tail call i32 @get_value(ptr %0) #4, !dbg !20 29 ; CHECK: call get_value 41 declare dso_local i32 @get_value(ptr) local_unnamed_addr #1
|
H A D | intrinsic-array.ll | 8 ; int get_value(const ptr addr); 9 ; int test(struct s *arg) { return get_value(_(&arg[2].b)); } 23 %call = tail call i32 @get_value(ptr %1) #4, !dbg !20 30 ; CHECK: call get_value 42 declare dso_local i32 @get_value(ptr) 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])); 23 %call = tail call i32 @get_value(ptr %0) #4, !dbg !22 29 ; CHECK: call get_value 45 declare dso_local i32 @get_value(ptr) 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(ptr %1) #3, !dbg !25 32 ; CHECK: call get_value 48 declare dso_local i32 @get_value(ptr) local_unnamed_addr #1
|
H A D | offset-reloc-typedef-struct.ll | 12 ; int get_value(const ptr addr); 14 ; return get_value(_(&arg->b)); 27 %call = tail call i32 @get_value(ptr %0) #4, !dbg !24 35 ; CHECK: call get_value 50 declare dso_local i32 @get_value(ptr) local_unnamed_addr #1
|
H A D | offset-reloc-typedef-union.ll | 12 ; int get_value(const ptr addr); 14 ; return get_value(_(&arg->b)); 27 %call = tail call i32 @get_value(ptr %0) #4, !dbg !24 35 ; CHECK: call get_value 50 declare dso_local i32 @get_value(ptr) 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(ptr %2) #3, !dbg !27 34 ; CHECK: call get_value 51 declare dso_local i32 @get_value(ptr) local_unnamed_addr #1
|
H A D | offset-reloc-typedef-array.ll | 12 ; int get_value(const ptr addr); 14 ; return get_value(_(&arg->a[1])); 28 %call = tail call i32 @get_value(ptr %1) #4, !dbg !27 36 ; CHECK: call get_value 51 declare dso_local i32 @get_value(ptr) 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(ptr %1) #4, !dbg !22 30 ; CHECK: call get_value 45 declare dso_local i32 @get_value(ptr) 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(ptr %3) #4, !dbg !28 33 ; CHECK: call get_value 49 declare dso_local i32 @get_value(ptr) 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(ptr %4) #4, !dbg !30 34 ; CHECK: call get_value 50 declare dso_local i32 @get_value(ptr) local_unnamed_addr #1
|
H A D | offset-reloc-cast-union-2.ll | 12 ; int get_value(const int *arg); 14 ; return get_value(_(&cast_to_v1(&arg->d[4])->b)); 34 %call = tail call i32 @get_value(ptr %b) #4, !dbg !33 42 ; CHECK: call get_value 65 declare dso_local i32 @get_value(ptr) 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)); 29 %call = tail call i32 @get_value(ptr %1) #4, !dbg !31 37 ; CHECK: call get_value 63 declare dso_local i32 @get_value(ptr) 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)); 32 %call = tail call i32 @get_value(ptr %1) #4, !dbg !36 40 ; CHECK: call get_value 63 declare dso_local i32 @get_value(ptr) local_unnamed_addr #1
|
/llvm-project/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/flang/test/Fir/ |
H A D | dispatch.f90 | 17 procedure :: get_value => get_value_p1 method 30 procedure :: get_value => get_value_p2 149 i = p%get_value() 330 ! BT: fir.dt_entry "get_value", @_QMdispatch1Pget_value_p1 349 ! BT: fir.dt_entry "get_value", @_QMdispatch1Pget_value_p2 29 procedure :: get_value => get_value_ global() method
|
/llvm-project/clang/test/Sema/ |
H A D | warn-thread-safety-analysis.c | 88 int get_value(int *p) SHARED_LOCKS_REQUIRED(foo_.mu_){ in main() 137 get_value(b_); // expected-warning{{calling function 'get_value' requires holding mutex 'foo_.mu_'}} in main() 142 (void)(get_value(b_) == 1); 71 int get_value(int *p) SHARED_LOCKS_REQUIRED(foo_.mu_){ get_value() function
|