/llvm-project/clang/test/CodeGen/arm-mve-intrinsics/ |
H A D | get-set-lane.c | 16 #ifdef POLYMORPHIC in test_vgetq_lane_f16() 18 #else /* POLYMORPHIC */ in test_vgetq_lane_f16() 20 #endif /* POLYMORPHIC */ in test_vgetq_lane_f16() 30 #ifdef POLYMORPHIC in test_vgetq_lane_f32() 32 #else /* POLYMORPHIC */ in test_vgetq_lane_f32() 34 #endif /* POLYMORPHIC */ in test_vgetq_lane_f32() 44 #ifdef POLYMORPHIC in test_vgetq_lane_s16() 46 #else /* POLYMORPHIC */ in test_vgetq_lane_s16() 48 #endif /* POLYMORPHIC */ in test_vgetq_lane_s16() 58 #ifdef POLYMORPHIC in test_vgetq_lane_s32() [all …]
|
H A D | reinterpret.c | 23 #ifdef POLYMORPHIC in test_vreinterpretq_f16_f32() 25 #else /* POLYMORPHIC */ in test_vreinterpretq_f16_f32() 27 #endif /* POLYMORPHIC */ in test_vreinterpretq_f16_f32() 37 #ifdef POLYMORPHIC in test_vreinterpretq_f16_s16() 39 #else /* POLYMORPHIC */ in test_vreinterpretq_f16_s16() 41 #endif /* POLYMORPHIC */ in test_vreinterpretq_f16_s16() 56 #ifdef POLYMORPHIC in test_vreinterpretq_f16_s32() 58 #else /* POLYMORPHIC */ in test_vreinterpretq_f16_s32() 60 #endif /* POLYMORPHIC */ in test_vreinterpretq_f16_s32() 75 #ifdef POLYMORPHIC in test_vreinterpretq_f16_s64() [all …]
|
H A D | vector-shift-imm.c | 16 #ifdef POLYMORPHIC in test_vshlq_n_s8() 18 #else /* POLYMORPHIC */ in test_vshlq_n_s8() 20 #endif /* POLYMORPHIC */ in test_vshlq_n_s8() 30 #ifdef POLYMORPHIC in test_vshlq_n_s16() 32 #else /* POLYMORPHIC */ in test_vshlq_n_s16() 34 #endif /* POLYMORPHIC */ in test_vshlq_n_s16() 44 #ifdef POLYMORPHIC in test_vshlq_n_s32() 46 #else /* POLYMORPHIC */ in test_vshlq_n_s32() 48 #endif /* POLYMORPHIC */ in test_vshlq_n_s32() 58 #ifdef POLYMORPHIC in test_vshlq_n_s8_trivial() [all...] |
H A D | vector-shift-imm-dyadic.c | 16 #ifdef POLYMORPHIC in test_vshrnbq_n_s16() 18 #else /* POLYMORPHIC */ in test_vshrnbq_n_s16() 20 #endif /* POLYMORPHIC */ in test_vshrnbq_n_s16() 30 #ifdef POLYMORPHIC in test_vshrnbq_n_s32() 32 #else /* POLYMORPHIC */ in test_vshrnbq_n_s32() 34 #endif /* POLYMORPHIC */ in test_vshrnbq_n_s32() 44 #ifdef POLYMORPHIC in test_vshrnbq_n_u16() 46 #else /* POLYMORPHIC */ in test_vshrnbq_n_u16() 48 #endif /* POLYMORPHIC */ in test_vshrnbq_n_u16() 58 #ifdef POLYMORPHIC in test_vshrnbq_n_u32() [all …]
|
H A D | vaddv.c | 15 #ifdef POLYMORPHIC in test_vaddvq_s8() 17 #else /* POLYMORPHIC */ in test_vaddvq_s8() 19 #endif /* POLYMORPHIC */ in test_vaddvq_s8() 28 #ifdef POLYMORPHIC in test_vaddvq_s16() 30 #else /* POLYMORPHIC */ in test_vaddvq_s16() 32 #endif /* POLYMORPHIC */ in test_vaddvq_s16() 41 #ifdef POLYMORPHIC in test_vaddvq_s32() 43 #else /* POLYMORPHIC */ in test_vaddvq_s32() 45 #endif /* POLYMORPHIC */ in test_vaddvq_s32() 54 #ifdef POLYMORPHIC in test_vaddvq_u8() [all …]
|
H A D | vrnd.c | 16 #ifdef POLYMORPHIC in test_vrndaq_f16() 18 #else /* POLYMORPHIC */ in test_vrndaq_f16() 20 #endif /* POLYMORPHIC */ in test_vrndaq_f16() 30 #ifdef POLYMORPHIC in test_vrndaq_f32() 32 #else /* POLYMORPHIC */ in test_vrndaq_f32() 34 #endif /* POLYMORPHIC */ in test_vrndaq_f32() 44 #ifdef POLYMORPHIC in test_vrndmq_f16() 46 #else /* POLYMORPHIC */ in test_vrndmq_f16() 48 #endif /* POLYMORPHIC */ in test_vrndmq_f16() 58 #ifdef POLYMORPHIC in test_vrndmq_f32() [all …]
|
H A D | vminvq.c | 17 #ifdef POLYMORPHIC in test_vminvq_s8() 19 #else /* POLYMORPHIC */ in test_vminvq_s8() 21 #endif /* POLYMORPHIC */ in test_vminvq_s8() 32 #ifdef POLYMORPHIC in test_vminvq_s16() 34 #else /* POLYMORPHIC */ in test_vminvq_s16() 36 #endif /* POLYMORPHIC */ in test_vminvq_s16() 45 #ifdef POLYMORPHIC in test_vminvq_s32() 47 #else /* POLYMORPHIC */ in test_vminvq_s32() 49 #endif /* POLYMORPHIC */ in test_vminvq_s32() 60 #ifdef POLYMORPHIC in test_vminvq_u8() [all …]
|
H A D | vector-shift-var.c | 16 #ifdef POLYMORPHIC in test_vshlq_s8() 18 #else /* POLYMORPHIC */ in test_vshlq_s8() 20 #endif /* POLYMORPHIC */ in test_vshlq_s8() 30 #ifdef POLYMORPHIC in test_vshlq_s16() 32 #else /* POLYMORPHIC */ in test_vshlq_s16() 34 #endif /* POLYMORPHIC */ in test_vshlq_s16() 44 #ifdef POLYMORPHIC in test_vshlq_s32() 46 #else /* POLYMORPHIC */ in test_vshlq_s32() 48 #endif /* POLYMORPHIC */ in test_vshlq_s32() 58 #ifdef POLYMORPHIC in test_vshlq_u8() [all …]
|
H A D | absneg.c | 16 #ifdef POLYMORPHIC in test_vabsq_f16() 18 #else /* POLYMORPHIC */ in test_vabsq_f16() 20 #endif /* POLYMORPHIC */ in test_vabsq_f16() 30 #ifdef POLYMORPHIC in test_vabsq_f32() 32 #else /* POLYMORPHIC */ in test_vabsq_f32() 34 #endif /* POLYMORPHIC */ in test_vabsq_f32() 46 #ifdef POLYMORPHIC in test_vabsq_s8() 48 #else /* POLYMORPHIC */ in test_vabsq_s8() 50 #endif /* POLYMORPHIC */ in test_vabsq_s8() 62 #ifdef POLYMORPHIC in test_vabsq_s16() [all...] |
H A D | vrev.c | 16 #ifdef POLYMORPHIC in test_vrev16q_s8() 18 #else /* POLYMORPHIC */ in test_vrev16q_s8() 20 #endif /* POLYMORPHIC */ in test_vrev16q_s8() 30 #ifdef POLYMORPHIC in test_vrev16q_u8() 32 #else /* POLYMORPHIC */ in test_vrev16q_u8() 34 #endif /* POLYMORPHIC */ in test_vrev16q_u8() 44 #ifdef POLYMORPHIC in test_vrev32q_s8() 46 #else /* POLYMORPHIC */ in test_vrev32q_s8() 48 #endif /* POLYMORPHIC */ in test_vrev32q_s8() 58 #ifdef POLYMORPHIC in test_vrev32q_u8() [all …]
|
H A D | vclz.c | 16 #ifdef POLYMORPHIC in test_vclzq_s8() 18 #else /* POLYMORPHIC */ in test_vclzq_s8() 20 #endif /* POLYMORPHIC */ in test_vclzq_s8() 30 #ifdef POLYMORPHIC in test_vclzq_s16() 32 #else /* POLYMORPHIC */ in test_vclzq_s16() 34 #endif /* POLYMORPHIC */ in test_vclzq_s16() 44 #ifdef POLYMORPHIC in test_vclzq_s32() 46 #else /* POLYMORPHIC */ in test_vclzq_s32() 48 #endif /* POLYMORPHIC */ in test_vclzq_s32() 58 #ifdef POLYMORPHIC in test_vclzq_u8() [all …]
|
H A D | vqdmlad.c | 15 #ifdef POLYMORPHIC in test_vqdmladhq_s8() 17 #else /* POLYMORPHIC */ in test_vqdmladhq_s8() 19 #endif /* POLYMORPHIC */ in test_vqdmladhq_s8() 28 #ifdef POLYMORPHIC in test_vqdmladhq_s16() 30 #else /* POLYMORPHIC */ in test_vqdmladhq_s16() 32 #endif /* POLYMORPHIC */ in test_vqdmladhq_s16() 41 #ifdef POLYMORPHIC in test_vqdmladhq_s32() 43 #else /* POLYMORPHIC */ in test_vqdmladhq_s32() 45 #endif /* POLYMORPHIC */ in test_vqdmladhq_s32() 54 #ifdef POLYMORPHIC in test_vqdmladhxq_s8() [all …]
|
H A D | vqmovn.c | 16 #ifdef POLYMORPHIC in test_vqmovnbq_s16() 18 #else /* POLYMORPHIC */ in test_vqmovnbq_s16() 20 #endif /* POLYMORPHIC */ in test_vqmovnbq_s16() 30 #ifdef POLYMORPHIC in test_vqmovnbq_s32() 32 #else /* POLYMORPHIC */ in test_vqmovnbq_s32() 34 #endif /* POLYMORPHIC */ in test_vqmovnbq_s32() 44 #ifdef POLYMORPHIC in test_vqmovnbq_u16() 46 #else /* POLYMORPHIC */ in test_vqmovnbq_u16() 48 #endif /* POLYMORPHIC */ in test_vqmovnbq_u16() 58 #ifdef POLYMORPHIC in test_vqmovnbq_u32() [all …]
|
H A D | scatter-gather.c | 16 #ifdef POLYMORPHIC in test_vldrbq_gather_offset_s16() 18 #else /* POLYMORPHIC */ in test_vldrbq_gather_offset_s16() 20 #endif /* POLYMORPHIC */ in test_vldrbq_gather_offset_s16() 30 #ifdef POLYMORPHIC in test_vldrbq_gather_offset_s32() 32 #else /* POLYMORPHIC */ in test_vldrbq_gather_offset_s32() 34 #endif /* POLYMORPHIC */ in test_vldrbq_gather_offset_s32() 44 #ifdef POLYMORPHIC in test_vldrbq_gather_offset_s8() 46 #else /* POLYMORPHIC */ in test_vldrbq_gather_offset_s8() 48 #endif /* POLYMORPHIC */ in test_vldrbq_gather_offset_s8() 58 #ifdef POLYMORPHIC in test_vldrbq_gather_offset_u16() [all …]
|
H A D | ternary.c | 15 #ifdef POLYMORPHIC in test_vfmaq_f16() 17 #else /* POLYMORPHIC */ in test_vfmaq_f16() 19 #endif /* POLYMORPHIC */ in test_vfmaq_f16() 28 #ifdef POLYMORPHIC in test_vfmaq_f32() 30 #else /* POLYMORPHIC */ in test_vfmaq_f32() 32 #endif /* POLYMORPHIC */ in test_vfmaq_f32() 43 #ifdef POLYMORPHIC in test_vfmaq_n_f16() 45 #else /* POLYMORPHIC */ in test_vfmaq_n_f16() 47 #endif /* POLYMORPHIC */ in test_vfmaq_n_f16() 58 #ifdef POLYMORPHIC in test_vfmaq_n_f32() [all...] |
H A D | load-store.c | 16 #ifdef POLYMORPHIC in test_vld1q_f16() 18 #else /* POLYMORPHIC */ in test_vld1q_f16() 20 #endif /* POLYMORPHIC */ in test_vld1q_f16() 30 #ifdef POLYMORPHIC in test_vld1q_f32() 32 #else /* POLYMORPHIC */ in test_vld1q_f32() 34 #endif /* POLYMORPHIC */ in test_vld1q_f32() 44 #ifdef POLYMORPHIC in test_vld1q_s8() 46 #else /* POLYMORPHIC */ in test_vld1q_s8() 48 #endif /* POLYMORPHIC */ in test_vld1q_s8() 58 #ifdef POLYMORPHIC in test_vld1q_s16() [all …]
|
H A D | vmovl.c | 17 #ifdef POLYMORPHIC in test_vmovlbq_s8() 19 #else /* POLYMORPHIC */ in test_vmovlbq_s8() 21 #endif /* POLYMORPHIC */ in test_vmovlbq_s8() 32 #ifdef POLYMORPHIC in test_vmovlbq_s16() 34 #else /* POLYMORPHIC */ in test_vmovlbq_s16() 36 #endif /* POLYMORPHIC */ in test_vmovlbq_s16() 47 #ifdef POLYMORPHIC in test_vmovlbq_u8() 49 #else /* POLYMORPHIC */ in test_vmovlbq_u8() 51 #endif /* POLYMORPHIC */ in test_vmovlbq_u8() 62 #ifdef POLYMORPHIC in test_vmovlbq_u16() [all …]
|
H A D | compare.c | 18 #ifdef POLYMORPHIC in test_vcmpeqq_f16() 20 #else /* POLYMORPHIC */ in test_vcmpeqq_f16() 22 #endif /* POLYMORPHIC */ in test_vcmpeqq_f16() 34 #ifdef POLYMORPHIC in test_vcmpeqq_f32() 36 #else /* POLYMORPHIC */ in test_vcmpeqq_f32() 38 #endif /* POLYMORPHIC */ in test_vcmpeqq_f32() 50 #ifdef POLYMORPHIC in test_vcmpeqq_s8() 52 #else /* POLYMORPHIC */ in test_vcmpeqq_s8() 54 #endif /* POLYMORPHIC */ in test_vcmpeqq_s8() 66 #ifdef POLYMORPHIC in test_vcmpeqq_s16() [all...] |
H A D | vmulq.c | 16 #ifdef POLYMORPHIC in test_vmulq_u8() 18 #else /* POLYMORPHIC */ in test_vmulq_u8() 20 #endif /* POLYMORPHIC */ in test_vmulq_u8() 30 #ifdef POLYMORPHIC in test_vmulq_s16() 32 #else /* POLYMORPHIC */ in test_vmulq_s16() 34 #endif /* POLYMORPHIC */ in test_vmulq_s16() 44 #ifdef POLYMORPHIC in test_vmulq_u32() 46 #else /* POLYMORPHIC */ in test_vmulq_u32() 48 #endif /* POLYMORPHIC */ in test_vmulq_u32() 58 #ifdef POLYMORPHIC in test_vmulq_f32() [all …]
|
H A D | idup.c | 17 #ifdef POLYMORPHIC in test_vidupq_n_u8() 19 #else /* POLYMORPHIC */ in test_vidupq_n_u8() 21 #endif /* POLYMORPHIC */ in test_vidupq_n_u8() 32 #ifdef POLYMORPHIC in test_vidupq_n_u16() 34 #else /* POLYMORPHIC */ in test_vidupq_n_u16() 36 #endif /* POLYMORPHIC */ in test_vidupq_n_u16() 47 #ifdef POLYMORPHIC in test_vidupq_n_u32() 49 #else /* POLYMORPHIC */ in test_vidupq_n_u32() 51 #endif /* POLYMORPHIC */ in test_vidupq_n_u32() 62 #ifdef POLYMORPHIC in test_vddupq_n_u8() [all …]
|
H A D | bitwise-imm.c | 16 #ifdef POLYMORPHIC in test_vbicq_n_s16() 18 #else /* POLYMORPHIC */ in test_vbicq_n_s16() 20 #endif /* POLYMORPHIC */ in test_vbicq_n_s16() 30 #ifdef POLYMORPHIC in test_vbicq_n_s32() 32 #else /* POLYMORPHIC */ in test_vbicq_n_s32() 34 #endif /* POLYMORPHIC */ in test_vbicq_n_s32() 44 #ifdef POLYMORPHIC in test_vbicq_n_u16() 46 #else /* POLYMORPHIC */ in test_vbicq_n_u16() 48 #endif /* POLYMORPHIC */ in test_vbicq_n_u16() 58 #ifdef POLYMORPHIC in test_vbicq_n_u32() [all...] |
H A D | vhaddq.c | 16 #ifdef POLYMORPHIC in test_vhaddq_u8() 18 #else /* POLYMORPHIC */ in test_vhaddq_u8() 20 #endif /* POLYMORPHIC */ in test_vhaddq_u8() 30 #ifdef POLYMORPHIC in test_vhaddq_s16() 32 #else /* POLYMORPHIC */ in test_vhaddq_s16() 34 #endif /* POLYMORPHIC */ in test_vhaddq_s16() 44 #ifdef POLYMORPHIC in test_vhaddq_u32() 46 #else /* POLYMORPHIC */ in test_vhaddq_u32() 48 #endif /* POLYMORPHIC */ in test_vhaddq_u32() 60 #ifdef POLYMORPHIC in test_vhaddq_m_s8() [all …]
|
/llvm-project/flang/test/Semantics/ |
H A D | doconcurrent08.f90 | 2 ! C1140 -- A statement that might result in the deallocation of a polymorphic 10 ! Child type so we can allocate polymorphic entities 15 ! Type with a polymorphic, allocatable component 25 ! Type with a polymorphic, allocatable, coarray component 30 ! Type with a polymorphic, pointer component 40 ! Test deallocation of polymorphic entities caused by block exit 59 ! Test polymorphic entities 60 ! OK because it's a pointer to a polymorphic entity 63 ! OK because it's not polymorphic 66 ! OK because it's not polymorphic [all …]
|
/llvm-project/clang/test/Analysis/ |
H A D | DeleteWithNonVirtualDtor.cpp | 41 delete x; // expected-warning{{Destruction of a polymorphic object with no virtual destructor}} in sink() 42 // expected-note@-1{{Destruction of a polymorphic object with no virtual destructor}} in sink() 56 delete sd; // expected-warning{{Destruction of a polymorphic object with no virtual destructor}} in singleDerived() 57 // expected-note@-1{{Destruction of a polymorphic object with no virtual destructor}} in singleDerived() 62 …delete[] sda; // expected-warning{{Destruction of a polymorphic object with no virtual destructor}} in singleDerivedArr() 63 // expected-note@-1{{Destruction of a polymorphic object with no virtual destructor}} in singleDerivedArr() 68 delete (dd); // expected-warning{{Destruction of a polymorphic object with no virtual destructor}} in doubleDerived() 69 // expected-note@-1{{Destruction of a polymorphic object with no virtual destructor}} in doubleDerived() 74 delete atf; // expected-warning{{Destruction of a polymorphic object with no virtual destructor}} in assignThroughFunction() 75 // expected-note@-1{{Destruction of a polymorphic object with no virtual destructor}} in assignThroughFunction() [all …]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/bugprone/ |
H A D | pointer-arithmetic-on-polymorphic-object-all.cpp | 1 // RUN: %check_clang_tidy %s bugprone-pointer-arithmetic-on-polymorphic-object %t -- 29 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators() 32 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators() 35 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators() 38 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators() 41 …polymorphic object of type 'Base' can result in undefined behavior if the dynamic type differs fro… in operators() 52 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Base' in subclassWarnings() 61 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Deri… in subclassWarnings() 79 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Abst… in abstractWarnings() 86 …// CHECK-MESSAGES: :[[@LINE-1]]:3: warning: pointer arithmetic on polymorphic object of type 'Abst… in abstractWarnings() [all …]
|