clang 18.0.0git
Public Types | Public 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"

Public Types

enum  SymbolNameKind { IRName , LinkerName }
 

Public Member Functions

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

Detailed Description

Definition at line 36 of file IncrementalExecutor.h.

Member Enumeration Documentation

◆ SymbolNameKind

Enumerator
IRName 
LinkerName 

Definition at line 45 of file IncrementalExecutor.h.

Constructor & Destructor Documentation

◆ IncrementalExecutor()

clang::IncrementalExecutor::IncrementalExecutor ( llvm::orc::ThreadSafeContext &  TSC,
llvm::Error &  Err,
const clang::TargetInfo TI 
)

◆ ~IncrementalExecutor()

clang::IncrementalExecutor::~IncrementalExecutor ( )

Definition at line 66 of file IncrementalExecutor.cpp.

Member Function Documentation

◆ addModule()

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

Definition at line 68 of file IncrementalExecutor.cpp.

References clang::PartialTranslationUnit::TheModule.

◆ cleanUp()

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

Definition at line 89 of file IncrementalExecutor.cpp.

◆ GetExecutionEngine()

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

Definition at line 58 of file IncrementalExecutor.h.

◆ getSymbolAddress()

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

Definition at line 99 of file IncrementalExecutor.cpp.

References LinkerName.

◆ removeModule()

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

Definition at line 76 of file IncrementalExecutor.cpp.

◆ runCtors()

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

Definition at line 94 of file IncrementalExecutor.cpp.


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