jit_emit_const.h 626 B

12345678910111213141516171819202122232425262728293031
  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_CONST_H_
  6. #define _JIT_EMIT_CONST_H_
  7. #include "../jit_compiler.h"
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif
  11. bool
  12. jit_compile_op_i32_const(JitCompContext *cc, int32 i32_const);
  13. bool
  14. jit_compile_op_i64_const(JitCompContext *cc, int64 i64_const);
  15. bool
  16. jit_compile_op_f32_const(JitCompContext *cc, float32 f32_const);
  17. bool
  18. jit_compile_op_f64_const(JitCompContext *cc, float64 f64_const);
  19. #ifdef __cplusplus
  20. } /* end of extern "C" */
  21. #endif
  22. #endif /* end of _JIT_EMIT_CONST_H_ */