VapourSynth-llvmexpr
Loading...
Searching...
No Matches
Jit.hpp File Reference
#include <cstdint>
#include <memory>
#include <mutex>
#include <string>
#include <unordered_map>
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/IR/Module.h"
#include "llvm/TargetParser/Triple.h"
Include dependency graph for Jit.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  CompiledFunction
class  OrcJit

Typedefs

using ProcessProc

Variables

OrcJit global_jit_fast
OrcJit global_jit_nan_safe
std::unordered_map< std::string, CompiledFunctionjit_cache
std::mutex cache_mutex

Typedef Documentation

◆ ProcessProc

using ProcessProc
Initial value:
void (*)(void* context, uint8_t** rwptrs,
const int* strides, float* props)

Copyright (C) 2025 yuygfgg

This file is part of Vapoursynth-llvmexpr.

Vapoursynth-llvmexpr is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Vapoursynth-llvmexpr is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with Vapoursynth-llvmexpr. If not, see https://www.gnu.org/licenses/.

Definition at line 35 of file Jit.hpp.

Variable Documentation

◆ cache_mutex

std::mutex cache_mutex
extern

Definition at line 216 of file Jit.cpp.

◆ global_jit_fast

OrcJit global_jit_fast
extern

◆ global_jit_nan_safe

OrcJit global_jit_nan_safe
extern

◆ jit_cache

std::unordered_map<std::string, CompiledFunction> jit_cache
extern

Definition at line 215 of file Jit.cpp.