[PowerPC][NFC] Fix indentation
authorLei Huang <lei@ca.ibm.com>
Fri, 3 Jul 2020 21:47:24 +0000 (16:47 -0500)
committerLei Huang <lei@ca.ibm.com>
Fri, 3 Jul 2020 21:47:24 +0000 (16:47 -0500)
clang/lib/Headers/altivec.h
llvm/lib/Target/PowerPC/PPCInstrPrefix.td

index 38d5c00..a63f2ee 100644 (file)
@@ -16918,8 +16918,9 @@ vec_insertl(unsigned int __a, vector unsigned int __b, unsigned int __c) {
 #endif
 }
 
-static __inline__ vector unsigned long long __ATTRS_o_ai vec_insertl(
-    unsigned long long __a, vector unsigned long long __b, unsigned int __c) {
+static __inline__ vector unsigned long long __ATTRS_o_ai
+vec_insertl(unsigned long long __a, vector unsigned long long __b,
+            unsigned int __c) {
 #ifdef __LITTLE_ENDIAN__
   return __builtin_altivec_vinsdrx(__b, __c, __a);
 #else
@@ -16927,8 +16928,9 @@ static __inline__ vector unsigned long long __ATTRS_o_ai vec_insertl(
 #endif
 }
 
-static __inline__ vector unsigned char __ATTRS_o_ai vec_insertl(
-    vector unsigned char __a, vector unsigned char __b, unsigned int __c) {
+static __inline__ vector unsigned char __ATTRS_o_ai
+vec_insertl(vector unsigned char __a, vector unsigned char __b,
+            unsigned int __c) {
 #ifdef __LITTLE_ENDIAN__
   return __builtin_altivec_vinsbvrx(__b, __c, __a);
 #else
@@ -16936,8 +16938,9 @@ static __inline__ vector unsigned char __ATTRS_o_ai vec_insertl(
 #endif
 }
 
-static __inline__ vector unsigned short __ATTRS_o_ai vec_insertl(
-    vector unsigned short __a, vector unsigned short __b, unsigned int __c) {
+static __inline__ vector unsigned short __ATTRS_o_ai
+vec_insertl(vector unsigned short __a, vector unsigned short __b,
+            unsigned int __c) {
 #ifdef __LITTLE_ENDIAN__
   return __builtin_altivec_vinshvrx(__b, __c, __a);
 #else
@@ -16945,8 +16948,9 @@ static __inline__ vector unsigned short __ATTRS_o_ai vec_insertl(
 #endif
 }
 
-static __inline__ vector unsigned int __ATTRS_o_ai vec_insertl(
-    vector unsigned int __a, vector unsigned int __b, unsigned int __c) {
+static __inline__ vector unsigned int __ATTRS_o_ai
+vec_insertl(vector unsigned int __a, vector unsigned int __b,
+            unsigned int __c) {
 #ifdef __LITTLE_ENDIAN__
   return __builtin_altivec_vinswvrx(__b, __c, __a);
 #else
@@ -16983,8 +16987,9 @@ vec_inserth(unsigned int __a, vector unsigned int __b, unsigned int __c) {
 #endif
 }
 
-static __inline__ vector unsigned long long __ATTRS_o_ai vec_inserth(
-    unsigned long long __a, vector unsigned long long __b, unsigned int __c) {
+static __inline__ vector unsigned long long __ATTRS_o_ai
+vec_inserth(unsigned long long __a, vector unsigned long long __b,
+            unsigned int __c) {
 #ifdef __LITTLE_ENDIAN__
   return __builtin_altivec_vinsdlx(__b, __c, __a);
 #else
@@ -16992,8 +16997,9 @@ static __inline__ vector unsigned long long __ATTRS_o_ai vec_inserth(
 #endif
 }
 
-static __inline__ vector unsigned char __ATTRS_o_ai vec_inserth(
-    vector unsigned char __a, vector unsigned char __b, unsigned int __c) {
+static __inline__ vector unsigned char __ATTRS_o_ai
+vec_inserth(vector unsigned char __a, vector unsigned char __b,
+            unsigned int __c) {
 #ifdef __LITTLE_ENDIAN__
   return __builtin_altivec_vinsbvlx(__b, __c, __a);
 #else
@@ -17001,8 +17007,9 @@ static __inline__ vector unsigned char __ATTRS_o_ai vec_inserth(
 #endif
 }
 
-static __inline__ vector unsigned short __ATTRS_o_ai vec_inserth(
-    vector unsigned short __a, vector unsigned short __b, unsigned int __c) {
+static __inline__ vector unsigned short __ATTRS_o_ai
+vec_inserth(vector unsigned short __a, vector unsigned short __b,
+            unsigned int __c) {
 #ifdef __LITTLE_ENDIAN__
   return __builtin_altivec_vinshvlx(__b, __c, __a);
 #else
@@ -17010,8 +17017,9 @@ static __inline__ vector unsigned short __ATTRS_o_ai vec_inserth(
 #endif
 }
 
-static __inline__ vector unsigned int __ATTRS_o_ai vec_inserth(
-    vector unsigned int __a, vector unsigned int __b, unsigned int __c) {
+static __inline__ vector unsigned int __ATTRS_o_ai
+vec_inserth(vector unsigned int __a, vector unsigned int __b,
+            unsigned int __c) {
 #ifdef __LITTLE_ENDIAN__
   return __builtin_altivec_vinswvlx(__b, __c, __a);
 #else
@@ -17028,8 +17036,9 @@ static __inline__ vector unsigned int __ATTRS_o_ai vec_inserth(
 
 /* vec_blendv */
 
-static __inline__ vector signed char __ATTRS_o_ai vec_blendv(
-    vector signed char __a, vector signed char __b, vector unsigned char __c) {
+static __inline__ vector signed char __ATTRS_o_ai
+vec_blendv(vector signed char __a, vector signed char __b,
+           vector unsigned char __c) {
   return __builtin_vsx_xxblendvb(__a, __b, __c);
 }
 
index 9933455..818c4e8 100644 (file)
@@ -779,74 +779,74 @@ let Predicates = [IsISA3_1] in {
   def VINSD : VXForm_VRT5_UIM5_RB5_ins<463, "vinsd", []>;
   def VINSBVLX :
     VXForm_VTB5_RA5_ins<15, "vinsbvlx",
-                       [(set v16i8:$vD,
-                             (int_ppc_altivec_vinsbvlx v16i8:$vDi, i64:$rA,
-                                                       v16i8:$vB))]>;
+                        [(set v16i8:$vD,
+                              (int_ppc_altivec_vinsbvlx v16i8:$vDi, i64:$rA,
+                                                        v16i8:$vB))]>;
   def VINSBVRX :
     VXForm_VTB5_RA5_ins<271, "vinsbvrx",
-                       [(set v16i8:$vD,
-                             (int_ppc_altivec_vinsbvrx v16i8:$vDi, i64:$rA,
-                                                       v16i8:$vB))]>;
+                        [(set v16i8:$vD,
+                              (int_ppc_altivec_vinsbvrx v16i8:$vDi, i64:$rA,
+                                                        v16i8:$vB))]>;
   def VINSHVLX :
     VXForm_VTB5_RA5_ins<79, "vinshvlx",
-                       [(set v8i16:$vD,
-                             (int_ppc_altivec_vinshvlx v8i16:$vDi, i64:$rA,
-                                                       v8i16:$vB))]>;
+                        [(set v8i16:$vD,
+                              (int_ppc_altivec_vinshvlx v8i16:$vDi, i64:$rA,
+                                                        v8i16:$vB))]>;
   def VINSHVRX :
     VXForm_VTB5_RA5_ins<335, "vinshvrx",
-                       [(set v8i16:$vD,
-                             (int_ppc_altivec_vinshvrx v8i16:$vDi, i64:$rA,
-                                                       v8i16:$vB))]>;
+                        [(set v8i16:$vD,
+                              (int_ppc_altivec_vinshvrx v8i16:$vDi, i64:$rA,
+                                                        v8i16:$vB))]>;
   def VINSWVLX :
     VXForm_VTB5_RA5_ins<143, "vinswvlx",
-                       [(set v4i32:$vD,
-                             (int_ppc_altivec_vinswvlx v4i32:$vDi, i64:$rA,
-                                                       v4i32:$vB))]>;
+                        [(set v4i32:$vD,
+                              (int_ppc_altivec_vinswvlx v4i32:$vDi, i64:$rA,
+                                                        v4i32:$vB))]>;
   def VINSWVRX :
     VXForm_VTB5_RA5_ins<399, "vinswvrx",
-                       [(set v4i32:$vD,
-                             (int_ppc_altivec_vinswvrx v4i32:$vDi, i64:$rA,
-                                                       v4i32:$vB))]>;
+                        [(set v4i32:$vD,
+                              (int_ppc_altivec_vinswvrx v4i32:$vDi, i64:$rA,
+                                                        v4i32:$vB))]>;
   def VINSBLX :
     VXForm_VRT5_RAB5_ins<527, "vinsblx",
-                        [(set v16i8:$vD,
-                              (int_ppc_altivec_vinsblx v16i8:$vDi, i64:$rA,
-                                                       i64:$rB))]>;
+                         [(set v16i8:$vD,
+                               (int_ppc_altivec_vinsblx v16i8:$vDi, i64:$rA,
+                                                        i64:$rB))]>;
   def VINSBRX :
     VXForm_VRT5_RAB5_ins<783, "vinsbrx",
-                        [(set v16i8:$vD,
-                              (int_ppc_altivec_vinsbrx v16i8:$vDi, i64:$rA,
-                                                       i64:$rB))]>;
+                         [(set v16i8:$vD,
+                               (int_ppc_altivec_vinsbrx v16i8:$vDi, i64:$rA,
+                                                        i64:$rB))]>;
   def VINSHLX :
     VXForm_VRT5_RAB5_ins<591, "vinshlx",
-                        [(set v8i16:$vD,
-                              (int_ppc_altivec_vinshlx v8i16:$vDi, i64:$rA,
-                                                       i64:$rB))]>;
+                         [(set v8i16:$vD,
+                               (int_ppc_altivec_vinshlx v8i16:$vDi, i64:$rA,
+                                                        i64:$rB))]>;
   def VINSHRX :
     VXForm_VRT5_RAB5_ins<847, "vinshrx",
-                        [(set v8i16:$vD,
-                              (int_ppc_altivec_vinshrx v8i16:$vDi, i64:$rA,
-                                                       i64:$rB))]>;
+                         [(set v8i16:$vD,
+                               (int_ppc_altivec_vinshrx v8i16:$vDi, i64:$rA,
+                                                        i64:$rB))]>;
   def VINSWLX :
     VXForm_VRT5_RAB5_ins<655, "vinswlx",
-                        [(set v4i32:$vD,
-                              (int_ppc_altivec_vinswlx v4i32:$vDi, i64:$rA,
-                                                       i64:$rB))]>;
+                         [(set v4i32:$vD,
+                               (int_ppc_altivec_vinswlx v4i32:$vDi, i64:$rA,
+                                                        i64:$rB))]>;
   def VINSWRX :
     VXForm_VRT5_RAB5_ins<911, "vinswrx",
-                        [(set v4i32:$vD,
-                              (int_ppc_altivec_vinswrx v4i32:$vDi, i64:$rA,
-                                                       i64:$rB))]>;
+                         [(set v4i32:$vD,
+                               (int_ppc_altivec_vinswrx v4i32:$vDi, i64:$rA,
+                                                        i64:$rB))]>;
   def VINSDLX :
     VXForm_VRT5_RAB5_ins<719, "vinsdlx",
-                        [(set v2i64:$vD,
-                              (int_ppc_altivec_vinsdlx v2i64:$vDi, i64:$rA,
-                                                       i64:$rB))]>;
+                         [(set v2i64:$vD,
+                               (int_ppc_altivec_vinsdlx v2i64:$vDi, i64:$rA,
+                                                        i64:$rB))]>;
   def VINSDRX :
     VXForm_VRT5_RAB5_ins<975, "vinsdrx",
-                        [(set v2i64:$vD,
-                              (int_ppc_altivec_vinsdrx v2i64:$vDi, i64:$rA,
-                                                       i64:$rB))]>;
+                         [(set v2i64:$vD,
+                               (int_ppc_altivec_vinsdrx v2i64:$vDi, i64:$rA,
+                                                        i64:$rB))]>;
 
    def VPDEPD : VXForm_1<1485, (outs vrrc:$vD), (ins vrrc:$vA, vrrc:$vB),
                          "vpdepd $vD, $vA, $vB", IIC_VecGeneral,