simd_common.h 677 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _SIMD_COMMON_H_
  6. #define _SIMD_COMMON_H_
  7. #include "../aot_compiler.h"
  8. LLVMValueRef
  9. simd_pop_v128_and_bitcast(const AOTCompContext *comp_ctx,
  10. const AOTFuncContext *func_ctx,
  11. LLVMTypeRef vec_type,
  12. const char *name);
  13. bool
  14. simd_bitcast_and_push_v128(const AOTCompContext *comp_ctx,
  15. const AOTFuncContext *func_ctx,
  16. LLVMValueRef vector,
  17. const char *name);
  18. #endif /* _SIMD_COMMON_H_ */