Home | History | Annotate | Download | only in SemaCXX
      1 // RUN: %clang_cc1 -fsyntax-only -verify %s
      2 // rdar://9208404
      3 
      4 typedef int MP4Err;
      5 typedef float Float32;
      6 typedef float float32_t;
      7 typedef __attribute__((neon_vector_type(4))) float32_t float32x4_t;
      8 typedef float vFloat __attribute__((__vector_size__(16)));
      9 typedef vFloat VFLOAT;
     10 typedef unsigned long UInt32;
     11 
     12 extern int bar (float32x4_t const *p);
     13 
     14 int foo (const Float32 *realBufPtr) {
     15   float32x4_t const *vRealPtr = (VFLOAT *)&realBufPtr[0];
     16   return bar(vRealPtr);
     17 }
     18 
     19 MP4Err autoCorrelation2nd_Neon(Float32 *alphar, Float32 *alphai,
     20 			    const Float32 *realBufPtr,
     21 			    const Float32 *imagBufPtr,
     22 			    const UInt32 len)
     23 {
     24   float32x4_t const *vRealPtr = (VFLOAT *)&realBufPtr[0];
     25   return 0;
     26 }
     27 
     28