[X86] Consistently use double underscore at the beginning of the include guards in...
authorCraig Topper <craig.topper@intel.com>
Tue, 24 Apr 2018 17:40:47 +0000 (17:40 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 24 Apr 2018 17:40:47 +0000 (17:40 +0000)
Most files used double underscore, but a few used single. This converges them all to double.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@330743 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/__wmmintrin_aes.h
lib/Headers/__wmmintrin_pclmul.h
lib/Headers/clzerointrin.h
lib/Headers/mwaitxintrin.h
lib/Headers/nmmintrin.h
lib/Headers/popcntintrin.h
lib/Headers/smmintrin.h
lib/Headers/waitpkgintrin.h
lib/Headers/wmmintrin.h

index 570776dd0cae97608fe7db2f8fe580eb27d69286..fc1dfa0027b668693de2b1c6f3cba83456e84419 100644 (file)
@@ -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 */
index e9c6a9f6d4152b14c0a4068c7b085209930af42f..246caebbc4f9ec8e4a29ffbd7c540a3620c7a8b8 100644 (file)
@@ -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 */
index ed7478ff87ea4d7eca3c49e0f4a40540d8f0df7a..74a7bf5ed09a30aafe83582174630f162ba0f0aa 100644 (file)
@@ -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 */
index 635f2ac6cab559c3aa18b575191e2f5be335cfce..2921eadfa5409f0eacdbf85d5c71c796194d9c32 100644 (file)
@@ -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 */
index 57fec15963d11b9960f8e4f0a9d43eba5a784d41..348fb8c7c18f1eebf160b3d939fd33bc8924254c 100644 (file)
  *===-----------------------------------------------------------------------===
  */
 
-#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 */
index 0b4793e58bcb55795ff2e0eeebc89047e34b5c16..72ed38dc1fed1e88b85d62197ca90b8fd05a567a 100644 (file)
@@ -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 */
index e02775cea358b25d694b36152974e55a654150de..4b84bae2f1f6b238f1ff49a867e2cf9f7dff73e3 100644 (file)
@@ -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 */
index f9fad1afd46b427d40edaba7643e447fff4916c7..184c4aa462c7e535f8fbe74e47e44bcaf3403ac5 100644 (file)
@@ -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 */
index a2d931010aeae12c8737777b738798a57b64bad6..569a8d838dad6d0dd526e82451189fe1f9541390 100644 (file)
@@ -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 */