clang: clang::Interpreter Class Reference (original ) (raw )Provides top-level interfaces for incremental compilation and execution. More...
#include "[clang/Interpreter/Interpreter.h](Interpreter%5F8h%5Fsource.html)"
Provides top-level interfaces for incremental compilation and execution.
Definition at line 85 of file Interpreter.h .
clang::Interpreter::Interpreter ( std::unique_ptr< CompilerInstance > Instance , llvm::Error & Err , std::unique_ptr< llvm::orc::LLJITBuilder > JITBuilder = nullptr, std::unique_ptr< clang::ASTConsumer > Consumer = nullptr )
protected
◆ ~Interpreter()
clang::Interpreter::~Interpreter ( )
virtual
◆ create()◆ CreateExecutor()
llvm::Error clang::Interpreter::CreateExecutor ( )
protected
◆ createWithCUDA()◆ Execute()◆ getASTContext() [1/2]
ASTContext & clang::Interpreter::getASTContext
(
)
◆ getASTContext() [2/2]
const ASTContext & clang::Interpreter::getASTContext
(
)
const
◆ getCompilerInstance() [1/2]◆ getCompilerInstance() [2/2]◆ getExecutionEngine()
llvm::Expected < llvm::orc::LLJIT & > clang::Interpreter::getExecutionEngine
(
)
◆ getSymbolAddress() [1/2]Returns
the ExecutorAddr
of a [GlobalDecl](classclang%5F1%5F1GlobalDecl.html "GlobalDecl - represents a global declaration.")
. This interface uses the CodeGenModule's internal mangling cache to avoid recomputing the mangled name.
Definition at line 663 of file Interpreter.cpp .
◆ getSymbolAddress() [2/2]
llvm::Expected < llvm::orc::ExecutorAddr > clang::Interpreter::getSymbolAddress
(
llvm::StringRef
IRName
)
const
Returns
the ExecutorAddr
of a given name as written in the IR.
Definition at line 673 of file Interpreter.cpp .
◆ getSymbolAddressFromLinkerName()
llvm::Expected < llvm::orc::ExecutorAddr > clang::Interpreter::getSymbolAddressFromLinkerName
(
llvm::StringRef
LinkerName
)
const
Returns
the ExecutorAddr
of a given name as written in the object file.
Definition at line 683 of file Interpreter.cpp .
◆ getValuePrintingInfo()◆ LoadDynamicLibrary()
llvm::Error clang::Interpreter::LoadDynamicLibrary
(
const char *
name
)
◆ Parse()◆ ParseAndExecute()
llvm::Error clang::Interpreter::ParseAndExecute
(
llvm::StringRef
Code ,
Value *
V = nullptr
)
◆ ResetExecutor()
void clang::Interpreter::ResetExecutor ( )
protected
◆ SynthesizeExpr()
Expr * clang::Interpreter::SynthesizeExpr
(
Expr *
E
)
◆ Undo()
llvm::Error clang::Interpreter::Undo
(
unsigned
N = 1
)
◆ Value
The documentation for this class was generated from the following files: