a64instapi_p.h (1294B)
1 // This file is part of AsmJit project <https://asmjit.com> 2 // 3 // See <asmjit/core.h> or LICENSE.md for license and copyright information 4 // SPDX-License-Identifier: Zlib 5 6 #ifndef ASMJIT_ARM_A64INSTAPI_P_H_INCLUDED 7 #define ASMJIT_ARM_A64INSTAPI_P_H_INCLUDED 8 9 #include "../core/inst.h" 10 #include "../core/operand.h" 11 12 ASMJIT_BEGIN_SUB_NAMESPACE(a64) 13 14 //! \cond INTERNAL 15 //! \addtogroup asmjit_a64 16 //! \{ 17 18 namespace InstInternal { 19 20 #ifndef ASMJIT_NO_TEXT 21 Error ASMJIT_CDECL inst_id_to_string(InstId inst_id, InstStringifyOptions options, String& output) noexcept; 22 InstId ASMJIT_CDECL string_to_inst_id(const char* s, size_t len) noexcept; 23 #endif // !ASMJIT_NO_TEXT 24 25 #ifndef ASMJIT_NO_VALIDATION 26 Error ASMJIT_CDECL validate(const BaseInst& inst, const Operand_* operands, size_t op_count, ValidationFlags validation_flags) noexcept; 27 #endif // !ASMJIT_NO_VALIDATION 28 29 #ifndef ASMJIT_NO_INTROSPECTION 30 Error ASMJIT_CDECL query_rw_info(const BaseInst& inst, const Operand_* operands, size_t op_count, InstRWInfo* out) noexcept; 31 Error ASMJIT_CDECL query_features(const BaseInst& inst, const Operand_* operands, size_t op_count, CpuFeatures* out) noexcept; 32 #endif // !ASMJIT_NO_INTROSPECTION 33 34 } // {InstInternal} 35 36 //! \} 37 //! \endcond 38 39 ASMJIT_END_SUB_NAMESPACE 40 41 #endif // ASMJIT_ARM_A64INSTAPI_P_H_INCLUDED