simd_bool_reductions.h 977 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _SIMD_BOOL_REDUCTIONS_H_
  6. #define _SIMD_BOOL_REDUCTIONS_H_
  7. #include "../aot_compiler.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. bool
  12. aot_compile_simd_i8x16_all_true(AOTCompContext *comp_ctx,
  13. AOTFuncContext *func_ctx);
  14. bool
  15. aot_compile_simd_i16x8_all_true(AOTCompContext *comp_ctx,
  16. AOTFuncContext *func_ctx);
  17. bool
  18. aot_compile_simd_i32x4_all_true(AOTCompContext *comp_ctx,
  19. AOTFuncContext *func_ctx);
  20. bool
  21. aot_compile_simd_i64x2_all_true(AOTCompContext *comp_ctx,
  22. AOTFuncContext *func_ctx);
  23. bool
  24. aot_compile_simd_v128_any_true(AOTCompContext *comp_ctx,
  25. AOTFuncContext *func_ctx);
  26. #ifdef __cplusplus
  27. } /* end of extern "C" */
  28. #endif
  29. #endif /* end of _SIMD_BOOL_REDUCTIONS_H_ */