Searched refs:SWIFTCALL (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | attr-swiftcall.c | 4 #define SWIFTCALL __attribute__((swiftcall)) macro 11 int notAFunction SWIFTCALL; // expected-warning {{'swiftcall' only applies to function types; type … variable 13 void variadic(int x, ...) SWIFTCALL; // expected-error {{variadic function cannot use swiftcall cal… 19 void (*functionPointer)(void) SWIFTCALL; 25 void indirect_result_single(INDIRECT_RESULT void *out) SWIFTCALL; 26 void indirect_result_multiple(INDIRECT_RESULT void *out1, INDIRECT_RESULT void *out2) SWIFTCALL; 34 void error_result_okay(int a, int b, CONTEXT void *context, ERROR_RESULT void **error) SWIFTCALL; 39 void context_okay(CONTEXT void *context) SWIFTCALL; 40 void context_okay2(CONTEXT void *context, void *selfType, char **selfWitnessTable) SWIFTCALL; 48 void async_context_okay(ASYNC_CONTEXT void *context) SWIFTCALL; [all …]
|
| /llvm-project-15.0.7/clang/test/SemaCXX/ |
| H A D | attr-swiftcall.cpp | 3 #define SWIFTCALL __attribute__((swiftcall)) macro 10 int notAFunction SWIFTCALL; // expected-warning {{'swiftcall' only applies to function types; type … variable 12 void variadic(int x, ...) SWIFTCALL; // expected-error {{variadic function cannot use swiftcall cal… 16 void (*functionPointer)(void) SWIFTCALL; 22 void indirect_result_single(INDIRECT_RESULT void *out) SWIFTCALL; 23 void indirect_result_multiple(INDIRECT_RESULT void *out1, INDIRECT_RESULT void *out2) SWIFTCALL; 31 void error_result_okay(int a, int b, CONTEXT void *context, ERROR_RESULT void **error) SWIFTCALL; 32 …NTEXT void *context, ERROR_RESULT void **error, void *selfType, char **selfWitnessTable) SWIFTCALL; 36 void context_okay(CONTEXT void *context) SWIFTCALL; 37 void context_okay(CONTEXT void *context, void *selfType, char **selfWitnessTable) SWIFTCALL; [all …]
|
| /llvm-project-15.0.7/clang/test/CodeGen/ |
| H A D | windows-swiftcall.c | 3 #define SWIFTCALL __attribute__((swiftcall)) macro 14 SWIFTCALL void indirect_result_1(OUT int *arg0, OUT float *arg1) {} in indirect_result_1() 18 SWIFTCALL int indirect_result_2(OUT int *arg0, OUT float *arg1) { __builtin_unreachable(); } in indirect_result_2() 22 SWIFTCALL struct_reallybig indirect_result_3(OUT int *arg0, OUT float *arg1) { __builtin_unreachabl… in indirect_result_3() 25 SWIFTCALL void context_1(CONTEXT void *self) {} in context_1() 28 SWIFTCALL void context_2(void *arg0, CONTEXT void *self) {} in context_2() 31 SWIFTCALL void context_error_1(CONTEXT int *self, ERROR float **error) {} in context_error_1() 53 SWIFTCALL void context_error_2(short s, CONTEXT int *self, ERROR float **error) {} in context_error_2() 70 SWIFTCALL TYPE return_##TYPE(void) { \ 74 SWIFTCALL void take_##TYPE(TYPE v) { \
|
| H A D | 64bit-swiftcall.c | 8 #define SWIFTCALL __attribute__((swiftcall)) macro 24 SWIFTCALL void indirect_result_1(OUT int *arg0, OUT float *arg1) {} in indirect_result_1() 28 SWIFTCALL int indirect_result_2(OUT int *arg0, OUT float *arg1) { __builtin_unreachable(); } in indirect_result_2() 35 SWIFTCALL void context_1(CONTEXT void *self) {} in context_1() 41 SWIFTCALL void context_2(void *arg0, CONTEXT void *self) {} in context_2() 47 SWIFTCALL void context_error_1(CONTEXT int *self, ERROR float **error) {} in context_error_1() 69 SWIFTCALL void context_error_2(short s, CONTEXT int *self, ERROR float **error) {} in context_error_2() 90 SWIFTCALL TYPE return_##TYPE(void) { \ 94 SWIFTCALL void take_##TYPE(TYPE v) { \ 1067 SWIFTCALL void use_atomic(atomic_double_word a) {} in use_atomic() [all …]
|
| H A D | arm-swiftcall.c | 5 #define SWIFTCALL __attribute__((swiftcall)) macro 16 SWIFTCALL void indirect_result_1(OUT int *arg0, OUT float *arg1) {} in indirect_result_1() 20 SWIFTCALL int indirect_result_2(OUT int *arg0, OUT float *arg1) { __builtin_unreachable(); } in indirect_result_2() 24 SWIFTCALL struct_reallybig indirect_result_3(OUT int *arg0, OUT float *arg1) { __builtin_unreachabl… in indirect_result_3() 27 SWIFTCALL void context_1(CONTEXT void *self) {} in context_1() 33 SWIFTCALL void context_2(void *arg0, CONTEXT void *self) {} in context_2() 39 SWIFTCALL void context_error_1(CONTEXT int *self, ERROR float **error) {} in context_error_1() 61 SWIFTCALL void context_error_2(short s, CONTEXT int *self, ERROR float **error) {} in context_error_2() 82 SWIFTCALL TYPE return_##TYPE(void) { \ 86 SWIFTCALL void take_##TYPE(TYPE v) { \
|
| H A D | swift-async-call-conv.c | 16 #define SWIFTCALL __attribute__((swiftcall)) macro 120 SWIFTCALL char sync_calling_async(MYBOOL b, unsigned u) { in sync_calling_async()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | arm-swiftcall.cpp | 6 #define SWIFTCALL __attribute__((swiftcall)) macro 16 extern "C" SWIFTCALL TYPE return_##TYPE(void) { \ 20 extern "C" SWIFTCALL void take_##TYPE(TYPE v) { \ 124 extern "C" SWIFTCALL
|
| H A D | windows-x86-swiftcall.cpp | 3 #define SWIFTCALL __attribute__((swiftcall)) macro 19 SWIFTCALL int receiveNonTrivial(NonTrivial o) { return o.o; } in receiveNonTrivial()
|