LLVM 20.0.0git
|
#include "llvm/ExecutionEngine/Orc/Speculation.h"
Public Types | |
using | TargetFAddr = ExecutorAddr |
using | FunctionCandidatesMap = DenseMap< SymbolStringPtr, SymbolNameSet > |
using | StubAddrLikelies = DenseMap< TargetFAddr, SymbolNameSet > |
Public Member Functions | |
Speculator (ImplSymbolMap &Impl, ExecutionSession &ref) | |
Speculator (const Speculator &)=delete | |
Speculator (Speculator &&)=delete | |
Speculator & | operator= (const Speculator &)=delete |
Speculator & | operator= (Speculator &&)=delete |
Error | addSpeculationRuntime (JITDylib &JD, MangleAndInterner &Mangle) |
Define symbols for this Speculator object (__orc_speculator) and the speculation runtime entry point symbol (__orc_speculate_for) in the given JITDylib. | |
void | speculateFor (TargetFAddr StubAddr) |
void | registerSymbols (FunctionCandidatesMap Candidates, JITDylib *JD) |
ExecutionSession & | getES () |
Definition at line 60 of file Speculation.h.
Definition at line 63 of file Speculation.h.
Definition at line 64 of file Speculation.h.
Definition at line 62 of file Speculation.h.
|
inline |
Definition at line 122 of file Speculation.h.
|
delete |
|
delete |
Error llvm::orc::Speculator::addSpeculationRuntime | ( | JITDylib & | JD, |
MangleAndInterner & | Mangle | ||
) |
Define symbols for this Speculator object (__orc_speculator) and the speculation runtime entry point symbol (__orc_speculate_for) in the given JITDylib.
Definition at line 44 of file Speculation.cpp.
References llvm::orc::absoluteSymbols(), llvm::orc::JITDylib::define(), llvm::JITSymbolFlags::Exported, and llvm::orc::ExecutorAddr::fromPtr().
|
inline |
Definition at line 161 of file Speculation.h.
Referenced by registerSymbols().
|
delete |
|
delete |
|
inline |
Definition at line 139 of file Speculation.h.
References getES(), llvm::orc::ExecutionSession::lookup(), llvm::orc::makeJITDylibSearchOrder(), llvm::orc::MatchAllSymbols, llvm::orc::NoDependenciesToRegister, llvm::orc::Ready, llvm::orc::ExecutionSession::reportError(), llvm::orc::Static, and llvm::orc::WeaklyReferencedSymbol.
Referenced by llvm::orc::IRSpeculationLayer::emit().
|
inline |
Definition at line 136 of file Speculation.h.