Lines Matching full:mode
9 // Check that non-vector 'mode' attribute is OK with enumeration types. in CheckEnumerations()
10 typedef T __attribute__((mode(QI))) T1; in CheckEnumerations()
11 typedef T T2 __attribute__((mode(HI))); in CheckEnumerations()
12 …typedef T __attribute__((mode(V8SI))) T3; // expected-error{{mode 'V8SI' is not supported for enum… in CheckEnumerations()
13 // expected-warning@-1{{specifying vector types with the 'mode' attribute is deprecated}} in CheckEnumerations()
15 typedef enum __attribute__((mode(HI))) { A4, B4 } T4; in CheckEnumerations()
16 typedef enum { A5, B5 } __attribute__((mode(SI))) T5; in CheckEnumerations()
17 …typedef enum __attribute__((mode(V2SI))) { A6, B6 } T6; // expected-error{{mode 'V2SI' is not supp… in CheckEnumerations()
19 …typedef enum { A7, B7 } __attribute__((mode(V2QI))) T7; // expected-error{{mode 'V2QI' is not supp… in CheckEnumerations()
27 …typedef T __attribute__((mode(QI))) T1; // expected-error{{mode attribute only supported for in… in CheckPrimitiveTypes()
28 …typedef T __attribute__((mode(V2SI))) VT1; // expected-error{{mode attribute only supported for in… in CheckPrimitiveTypes()
29 // expected-warning@-1{{specifying vector types with the 'mode' attribute is deprecated}} in CheckPrimitiveTypes()
36 …typedef T __attribute__((mode(QI))) T1; // expected-error{{type of machine mode does not match typ… in CheckMachineMode()
37 …typedef T __attribute__((mode(HI))) T2; // expected-error{{type of machine mode does not match typ… in CheckMachineMode()
38 …typedef T __attribute__((mode(SI))) T3; // expected-error{{type of machine mode does not match typ… in CheckMachineMode()
39 …typedef T __attribute__((mode(DI))) T4; // expected-error{{type of machine mode does not match typ… in CheckMachineMode()
40 …typedef T __attribute__((mode(SF))) T5; // expected-error2{{type of machine mode does not match ty… in CheckMachineMode()
41 …typedef T __attribute__((mode(DF))) T6; // expected-error2{{type of machine mode does not match ty… in CheckMachineMode()
42 typedef T __attribute__((mode(II))) T7; // expected-error{{unknown machine mode}} in CheckMachineMode()
43 …typedef T __attribute__((mode(12))) T8; // expected-error{{'mode' attribute requires an identifier… in CheckMachineMode()
48 void CheckParameters(T1 __attribute__((mode(SI))) paramSI, // expected-note2{{ignored: substi… in CheckParameters()
49 T1 __attribute__((mode(V4DI))) paramV4DI, // expected-warning{{deprecated}} in CheckParameters()
50 T2 __attribute__((mode(SF))) paramSF, in CheckParameters()
51 T2 __attribute__((mode(V4DF))) paramV4DF) { // expected-warning{{deprecated}} in CheckParameters()
59 T __attribute__((mode(HI))) x1;
60 …T __attribute__((mode(V4HI))) x2; // expected-error{{mode 'V4HI' is not supported for en…
64 typedef T __attribute__((mode(DI))) T1;
65 …typedef T __attribute__((mode(V8DI))) T2; // expected-error{{mode 'V8DI' is not supported for en…
69 void f1(T __attribute__((mode(QI))) x) {} in f1()
70 …void f2(T __attribute__((mode(SF))) x) {} // expected-error2{{type of machine mode does not matc… in f2()
71 …void f3(T __attribute__((mode(V4QI))) x) {} // expected-error{{mode 'V4QI' is not supported for en… in f3()
75 …__attribute__((mode(QI))) T g1() { return 0; } // expected-error{{'mode' attribute only applies to… in g1()
87 // 'II' mode is unknown, no matter what we instantiate with. in main()
92 int __attribute__((mode(V4DI))) valV4DI; // expected-warning{{deprecated}} in main()
93 float __attribute__((mode(V4DF))) valV4DF; // expected-warning{{deprecated}} in main()
96 // Enumeral type with vector mode is invalid. in main()
98 // 'V4DF' mode with 'int' type is invalid. in main()