Lines Matching defs:cpu_dispatch
34 int __attribute__((cpu_dispatch(atom))) redecl2(void);
35 int __attribute__((cpu_dispatch(atom))) redecl2(void) { }
38 int __attribute__((cpu_dispatch(atom))) redecl2(void) { }
41 int __attribute__((cpu_dispatch(atom))) allow_fwd_decl(void) {}
49 int __attribute__((cpu_dispatch(atom))) allow_fwd_decl2(void) {}
53 // expected-error@+1 {{function declaration is missing 'cpu_specific' or 'cpu_dispatch' attribute in a multiversioned function}}
74 int __attribute((cpu_dispatch(atom))) mult_dispatch(void) {}
75 // expected-error@+2 {{'cpu_dispatch' function redeclared with different CPUs}}
77 int __attribute((cpu_dispatch(ivybridge))) mult_dispatch(void) {}
79 // expected-error@+1 {{'cpu_dispatch' attribute takes at least 1 argument}}
80 int __attribute((cpu_dispatch())) no_dispatch(void) {}
92 // expected-error@+2 {{'cpu_dispatch' and 'cpu_specific' attributes are not compatible}}
94 void __attribute((cpu_specific(sandybridge), cpu_dispatch(atom, sandybridge)))
97 int __attribute__((cpu_dispatch(ivybridge))) diff_cc(void){}
101 // expected-warning@+2 {{body of cpu_dispatch function will be ignored}}
102 int __attribute__((cpu_dispatch(atom))) disp_with_body(void) {
119 int __attribute__((cpu_dispatch(pentium_iii, pentium_iii_no_xmm_regs))) dupe_p3(void);
125 // expected-error@+1 {{function declaration is missing 'cpu_specific' or 'cpu_dispatch' attribute in a multiversioned function}}
134 int __attribute__((cpu_dispatch(generic))) bad_overload3(void);
136 // expected-error@+1 {{function declaration is missing 'cpu_specific' or 'cpu_dispatch' attribute in a multiversioned function}}
142 int __attribute__((cpu_dispatch(generic))) bad_overload4(void);