llvm-project/clang/test/Headers
Albert Gutowski 1deab38717 Implement __stosb intrinsic as a volatile memset
Summary: We need `__stosb` to be an intrinsic, because SecureZeroMemory function uses it without including intrin.h. Implementing it as a volatile memset is not consistent with MSDN specification, but it gives us target-independent IR while keeping the most important properties of `__stosb`.

Reviewers: rnk, hans, thakis, majnemer

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D25334

llvm-svn: 284253
2016-10-14 17:33:05 +00:00
..
Inputs/include [modules] Fix a #include cycle when building a module for our builtin headers. 2015-05-14 00:45:20 +00:00
altivec-header.c Make this test not rely on a backend being registered. 2015-04-03 01:27:02 +00:00
altivec-intrin.c [PowerPC] This revision adds 68 of the missing "Predefined Functions for Vector Programming" from appendix A of the OpenPOWER ABI for Linux Supplement document. 2015-06-04 18:45:44 +00:00
arm-acle-header.c Headers: add hint intrinsics to arm_acle.h 2014-07-12 23:27:26 +00:00
arm-neon-header.c
arm64-apple-ios-types.cpp Restore the libc++ definition of max_align_t on Apple platforms 2015-02-24 01:06:22 +00:00
c11.c Fix interaction of max_align_t and modules. 2014-10-03 00:31:35 +00:00
c89.c
cpuid.c Fix bugs in cpuid.h. 2014-09-20 01:31:09 +00:00
cxx11.cpp [modules] Don't expose *intrin.h headers that cannot be included standalone as 2016-04-16 00:46:26 +00:00
float.c test/Headers/float.c: fix theoretical edge values 2016-02-12 19:24:36 +00:00
int64-type.c
limits.cpp
ms-intrin.cpp Implement __stosb intrinsic as a volatile memset 2016-10-14 17:33:05 +00:00
ms-null-ms-header-vs-stddef.cpp Driver: bifurcate extended and basic MSC versioning 2014-07-16 03:13:50 +00:00
ms-wchar.c
opencl-c-header.cl Attempting to fix lit test test/Headers/opencl-c-header.cl on cygwin. 2016-06-27 21:43:00 +00:00
pmmintrin.c Update the intel intrinsic headers to use the target attribute support. 2015-06-17 07:09:32 +00:00
stdatomic.c Test case for r280607 to check presence and sanity of the *_LOCK_FREE 2016-09-04 11:21:27 +00:00
stdbool.cpp
stddefneeds.cpp
tgmath.c
thumbv7-apple-ios-types.cpp Restore the libc++ definition of max_align_t on Apple platforms 2015-02-24 01:06:22 +00:00
typedef_guards.c
unwind.c
wchar_limits.cpp
wmmintrin.c
x86-intrinsics-headers.c
x86_64-apple-macosx-types.cpp Restore the libc++ definition of max_align_t on Apple platforms 2015-02-24 01:06:22 +00:00
x86intrin-2.c [AVX512] _m512_setzero_qi/hi should return __m512i. 2016-05-17 03:42:25 +00:00
x86intrin.c Update the intel intrinsic headers to use the target attribute support. 2015-06-17 07:09:32 +00:00
x86intrin.cpp Add some MS aliases for existing intrinsics 2016-09-14 21:19:43 +00:00
xmmintrin.c [X86] _MM_ALIGN16 attribute support for non-windows targets 2016-06-18 20:01:07 +00:00