[Flang] remove whole-archive option for AIX linker (#76039)
[llvm-project.git] / clang / test / CodeGenCXX / fixed-point-mangle.cpp
blob103990a61316a9c1343e20b4febcd6ea537f2296
1 // RUN: %clang_cc1 -ffixed-point -S -emit-llvm %s -o - -triple=x86_64-unknown-linux-gnu | FileCheck %s
3 // Primary fixed point types
4 void func(signed short _Accum){} // CHECK: @_Z4funcDAs
5 void func(signed _Accum){} // CHECK: @_Z4funcDAi
6 void func(signed long _Accum){} // CHECK: @_Z4funcDAl
7 void func(unsigned short _Accum){} // CHECK: @_Z4funcDAt
8 void func(unsigned _Accum){} // CHECK: @_Z4funcDAj
9 void func(unsigned long _Accum){} // CHECK: @_Z4funcDAm
10 void func(signed short _Fract){} // CHECK: @_Z4funcDRs
11 void func(signed _Fract){} // CHECK: @_Z4funcDRi
12 void func(signed long _Fract){} // CHECK: @_Z4funcDRl
13 void func(unsigned short _Fract){} // CHECK: @_Z4funcDRt
14 void func(unsigned _Fract){} // CHECK: @_Z4funcDRj
15 void func(unsigned long _Fract){} // CHECK: @_Z4funcDRm
17 // Aliased
18 void func2(short _Accum){} // CHECK: @_Z5func2DAs
19 void func2(_Accum){} // CHECK: @_Z5func2DAi
20 void func2(long _Accum){} // CHECK: @_Z5func2DAl
21 void func2(short _Fract){} // CHECK: @_Z5func2DRs
22 void func2(_Fract){} // CHECK: @_Z5func2DRi
23 void func2(long _Fract){} // CHECK: @_Z5func2DRl
25 // Primary saturated
26 void func(_Sat signed short _Accum){} // CHECK: @_Z4funcDSDAs
27 void func(_Sat signed _Accum){} // CHECK: @_Z4funcDSDAi
28 void func(_Sat signed long _Accum){} // CHECK: @_Z4funcDSDAl
29 void func(_Sat unsigned short _Accum){} // CHECK: @_Z4funcDSDAt
30 void func(_Sat unsigned _Accum){} // CHECK: @_Z4funcDSDAj
31 void func(_Sat unsigned long _Accum){} // CHECK: @_Z4funcDSDAm
32 void func(_Sat signed short _Fract){} // CHECK: @_Z4funcDSDRs
33 void func(_Sat signed _Fract){} // CHECK: @_Z4funcDSDRi
34 void func(_Sat signed long _Fract){} // CHECK: @_Z4funcDSDRl
35 void func(_Sat unsigned short _Fract){} // CHECK: @_Z4funcDSDRt
36 void func(_Sat unsigned _Fract){} // CHECK: @_Z4funcDSDRj
37 void func(_Sat unsigned long _Fract){} // CHECK: @_Z4funcDSDRm
39 // Aliased saturated
40 void func2(_Sat short _Accum){} // CHECK: @_Z5func2DSDAs
41 void func2(_Sat _Accum){} // CHECK: @_Z5func2DSDAi
42 void func2(_Sat long _Accum){} // CHECK: @_Z5func2DSDAl
43 void func2(_Sat short _Fract){} // CHECK: @_Z5func2DSDRs
44 void func2(_Sat _Fract){} // CHECK: @_Z5func2DSDRi
45 void func2(_Sat long _Fract){} // CHECK: @_Z5func2DSDRl