summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@intel.com>2018-04-24 17:40:47 +0000
committerCraig Topper <craig.topper@intel.com>2018-04-24 17:40:47 +0000
commitbd16b112554990be42e082de2236f762a50d2375 (patch)
tree5adf08a5c05a45c1628ce10d6e0e6088aef034ae /clang
parentebc7c74f2f54a3cb6cf86ab26e1296f8311f11e9 (diff)
downloadbcm5719-llvm-bd16b112554990be42e082de2236f762a50d2375.tar.gz
bcm5719-llvm-bd16b112554990be42e082de2236f762a50d2375.zip
[X86] Consistently use double underscore at the beginning of the include guards in our intrinsic headers.
Most files used double underscore, but a few used single. This converges them all to double. llvm-svn: 330743
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/Headers/__wmmintrin_aes.h6
-rw-r--r--clang/lib/Headers/__wmmintrin_pclmul.h6
-rw-r--r--clang/lib/Headers/clzerointrin.h6
-rw-r--r--clang/lib/Headers/mwaitxintrin.h6
-rw-r--r--clang/lib/Headers/nmmintrin.h6
-rw-r--r--clang/lib/Headers/popcntintrin.h6
-rw-r--r--clang/lib/Headers/smmintrin.h6
-rw-r--r--clang/lib/Headers/waitpkgintrin.h6
-rw-r--r--clang/lib/Headers/wmmintrin.h6
9 files changed, 27 insertions, 27 deletions
diff --git a/clang/lib/Headers/__wmmintrin_aes.h b/clang/lib/Headers/__wmmintrin_aes.h
index 570776dd0ca..fc1dfa0027b 100644
--- a/clang/lib/Headers/__wmmintrin_aes.h
+++ b/clang/lib/Headers/__wmmintrin_aes.h
@@ -20,8 +20,8 @@
*
*===-----------------------------------------------------------------------===
*/
-#ifndef _WMMINTRIN_AES_H
-#define _WMMINTRIN_AES_H
+#ifndef __WMMINTRIN_AES_H
+#define __WMMINTRIN_AES_H
#include <emmintrin.h>
@@ -148,4 +148,4 @@ _mm_aesimc_si128(__m128i __V)
#undef __DEFAULT_FN_ATTRS
-#endif /* _WMMINTRIN_AES_H */
+#endif /* __WMMINTRIN_AES_H */
diff --git a/clang/lib/Headers/__wmmintrin_pclmul.h b/clang/lib/Headers/__wmmintrin_pclmul.h
index e9c6a9f6d41..246caebbc4f 100644
--- a/clang/lib/Headers/__wmmintrin_pclmul.h
+++ b/clang/lib/Headers/__wmmintrin_pclmul.h
@@ -20,8 +20,8 @@
*
*===-----------------------------------------------------------------------===
*/
-#ifndef _WMMINTRIN_PCLMUL_H
-#define _WMMINTRIN_PCLMUL_H
+#ifndef __WMMINTRIN_PCLMUL_H
+#define __WMMINTRIN_PCLMUL_H
/// \brief Multiplies two 64-bit integer values, which are selected from source
/// operands using the immediate-value operand. The multiplication is a
@@ -54,4 +54,4 @@
((__m128i)__builtin_ia32_pclmulqdq128((__v2di)(__m128i)(__X), \
(__v2di)(__m128i)(__Y), (char)(__I)))
-#endif /* _WMMINTRIN_PCLMUL_H */
+#endif /* __WMMINTRIN_PCLMUL_H */
diff --git a/clang/lib/Headers/clzerointrin.h b/clang/lib/Headers/clzerointrin.h
index ed7478ff87e..74a7bf5ed09 100644
--- a/clang/lib/Headers/clzerointrin.h
+++ b/clang/lib/Headers/clzerointrin.h
@@ -24,8 +24,8 @@
#error "Never use <clzerointrin.h> directly; include <x86intrin.h> instead."
#endif
-#ifndef _CLZEROINTRIN_H
-#define _CLZEROINTRIN_H
+#ifndef __CLZEROINTRIN_H
+#define __CLZEROINTRIN_H
/* Define the default attributes for the functions in this file. */
#define __DEFAULT_FN_ATTRS \
@@ -47,4 +47,4 @@ _mm_clzero (void * __line)
#undef __DEFAULT_FN_ATTRS
-#endif /* _CLZEROINTRIN_H */
+#endif /* __CLZEROINTRIN_H */
diff --git a/clang/lib/Headers/mwaitxintrin.h b/clang/lib/Headers/mwaitxintrin.h
index 635f2ac6cab..2921eadfa54 100644
--- a/clang/lib/Headers/mwaitxintrin.h
+++ b/clang/lib/Headers/mwaitxintrin.h
@@ -25,8 +25,8 @@
#error "Never use <mwaitxintrin.h> directly; include <x86intrin.h> instead."
#endif
-#ifndef _MWAITXINTRIN_H
-#define _MWAITXINTRIN_H
+#ifndef __MWAITXINTRIN_H
+#define __MWAITXINTRIN_H
/* Define the default attributes for the functions in this file. */
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("mwaitx")))
@@ -44,4 +44,4 @@ _mm_mwaitx(unsigned __extensions, unsigned __hints, unsigned __clock)
#undef __DEFAULT_FN_ATTRS
-#endif /* _MWAITXINTRIN_H */
+#endif /* __MWAITXINTRIN_H */
diff --git a/clang/lib/Headers/nmmintrin.h b/clang/lib/Headers/nmmintrin.h
index 57fec15963d..348fb8c7c18 100644
--- a/clang/lib/Headers/nmmintrin.h
+++ b/clang/lib/Headers/nmmintrin.h
@@ -21,10 +21,10 @@
*===-----------------------------------------------------------------------===
*/
-#ifndef _NMMINTRIN_H
-#define _NMMINTRIN_H
+#ifndef __NMMINTRIN_H
+#define __NMMINTRIN_H
/* To match expectations of gcc we put the sse4.2 definitions into smmintrin.h,
just include it now then. */
#include <smmintrin.h>
-#endif /* _NMMINTRIN_H */
+#endif /* __NMMINTRIN_H */
diff --git a/clang/lib/Headers/popcntintrin.h b/clang/lib/Headers/popcntintrin.h
index 0b4793e58bc..72ed38dc1fe 100644
--- a/clang/lib/Headers/popcntintrin.h
+++ b/clang/lib/Headers/popcntintrin.h
@@ -21,8 +21,8 @@
*===-----------------------------------------------------------------------===
*/
-#ifndef _POPCNTINTRIN_H
-#define _POPCNTINTRIN_H
+#ifndef __POPCNTINTRIN_H
+#define __POPCNTINTRIN_H
/* Define the default attributes for the functions in this file. */
#define __DEFAULT_FN_ATTRS __attribute__((__always_inline__, __nodebug__, __target__("popcnt")))
@@ -95,4 +95,4 @@ _popcnt64(long long __A)
#undef __DEFAULT_FN_ATTRS
-#endif /* _POPCNTINTRIN_H */
+#endif /* __POPCNTINTRIN_H */
diff --git a/clang/lib/Headers/smmintrin.h b/clang/lib/Headers/smmintrin.h
index e02775cea35..4b84bae2f1f 100644
--- a/clang/lib/Headers/smmintrin.h
+++ b/clang/lib/Headers/smmintrin.h
@@ -21,8 +21,8 @@
*===-----------------------------------------------------------------------===
*/
-#ifndef _SMMINTRIN_H
-#define _SMMINTRIN_H
+#ifndef __SMMINTRIN_H
+#define __SMMINTRIN_H
#include <tmmintrin.h>
@@ -2462,4 +2462,4 @@ _mm_crc32_u64(unsigned long long __C, unsigned long long __D)
#include <popcntintrin.h>
#endif
-#endif /* _SMMINTRIN_H */
+#endif /* __SMMINTRIN_H */
diff --git a/clang/lib/Headers/waitpkgintrin.h b/clang/lib/Headers/waitpkgintrin.h
index f9fad1afd46..184c4aa462c 100644
--- a/clang/lib/Headers/waitpkgintrin.h
+++ b/clang/lib/Headers/waitpkgintrin.h
@@ -24,8 +24,8 @@
#error "Never use <waitpkgintrin.h> directly; include <x86intrin.h> instead."
#endif
-#ifndef _WAITPKGINTRIN_H
-#define _WAITPKGINTRIN_H
+#ifndef __WAITPKGINTRIN_H
+#define __WAITPKGINTRIN_H
/* Define the default attributes for the functions in this file. */
#define __DEFAULT_FN_ATTRS \
@@ -53,4 +53,4 @@ _tpause (unsigned int __control, unsigned long long __counter)
#undef __DEFAULT_FN_ATTRS
-#endif /* _WAITPKGINTRIN_H */
+#endif /* __WAITPKGINTRIN_H */
diff --git a/clang/lib/Headers/wmmintrin.h b/clang/lib/Headers/wmmintrin.h
index a2d931010ae..569a8d838da 100644
--- a/clang/lib/Headers/wmmintrin.h
+++ b/clang/lib/Headers/wmmintrin.h
@@ -21,8 +21,8 @@
*===-----------------------------------------------------------------------===
*/
-#ifndef _WMMINTRIN_H
-#define _WMMINTRIN_H
+#ifndef __WMMINTRIN_H
+#define __WMMINTRIN_H
#include <emmintrin.h>
@@ -30,4 +30,4 @@
#include <__wmmintrin_pclmul.h>
-#endif /* _WMMINTRIN_H */
+#endif /* __WMMINTRIN_H */
OpenPOWER on IntegriCloud