jit_emit_compare.h 657 B

1234567891011121314151617181920212223242526272829303132
  1. /*
  2. * Copyright (C) 2019 Intel Corporation. All rights reserved.
  3. * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. */
  5. #ifndef _JIT_EMIT_COMPARE_H_
  6. #define _JIT_EMIT_COMPARE_H_
  7. #include "../jit_compiler.h"
  8. #include "../jit_frontend.h"
  9. #ifdef __cplusplus
  10. extern "C" {
  11. #endif
  12. bool
  13. jit_compile_op_i32_compare(JitCompContext *cc, IntCond cond);
  14. bool
  15. jit_compile_op_i64_compare(JitCompContext *cc, IntCond cond);
  16. bool
  17. jit_compile_op_f32_compare(JitCompContext *cc, FloatCond cond);
  18. bool
  19. jit_compile_op_f64_compare(JitCompContext *cc, FloatCond cond);
  20. #ifdef __cplusplus
  21. } /* end of extern "C" */
  22. #endif
  23. #endif /* end of _JIT_EMIT_COMPARE_H_ */