Home
last modified time | relevance | path

Searched refs:REAL (Results 1 – 25 of 82) sorted by relevance

1234

/llvm-project-15.0.7/compiler-rt/lib/asan/
H A Dasan_interceptors.cpp57 if (REAL(strnlen)) { in MaybeRealStrnlen()
265 return REAL(getcontext)(ucp); in INTERCEPTOR()
309 REAL(longjmp)(env, val); in INTERCEPTOR()
315 REAL(_longjmp)(env, val); in INTERCEPTOR()
322 REAL(__longjmp_chk)(env, val); in INTERCEPTOR()
329 REAL(siglongjmp)(env, val); in INTERCEPTOR()
335 CHECK(REAL(__cxa_throw)); in INTERCEPTOR()
337 REAL(__cxa_throw)(a, b, c); in INTERCEPTOR()
511 return REAL(atoi)(nptr); in INTERCEPTOR()
532 return REAL(atol)(nptr); in INTERCEPTOR()
[all …]
H A Dasan_malloc_win.cpp161 REAL(memcpy)(new_alloc, p, Min<size_t>(size, old_size)); in _recalloc()
215 return REAL(HeapSize)(hHeap, dwFlags, lpMem); in INTERCEPTOR_WINAPI()
231 return REAL(HeapAlloc)(hHeap, dwFlags, dwBytes); in INTERCEPTOR_WINAPI()
260 return REAL(HeapFree)(hHeap, dwFlags, lpMem); in INTERCEPTOR_WINAPI()
322 REAL(memcpy)(replacement_alloc, lpMem, old_size); in SharedReAlloc()
342 REAL(memcpy)(replacement_alloc, lpMem, in SharedReAlloc()
391 return SharedReAlloc(REAL(HeapReAlloc), (SizeFunction)REAL(HeapSize), in INTERCEPTOR_WINAPI()
392 REAL(HeapFree), REAL(HeapAlloc), hHeap, dwFlags, lpMem, in INTERCEPTOR_WINAPI()
453 return REAL(RtlAllocateHeap)(HeapHandle, Flags, Size); in INTERCEPTOR_WINAPI()
475 return SharedReAlloc(REAL(RtlReAllocateHeap), REAL(RtlSizeHeap), in INTERCEPTOR_WINAPI()
[all …]
H A Dasan_win.cpp81 CHECK(REAL(SetUnhandledExceptionFilter)); in INTERCEPTOR_WINAPI()
91 CHECK(REAL(RtlRaiseException)); in INTERCEPTOR_WINAPI()
96 REAL(RtlRaiseException)(ExceptionRecord); in INTERCEPTOR_WINAPI()
100 CHECK(REAL(RaiseException)); in INTERCEPTOR_WINAPI()
102 REAL(RaiseException)(a, b, c, d); in INTERCEPTOR_WINAPI()
110 CHECK(REAL(__C_specific_handler)); in INTERCEPTOR_WINAPI()
112 return REAL(__C_specific_handler)(a, b, c, d); in INTERCEPTOR_WINAPI()
118 CHECK(REAL(_except_handler3)); in INTERCEPTOR()
120 return REAL(_except_handler3)(a, b, c, d); in INTERCEPTOR()
128 CHECK(REAL(_except_handler4)); in INTERCEPTOR()
[all …]
H A Dasan_mac.cpp205 return REAL(dispatch_x_f)(dq, (void*)asan_ctxt, \
222 return REAL(dispatch_after_f)(when, dq, (void*)asan_ctxt, in INTERCEPT_DISPATCH_X_F_3()
236 REAL(dispatch_group_async_f)(group, dq, (void*)asan_ctxt, in INTERCEPTOR()
265 REAL(dispatch_async)(dq, asan_block);
272 REAL(dispatch_group_async)(dg, dq, asan_block);
279 REAL(dispatch_after)(when, queue, asan_block);
285 REAL(dispatch_source_set_cancel_handler)(ds, work);
290 REAL(dispatch_source_set_cancel_handler)(ds, asan_block);
297 REAL(dispatch_source_set_event_handler)(ds, asan_block);
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dint-power.h18 template <typename REAL, typename INT>
19 ValueWithRealFlags<REAL> TimesIntPowerOf(const REAL &factor, const REAL &base,
22 ValueWithRealFlags<REAL> result{factor};
24 result.value = REAL::NotANumber();
33 REAL squares{base};
52 template <typename REAL, typename INT>
53 ValueWithRealFlags<REAL> IntPower(const REAL &base, const INT &power,
55 REAL one{REAL::FromInteger(INT{1}).value};
/llvm-project-15.0.7/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp46 return REAL(pthread_mutex_destroy)(m); in INTERCEPTOR()
52 int res = REAL(pthread_mutex_lock)(m); in INTERCEPTOR()
59 int res = REAL(pthread_mutex_trylock)(m); in INTERCEPTOR()
68 return REAL(pthread_mutex_unlock)(m); in INTERCEPTOR()
73 int res = REAL(pthread_spin_destroy)(m); in INTERCEPTOR()
81 int res = REAL(pthread_spin_lock)(m); in INTERCEPTOR()
88 int res = REAL(pthread_spin_trylock)(m); in INTERCEPTOR()
97 return REAL(pthread_spin_unlock)(m); in INTERCEPTOR()
103 return REAL(pthread_rwlock_destroy)(m); in INTERCEPTOR()
159 return REAL(pthread_rwlock_unlock)(m); in INTERCEPTOR()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_interceptors_mac.cpp190 return REAL(OSSpinLockLock)(lock); in TSAN_INTERCEPTOR()
193 REAL(OSSpinLockLock)(lock); in TSAN_INTERCEPTOR()
200 return REAL(OSSpinLockTry)(lock); in TSAN_INTERCEPTOR()
216 REAL(OSSpinLockUnlock)(lock); in TSAN_INTERCEPTOR()
222 return REAL(os_lock_lock)(lock); in TSAN_INTERCEPTOR()
225 REAL(os_lock_lock)(lock); in TSAN_INTERCEPTOR()
232 return REAL(os_lock_trylock)(lock); in TSAN_INTERCEPTOR()
244 return REAL(os_lock_unlock)(lock); in TSAN_INTERCEPTOR()
248 REAL(os_lock_unlock)(lock); in TSAN_INTERCEPTOR()
256 REAL(os_unfair_lock_lock)(lock); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_interceptors_posix.cpp652 REAL(_longjmp)(env, val); in TSAN_INTERCEPTOR()
760 return REAL(strdup)(str); in TSAN_INTERCEPTOR()
1768 return REAL(close)(fd); in TSAN_INTERCEPTOR()
1776 return REAL(__close)(fd); in TSAN_INTERCEPTOR()
1855 REAL(fflush)(stdout); in FlushStreams()
1856 REAL(fflush)(stderr); in FlushStreams()
1862 REAL(abort)(fake); in TSAN_INTERCEPTOR()
2182 return REAL(fork)(fake); in TSAN_INTERCEPTOR()
2184 return REAL(fork)(fake); in TSAN_INTERCEPTOR()
2701 REAL(_lwp_exit)(); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_interceptors_libdispatch.cpp325 return REAL(dispatch_semaphore_signal)(dsema); in TSAN_INTERCEPTOR()
339 long_t result = REAL(dispatch_group_wait)(group, timeout); in TSAN_INTERCEPTOR()
351 REAL(dispatch_group_leave)(group); in TSAN_INTERCEPTOR()
524 REAL(dispatch_apply)(iterations, queue, new_block);
602 REAL(dispatch_read)(fd, length, q, new_h); in TSAN_INTERCEPTOR()
619 REAL(dispatch_write)(fd, data, q, new_h); in TSAN_INTERCEPTOR()
637 REAL(dispatch_io_read)(channel, offset, length, q, new_h); in TSAN_INTERCEPTOR()
656 REAL(dispatch_io_write)(channel, offset, data, q, new_h); in TSAN_INTERCEPTOR()
675 REAL(dispatch_io_barrier)(channel, new_block); in TSAN_INTERCEPTOR()
756 return REAL(dispatch_io_close)(channel, flags); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_interceptors_mach_vm.cpp33 return REAL(mach_vm_allocate)(target, address, size, flags); in TSAN_INTERCEPTOR()
36 kern_return_t kr = REAL(mach_vm_allocate)(target, address, size, flags); in TSAN_INTERCEPTOR()
46 return REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
47 kern_return_t kr = REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/
H A Dtsan_interceptors_mac.cpp190 return REAL(OSSpinLockLock)(lock); in TSAN_INTERCEPTOR()
193 REAL(OSSpinLockLock)(lock); in TSAN_INTERCEPTOR()
200 return REAL(OSSpinLockTry)(lock); in TSAN_INTERCEPTOR()
216 REAL(OSSpinLockUnlock)(lock); in TSAN_INTERCEPTOR()
222 return REAL(os_lock_lock)(lock); in TSAN_INTERCEPTOR()
225 REAL(os_lock_lock)(lock); in TSAN_INTERCEPTOR()
232 return REAL(os_lock_trylock)(lock); in TSAN_INTERCEPTOR()
244 return REAL(os_lock_unlock)(lock); in TSAN_INTERCEPTOR()
248 REAL(os_lock_unlock)(lock); in TSAN_INTERCEPTOR()
256 REAL(os_unfair_lock_lock)(lock); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_interceptors_posix.cpp657 REAL(_longjmp)(env, val); in TSAN_INTERCEPTOR()
765 return REAL(strdup)(str); in TSAN_INTERCEPTOR()
1772 return REAL(close)(fd); in TSAN_INTERCEPTOR()
1779 return REAL(__close)(fd); in TSAN_INTERCEPTOR()
1855 REAL(fflush)(stdout); in FlushStreams()
1856 REAL(fflush)(stderr); in FlushStreams()
1862 REAL(abort)(fake); in TSAN_INTERCEPTOR()
2186 return REAL(fork)(fake); in TSAN_INTERCEPTOR()
2188 return REAL(fork)(fake); in TSAN_INTERCEPTOR()
2707 REAL(_lwp_exit)(); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_interceptors_libdispatch.cpp325 return REAL(dispatch_semaphore_signal)(dsema); in TSAN_INTERCEPTOR()
339 long_t result = REAL(dispatch_group_wait)(group, timeout); in TSAN_INTERCEPTOR()
351 REAL(dispatch_group_leave)(group); in TSAN_INTERCEPTOR()
524 REAL(dispatch_apply)(iterations, queue, new_block);
602 REAL(dispatch_read)(fd, length, q, new_h); in TSAN_INTERCEPTOR()
619 REAL(dispatch_write)(fd, data, q, new_h); in TSAN_INTERCEPTOR()
637 REAL(dispatch_io_read)(channel, offset, length, q, new_h); in TSAN_INTERCEPTOR()
656 REAL(dispatch_io_write)(channel, offset, data, q, new_h); in TSAN_INTERCEPTOR()
675 REAL(dispatch_io_barrier)(channel, new_block); in TSAN_INTERCEPTOR()
756 return REAL(dispatch_io_close)(channel, flags); in TSAN_INTERCEPTOR()
[all …]
H A Dtsan_interceptors_mach_vm.cpp33 return REAL(mach_vm_allocate)(target, address, size, flags); in TSAN_INTERCEPTOR()
36 kern_return_t kr = REAL(mach_vm_allocate)(target, address, size, flags); in TSAN_INTERCEPTOR()
46 return REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
47 kern_return_t kr = REAL(mach_vm_deallocate)(target, address, size); in TSAN_INTERCEPTOR()
/llvm-project-15.0.7/compiler-rt/lib/fuzzer/
H A DFuzzerInterceptors.cpp19 #define REAL(x) __interception::PTR_TO_REAL(x) macro
154 int result = REAL(bcmp)(s1, s2, n); in DEFINE_REAL()
162 int result = REAL(memcmp)(s1, s2, n); in memcmp()
170 int result = REAL(strncmp)(s1, s2, n); in strncmp()
178 int result = REAL(strcmp)(s1, s2); in strcmp()
185 int result = REAL(strncasecmp)(s1, s2, n); in strncasecmp()
192 int result = REAL(strcasecmp)(s1, s2); in strcasecmp()
200 char *result = REAL(strstr)(s1, s2); in strstr()
207 char *result = REAL(strcasestr)(s1, s2); in strcasestr()
231 REAL(bcmp) = reinterpret_cast<memcmp_type>( in fuzzerInit()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp325 char *res = REAL(strdup)(src); in INTERCEPTOR()
336 char *res = REAL(__strdup)(src); in INTERCEPTOR()
590 int res = REAL(wcscmp)(s1, s2); in INTERCEPTOR()
621 return REAL(getenv)(name); in INTERCEPTOR()
623 char *res = REAL(getenv)(name); in INTERCEPTOR()
651 int res = REAL(putenv)(string); in INTERCEPTOR()
762 return REAL(pipe)(pipefd); in INTERCEPTOR()
764 int res = REAL(pipe)(pipefd); in INTERCEPTOR()
1103 REAL(tzset)(fake); in INTERCEPTOR()
1209 int pid = REAL(fork)(); in INTERCEPTOR()
[all …]
H A Dmsan_poisoning.cpp92 REAL(memcpy)((void *)MEM_TO_ORIGIN(beg), (void *)MEM_TO_ORIGIN(s), in CopyOrigin()
138 REAL(memmove) in ReverseCopyOrigin()
176 REAL(memmove)((void *)MEM_TO_SHADOW((uptr)dst), in MoveShadowAndOrigin()
186 REAL(memcpy)((void *)MEM_TO_SHADOW((uptr)dst), in CopyShadowAndOrigin()
193 REAL(memcpy)(dst, src, size); in CopyMemory()
203 REAL(memset)((void *)shadow_beg, value, shadow_end - shadow_beg); in SetShadow()
209 REAL(memset)((void *)shadow_beg, 0, shadow_end - shadow_beg); in SetShadow()
212 REAL(memset)((void *)shadow_beg, 0, page_beg - shadow_beg); in SetShadow()
215 REAL(memset)((void *)page_end, 0, shadow_end - page_end); in SetShadow()
/llvm-project-15.0.7/compiler-rt/lib/memprof/
H A Dmemprof_interceptors.cpp29 if (REAL(strnlen)) { in MaybeRealStrnlen()
30 return REAL(strnlen)(s, maxlen); in MaybeRealStrnlen()
95 #define COMMON_INTERCEPTOR_BLOCK_REAL(name) REAL(name)
208 return REAL(strcat)(to, from); in INTERCEPTOR()
221 return REAL(strncat)(to, from, size); in INTERCEPTOR()
228 return REAL(strcpy)(to, from); in INTERCEPTOR()
234 return REAL(strcpy)(to, from); in INTERCEPTOR()
247 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
261 REAL(memcpy)(new_mem, s, length + 1); in INTERCEPTOR()
272 return REAL(strncpy)(to, from, size); in INTERCEPTOR()
[all …]
H A Dmemprof_interceptors_memintrinsics.h43 return REAL(memcpy)(to, from, size); \ in DECLARE_REAL()
48 return REAL(memcpy)(to, from, size); \ in DECLARE_REAL()
57 return REAL(memset)(block, c, size); \ in DECLARE_REAL()
61 return REAL(memset)(block, c, size); \ in DECLARE_REAL()
/llvm-project-15.0.7/compiler-rt/lib/lsan/
H A Dlsan_mac.cpp114 return REAL(dispatch_x_f)(dq, (void *)lsan_ctxt, \
125 return REAL(dispatch_after_f)(when, dq, (void *)lsan_ctxt, in INTERCEPT_DISPATCH_X_F_3()
132 REAL(dispatch_group_async_f) in INTERCEPTOR()
159 REAL(dispatch_async)(dq, lsan_block);
165 REAL(dispatch_group_async)(dg, dq, lsan_block);
171 REAL(dispatch_after)(when, queue, lsan_block);
177 REAL(dispatch_source_set_cancel_handler)(ds, work);
181 REAL(dispatch_source_set_cancel_handler)(ds, lsan_block);
187 REAL(dispatch_source_set_event_handler)(ds, lsan_block);
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc994 if (REAL(memchr)) {
1357 return REAL(puts)(s);
2225 REAL(setpwent)(dummy);
2230 REAL(endpwent)(dummy);
2235 REAL(setgrent)(dummy);
2240 REAL(endgrent)(dummy);
4447 REAL(_exit)(status);
6192 REAL(xdr_destroy)(xdr);
8127 REAL(regfree)(preg);
8833 REAL(MD4Init)(context);
[all …]
H A Dsanitizer_signal_interceptors.inc28 { return REAL(func)(signum, handler); }
34 if (!REAL(sigaction_symname)) { \
36 "Warning: REAL(sigaction_symname) == nullptr. This may happen " \
40 return REAL(sigaction_symname)(signum, act, oldact); \
74 return REAL(sigaction_symname)(signum, (const __sanitizer_sigaction *)act,
81 // We need to have defined REAL(sigaction) on other systems.
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dcabs-discrete.ll6 ; CHECK-NEXT: [[CALL:%.*]] = tail call double @cabs(double [[REAL:%.*]], double [[IMAG:%.*]])
15 ; CHECK-NEXT: [[CALL:%.*]] = tail call float @cabsf(float [[REAL:%.*]], float [[IMAG:%.*]])
24 ; CHECK-NEXT: [[CALL:%.*]] = tail call fp128 @cabsl(fp128 [[REAL:%.*]], fp128 [[IMAG:%.*]])
33 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast double [[REAL:%.*]], [[REAL]]
45 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast float [[REAL:%.*]], [[REAL]]
57 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast fp128 [[REAL:%.*]], [[REAL]]
H A Dcabs-array.ll33 ; CHECK-NEXT: [[REAL:%.*]] = extractvalue [2 x double] [[Z:%.*]], 0
35 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast double [[REAL]], [[REAL]]
47 ; CHECK-NEXT: [[REAL:%.*]] = extractvalue [2 x float] [[Z:%.*]], 0
49 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast float [[REAL]], [[REAL]]
61 ; CHECK-NEXT: [[REAL:%.*]] = extractvalue [2 x fp128] [[Z:%.*]], 0
63 ; CHECK-NEXT: [[TMP1:%.*]] = fmul fast fp128 [[REAL]], [[REAL]]
/llvm-project-15.0.7/compiler-rt/lib/hwasan/
H A Dhwasan_interceptors.cpp46 int res = REAL(pthread_create)(th, attr, &HwasanThreadStartFunc, A); in INTERCEPTOR()
51 return REAL(pthread_join)(t, arg); in INTERCEPTOR()
142 return REAL(siglongjmp)(env, val); in INTERCEPTOR()
157 return REAL(__libc_longjmp)(env, val); in INTERCEPTOR()
166 return REAL(longjmp)(env, val); in INTERCEPTOR()

1234