/
Papr1ka
/
llvm2py
Обзор
Документация
Войти
/
Papr1ka
/
llvm2py
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
include/module.h
33 строки
811 B
Joe
save progress
05 мар 2025, 00:47
05 мар 2025, 00:47
1babefc
Код
Авторство
О чём код?
// // Created by joe on 24.03.24. // #ifndef LLVM2PY_MODULE_H #define LLVM2PY_MODULE_H #include <pybind11/pybind11.h> #include <pybind11/stl.h> #include "llvm/IR/Module.h" #include "llvm/IR/Function.h" #include "llvm/IR/CFG.h" #include "llvm/IR/Instructions.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Constants.h" #include "llvm/IR/GlobalVariable.h" #include "llvm/Support/Alignment.h" #include "llvm/IR/TypedPointerType.h" #include "llvm/IR/FMF.h" namespace py = pybind11; using namespace llvm; namespace llvm2py { py::object createModule(const std::string& IR); struct PythonTypes; py::object handleInstruction(const Instruction &instruction, const PythonTypes &PT); py::object handleAttributeList(AttributeList attributes, const PythonTypes &PT); } #endif //LLVM2PY_MODULE_H