clang 20.0.0git
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
clang::IncrementalExecutor Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Interpreter/IncrementalExecutor.h"

Inheritance diagram for clang::IncrementalExecutor:
Inheritance graph
[legend]

Public Types

enum  SymbolNameKind { IRName , LinkerName }
 

Public Member Functions

 IncrementalExecutor (llvm::orc::ThreadSafeContext &TSC, llvm::orc::LLJITBuilder &JITBuilder, llvm::Error &Err)
 
virtual ~IncrementalExecutor ()
 
virtual llvm::Error addModule (PartialTranslationUnit &PTU)
 
virtual llvm::Error removeModule (PartialTranslationUnit &PTU)
 
virtual llvm::Error runCtors () const
 
llvm::Error cleanUp ()
 
llvm::Expected< llvm::orc::ExecutorAddr > getSymbolAddress (llvm::StringRef Name, SymbolNameKind NameKind) const
 
llvm::orc::LLJIT & GetExecutionEngine ()
 

Static Public Member Functions

static llvm::Expected< std::unique_ptr< llvm::orc::LLJITBuilder > > createDefaultJITBuilder (llvm::orc::JITTargetMachineBuilder JTMB)
 

Protected Member Functions

 IncrementalExecutor (llvm::orc::ThreadSafeContext &TSC)
 

Detailed Description

Definition at line 38 of file IncrementalExecutor.h.

Member Enumeration Documentation

◆ SymbolNameKind

Enumerator
IRName 
LinkerName 

Definition at line 50 of file IncrementalExecutor.h.

Constructor & Destructor Documentation

◆ IncrementalExecutor() [1/2]

clang::IncrementalExecutor::IncrementalExecutor ( llvm::orc::ThreadSafeContext &  TSC)
protected

Definition at line 39 of file IncrementalExecutor.cpp.

◆ IncrementalExecutor() [2/2]

clang::IncrementalExecutor::IncrementalExecutor ( llvm::orc::ThreadSafeContext &  TSC,
llvm::orc::LLJITBuilder &  JITBuilder,
llvm::Error &  Err 
)

Definition at line 56 of file IncrementalExecutor.cpp.

◆ ~IncrementalExecutor()

clang::IncrementalExecutor::~IncrementalExecutor ( )
virtual

Definition at line 71 of file IncrementalExecutor.cpp.

Member Function Documentation

◆ addModule()

llvm::Error clang::IncrementalExecutor::addModule ( PartialTranslationUnit PTU)
virtual

◆ cleanUp()

llvm::Error clang::IncrementalExecutor::cleanUp ( )

Definition at line 94 of file IncrementalExecutor.cpp.

◆ createDefaultJITBuilder()

llvm::Expected< std::unique_ptr< llvm::orc::LLJITBuilder > > clang::IncrementalExecutor::createDefaultJITBuilder ( llvm::orc::JITTargetMachineBuilder  JTMB)
static

Definition at line 43 of file IncrementalExecutor.cpp.

Referenced by clang::Interpreter::CreateExecutor().

◆ GetExecutionEngine()

llvm::orc::LLJIT & clang::IncrementalExecutor::GetExecutionEngine ( )
inline

Definition at line 63 of file IncrementalExecutor.h.

◆ getSymbolAddress()

llvm::Expected< llvm::orc::ExecutorAddr > clang::IncrementalExecutor::getSymbolAddress ( llvm::StringRef  Name,
SymbolNameKind  NameKind 
) const

Definition at line 104 of file IncrementalExecutor.cpp.

References LinkerName.

◆ removeModule()

llvm::Error clang::IncrementalExecutor::removeModule ( PartialTranslationUnit PTU)
virtual

Reimplemented in clang::WasmIncrementalExecutor.

Definition at line 81 of file IncrementalExecutor.cpp.

◆ runCtors()

llvm::Error clang::IncrementalExecutor::runCtors ( ) const
virtual

Reimplemented in clang::WasmIncrementalExecutor.

Definition at line 99 of file IncrementalExecutor.cpp.


The documentation for this class was generated from the following files: