mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
13cb431719
This offers the ability to create a JIT and invoke a function by passing ctypes pointers to the argument and the result. Differential Revision: https://reviews.llvm.org/D97523
23 lines
681 B
C++
23 lines
681 B
C++
//===- ExecutionEngine.h - ExecutionEngine submodule of pybind module -----===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef MLIR_BINDINGS_PYTHON_EXECUTIONENGINE_H
|
|
#define MLIR_BINDINGS_PYTHON_EXECUTIONENGINE_H
|
|
|
|
#include "PybindUtils.h"
|
|
|
|
namespace mlir {
|
|
namespace python {
|
|
|
|
void populateExecutionEngineSubmodule(pybind11::module &m);
|
|
|
|
} // namespace python
|
|
} // namespace mlir
|
|
|
|
#endif // MLIR_BINDINGS_PYTHON_EXECUTIONENGINE_H
|