/external/clang/test/SemaCXX/ |
D | vector-casts.cpp | 3 typedef short __v4hi __attribute__((__vector_size__(8))); typedef 14 __v4hi v4hi; in f() 23 (void)reinterpret_cast<__v4hi>(v2si); in f() 24 (void)(__v4hi)v2si; in f() 46 …(void)reinterpret_cast<__v4hi>(v8hi); // expected-error {{reinterpret_cast from vector '__v8hi' (v… in f() 47 …(void)(__v4hi)v8hi; // expected-error {{C-style cast from vector '__v8hi' (vector of 8 'short' val… in f() 51 …(void)(__v4hi)v3hi; // expected-error {{C-style cast from vector '__v3hi' (vector of 3 'short' val… in f() 55 …(void)reinterpret_cast<__v4hi>(v3hi); // expected-error {{reinterpret_cast from vector '__v3hi' (v… in f() 71 __v4hi threeToFour(__v3hi v) { // expected-note {{not viable}} in threeToFour() 74 __v3hi fourToThree(__v4hi v) { // expected-note {{not viable}} in fourToThree() [all …]
|
D | aggregate-initialization.cpp | 45 typedef short __v4hi __attribute__ ((__vector_size__ (8))); typedef 46 __v4hi v1 = { (void *)1, 2, 3 }; // expected-error {{cannot initialize a vector element of type 'sh…
|
/external/llvm-project/clang/test/SemaCXX/ |
D | vector-casts.cpp | 3 typedef short __v4hi __attribute__((__vector_size__(8))); typedef 14 __v4hi v4hi; in f() 23 (void)reinterpret_cast<__v4hi>(v2si); in f() 24 (void)(__v4hi)v2si; in f() 46 …(void)reinterpret_cast<__v4hi>(v8hi); // expected-error {{reinterpret_cast from vector '__v8hi' (v… in f() 47 …(void)(__v4hi)v8hi; // expected-error {{C-style cast from vector '__v8hi' (vector of 8 'short' val… in f() 51 …(void)(__v4hi)v3hi; // expected-error {{C-style cast from vector '__v3hi' (vector of 3 'short' val… in f() 55 …(void)reinterpret_cast<__v4hi>(v3hi); // expected-error {{reinterpret_cast from vector '__v3hi' (v… in f() 71 __v4hi threeToFour(__v3hi v) { // expected-note {{not viable}} in threeToFour() 74 __v3hi fourToThree(__v4hi v) { // expected-note {{not viable}} in fourToThree() [all …]
|
D | aggregate-initialization.cpp | 44 typedef short __v4hi __attribute__ ((__vector_size__ (8))); typedef 45 __v4hi v1 = { (void *)1, 2, 3 }; // expected-error {{cannot initialize a vector element of type 'sh…
|
/external/clang/lib/Headers/ |
D | mmintrin.h | 31 typedef short __v4hi __attribute__((__vector_size__(8))); typedef 143 return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2); in _mm_packs_pi16() 203 return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2); in _mm_packs_pu16() 253 return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2); in _mm_unpackhi_pi16() 324 return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2); in _mm_unpacklo_pi16() 387 return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2); in _mm_add_pi16() 453 return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2); in _mm_adds_pi16() 497 return (__m64)__builtin_ia32_paddusw((__v4hi)__m1, (__v4hi)__m2); in _mm_adds_pu16() 539 return (__m64)__builtin_ia32_psubw((__v4hi)__m1, (__v4hi)__m2); in _mm_sub_pi16() 606 return (__m64)__builtin_ia32_psubsw((__v4hi)__m1, (__v4hi)__m2); in _mm_subs_pi16() [all …]
|
D | tmmintrin.h | 83 return (__m64)__builtin_ia32_pabsw((__v4hi)__a); in _mm_abs_pi16() 252 return (__m64)__builtin_ia32_phaddw((__v4hi)__a, (__v4hi)__b); in _mm_hadd_pi16() 323 return (__m64)__builtin_ia32_phaddsw((__v4hi)__a, (__v4hi)__b); in _mm_hadds_pi16() 392 return (__m64)__builtin_ia32_phsubw((__v4hi)__a, (__v4hi)__b); in _mm_hsub_pi16() 465 return (__m64)__builtin_ia32_phsubsw((__v4hi)__a, (__v4hi)__b); in _mm_hsubs_pi16() 567 return (__m64)__builtin_ia32_pmulhrsw((__v4hi)__a, (__v4hi)__b); in _mm_mulhrs_pi16() 743 return (__m64)__builtin_ia32_psignw((__v4hi)__a, (__v4hi)__b); in _mm_sign_pi16()
|
D | xmmintrin.h | 2163 return (__m64)__builtin_ia32_pmaxsw((__v4hi)__a, (__v4hi)__b); in _mm_max_pi16() 2201 return (__m64)__builtin_ia32_pminsw((__v4hi)__a, (__v4hi)__b); in _mm_min_pi16() 2257 return (__m64)__builtin_ia32_pmulhuw((__v4hi)__a, (__v4hi)__b); in _mm_mulhi_pu16() 2288 (__m64)__builtin_ia32_pshufw((__v4hi)(__m64)(a), (n)); }) 2352 return (__m64)__builtin_ia32_pavgw((__v4hi)__a, (__v4hi)__b); in _mm_avg_pu16()
|
D | mm3dnow.h | 132 return (__m64)__builtin_ia32_pmulhrw((__v4hi)__m1, (__v4hi)__m2); in _m_pmulhrw()
|
/external/llvm-project/clang/lib/Headers/ |
D | mmintrin.h | 17 typedef short __v4hi __attribute__((__vector_size__(8))); typedef 129 return (__m64)__builtin_ia32_packsswb((__v4hi)__m1, (__v4hi)__m2); in _mm_packs_pi16() 189 return (__m64)__builtin_ia32_packuswb((__v4hi)__m1, (__v4hi)__m2); in _mm_packs_pu16() 239 return (__m64)__builtin_ia32_punpckhwd((__v4hi)__m1, (__v4hi)__m2); in _mm_unpackhi_pi16() 310 return (__m64)__builtin_ia32_punpcklwd((__v4hi)__m1, (__v4hi)__m2); in _mm_unpacklo_pi16() 373 return (__m64)__builtin_ia32_paddw((__v4hi)__m1, (__v4hi)__m2); in _mm_add_pi16() 439 return (__m64)__builtin_ia32_paddsw((__v4hi)__m1, (__v4hi)__m2); in _mm_adds_pi16() 483 return (__m64)__builtin_ia32_paddusw((__v4hi)__m1, (__v4hi)__m2); in _mm_adds_pu16() 525 return (__m64)__builtin_ia32_psubw((__v4hi)__m1, (__v4hi)__m2); in _mm_sub_pi16() 592 return (__m64)__builtin_ia32_psubsw((__v4hi)__m1, (__v4hi)__m2); in _mm_subs_pi16() [all …]
|
D | tmmintrin.h | 70 return (__m64)__builtin_ia32_pabsw((__v4hi)__a); in _mm_abs_pi16() 239 return (__m64)__builtin_ia32_phaddw((__v4hi)__a, (__v4hi)__b); in _mm_hadd_pi16() 312 return (__m64)__builtin_ia32_phaddsw((__v4hi)__a, (__v4hi)__b); in _mm_hadds_pi16() 381 return (__m64)__builtin_ia32_phsubw((__v4hi)__a, (__v4hi)__b); in _mm_hsub_pi16() 454 return (__m64)__builtin_ia32_phsubsw((__v4hi)__a, (__v4hi)__b); in _mm_hsubs_pi16() 558 return (__m64)__builtin_ia32_pmulhrsw((__v4hi)__a, (__v4hi)__b); in _mm_mulhrs_pi16() 739 return (__m64)__builtin_ia32_psignw((__v4hi)__a, (__v4hi)__b); in _mm_sign_pi16()
|
D | xmmintrin.h | 2184 (int)__builtin_ia32_vec_ext_v4hi((__v4hi)a, (int)n) 2215 (__m64)__builtin_ia32_vec_set_v4hi((__v4hi)a, (int)d, (int)n) 2233 return (__m64)__builtin_ia32_pmaxsw((__v4hi)__a, (__v4hi)__b); in _mm_max_pi16() 2271 return (__m64)__builtin_ia32_pminsw((__v4hi)__a, (__v4hi)__b); in _mm_min_pi16() 2327 return (__m64)__builtin_ia32_pmulhuw((__v4hi)__a, (__v4hi)__b); in _mm_mulhi_pu16() 2362 (__m64)__builtin_ia32_pshufw((__v4hi)(__m64)(a), (n)) 2428 return (__m64)__builtin_ia32_pavgw((__v4hi)__a, (__v4hi)__b); in _mm_avg_pu16()
|
D | mm3dnow.h | 118 return (__m64)__builtin_ia32_pmulhrw((__v4hi)__m1, (__v4hi)__m2); in _m_pmulhrw()
|
D | avx512vlintrin.h | 7611 __builtin_convertvector((__v4si)__A, __v4hi), (__v4hi){0, 0, 0, 0}, 0, 1, in _mm_cvtepi32_epi16() 7811 __builtin_convertvector((__v4di)__A, __v4hi), (__v4hi){0, 0, 0, 0}, 0, 1, in _mm256_cvtepi64_epi16()
|
/external/llvm-project/clang/test/CodeGen/ |
D | vector.c | 2 typedef short __v4hi __attribute__ ((__vector_size__ (8))); typedef 5 __v4hi A = (__v4hi)0LL; in test1() 8 __v4hi x = {1,2,3}; 9 __v4hi y = {1,2,3,4};
|
/external/clang/test/CodeGen/ |
D | vector.c | 2 typedef short __v4hi __attribute__ ((__vector_size__ (8))); typedef 5 __v4hi A = (__v4hi)0LL; in test1() 8 __v4hi x = {1,2,3}; 9 __v4hi y = {1,2,3,4};
|
/external/clang/test/Sema/ |
D | exprs.c | 138 typedef short __v4hi __attribute__((__vector_size__(8))); in test14() typedef 141 __v4hi a; in test14() 142 __m64 mask = (__m64)((__v4hi)a > (__v4hi)a); in test14()
|
/external/llvm-project/clang/test/Sema/ |
D | exprs.c | 138 typedef short __v4hi __attribute__((__vector_size__(8))); in test14() typedef 141 __v4hi a; in test14() 142 __m64 mask = (__m64)((__v4hi)a > (__v4hi)a); in test14()
|
/external/clang/test/CodeGenCXX/ |
D | rtti-layout.cpp | 107 typedef short __v4hi __attribute__ ((__vector_size__ (8))); in f() typedef 108 CHECK_VTABLE(__v4hi, fundamental); in f()
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | rtti-layout.cpp | 107 typedef short __v4hi __attribute__ ((__vector_size__ (8))); in f() typedef 108 CHECK_VTABLE(__v4hi, fundamental); in f()
|
/external/llvm-project/llvm/test/CodeGen/X86/ |
D | shuffle-vs-trunc-256.ll | 714 ; return (__m128i) {(long long)__builtin_convertvector((__v4di)x, __v4hi), 0};
|