|
clang 23.0.0git
|
#include "clang/Interpreter/IncrementalExecutor.h"
Public Member Functions | |
| ~IncrementalExecutorBuilder () | |
| llvm::Expected< std::unique_ptr< IncrementalExecutor > > | create (llvm::orc::ThreadSafeContext &TSC, const clang::TargetInfo &TI) |
Public Attributes | |
| bool | IsOutOfProcess = false |
| Indicates whether out-of-process JIT execution is enabled. | |
| std::string | OOPExecutor = "" |
| Path to the out-of-process JIT executor. | |
| std::string | OOPExecutorConnect = "" |
| bool | UseSharedMemory = false |
| Indicates whether to use shared memory for communication. | |
| unsigned | SlabAllocateSize = 0 |
| Representing the slab allocation size for memory management in kb. | |
| std::string | OrcRuntimePath = "" |
| Path to the ORC runtime library. | |
| uint32_t | ExecutorPID = 0 |
| PID of the out-of-process JIT executor. | |
| std::function< void()> | CustomizeFork = nullptr |
| Custom lambda to be executed inside child process/executor. | |
| std::optional< llvm::CodeModel::Model > | CM = std::nullopt |
| An optional code model to provide to the JITTargetMachineBuilder. | |
| std::unique_ptr< IncrementalExecutor > | IE |
| An optional external IncrementalExecutor. | |
| std::unique_ptr< llvm::orc::LLJITBuilder > | JITBuilder |
| An optional external orc jit builder. | |
| std::function< llvm::Error(const driver::Compilation &)> | UpdateOrcRuntimePathCB |
| A default callback that can be used in the IncrementalCompilerBuilder to retrieve the path to the orc runtime. | |
Definition at line 34 of file IncrementalExecutor.h.
|
default |
References clang::C.
| llvm::Expected< std::unique_ptr< IncrementalExecutor > > clang::IncrementalExecutorBuilder::create | ( | llvm::orc::ThreadSafeContext & | TSC, |
| const clang::TargetInfo & | TI ) |
Definition at line 373 of file IncrementalExecutor.cpp.
References CM, create(), clang::createDefaultJITBuilder(), clang::createJITTargetMachineBuilder(), ExecutorPID, clang::TargetInfo::getTriple(), IE, IsOutOfProcess, JITBuilder, and clang::outOfProcessJITBuilder().
Referenced by create().
| std::optional<llvm::CodeModel::Model> clang::IncrementalExecutorBuilder::CM = std::nullopt |
An optional code model to provide to the JITTargetMachineBuilder.
Definition at line 52 of file IncrementalExecutor.h.
Referenced by create().
| std::function<void()> clang::IncrementalExecutorBuilder::CustomizeFork = nullptr |
Custom lambda to be executed inside child process/executor.
Definition at line 50 of file IncrementalExecutor.h.
Referenced by clang::outOfProcessJITBuilder().
| uint32_t clang::IncrementalExecutorBuilder::ExecutorPID = 0 |
PID of the out-of-process JIT executor.
Definition at line 48 of file IncrementalExecutor.h.
Referenced by create().
| std::unique_ptr<IncrementalExecutor> clang::IncrementalExecutorBuilder::IE |
An optional external IncrementalExecutor.
Definition at line 54 of file IncrementalExecutor.h.
Referenced by create().
Indicates whether out-of-process JIT execution is enabled.
Definition at line 37 of file IncrementalExecutor.h.
Referenced by create().
| std::unique_ptr<llvm::orc::LLJITBuilder> clang::IncrementalExecutorBuilder::JITBuilder |
An optional external orc jit builder.
Definition at line 56 of file IncrementalExecutor.h.
Referenced by create().
| std::string clang::IncrementalExecutorBuilder::OOPExecutor = "" |
Path to the out-of-process JIT executor.
Definition at line 39 of file IncrementalExecutor.h.
Referenced by clang::outOfProcessJITBuilder().
| std::string clang::IncrementalExecutorBuilder::OOPExecutorConnect = "" |
Definition at line 40 of file IncrementalExecutor.h.
Referenced by clang::outOfProcessJITBuilder().
| std::string clang::IncrementalExecutorBuilder::OrcRuntimePath = "" |
Path to the ORC runtime library.
Definition at line 46 of file IncrementalExecutor.h.
Referenced by clang::outOfProcessJITBuilder().
| unsigned clang::IncrementalExecutorBuilder::SlabAllocateSize = 0 |
Representing the slab allocation size for memory management in kb.
Definition at line 44 of file IncrementalExecutor.h.
Referenced by clang::outOfProcessJITBuilder().
| std::function<llvm::Error(const driver::Compilation &)> clang::IncrementalExecutorBuilder::UpdateOrcRuntimePathCB |
A default callback that can be used in the IncrementalCompilerBuilder to retrieve the path to the orc runtime.
Definition at line 60 of file IncrementalExecutor.h.
Indicates whether to use shared memory for communication.
Definition at line 42 of file IncrementalExecutor.h.
Referenced by clang::outOfProcessJITBuilder().