9 #include "llvm/Support/Compiler.h"
13 #if (defined(_WIN32) || defined(__CYGWIN__))
14 #ifndef MLIR_ARMSMEABISTUBS_EXPORTED
15 #ifdef mlir_arm_sme_abi_stubs_EXPORTS
17 #define MLIR_ARMSMEABISTUBS_EXPORTED __declspec(dllexport)
20 #define MLIR_ARMSMEABISTUBS_EXPORTED __declspec(dllimport)
24 #define MLIR_ARMSMEABISTUBS_EXPORTED \
25 __attribute__((visibility("default"))) LLVM_ATTRIBUTE_WEAK
48 std::cerr <<
"[warning] __arm_sme_state() stubbed!\n";
53 std::cerr <<
"[warning] __arm_tpidr2_restore() stubbed!\n";
57 std::cerr <<
"[warning] __arm_tpidr2_save() stubbed!\n";
61 std::cerr <<
"[warning] __arm_za_disable() stubbed!\n";
sme_state MLIR_ARMSMEABISTUBS_EXPORTED __arm_sme_state()
void MLIR_ARMSMEABISTUBS_EXPORTED __arm_tpidr2_save()
#define MLIR_ARMSMEABISTUBS_EXPORTED
bool MLIR_ARMSMEABISTUBS_EXPORTED __aarch64_sme_accessible()
void MLIR_ARMSMEABISTUBS_EXPORTED __arm_tpidr2_restore()
void MLIR_ARMSMEABISTUBS_EXPORTED __arm_za_disable()