/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/ |
H A D | IndirectionUtils.cpp | 25 using namespace llvm::orc; 29 class CompileCallbackMaterializationUnit : public orc::MaterializationUnit { 61 namespace orc { namespace 128 typedef orc::LocalJITCompileCallbackManager<orc::OrcAArch64> CCMgrT; in createLocalCompileCallbackManager() 133 typedef orc::LocalJITCompileCallbackManager<orc::OrcI386> CCMgrT; in createLocalCompileCallbackManager() 138 typedef orc::LocalJITCompileCallbackManager<orc::OrcLoongArch64> CCMgrT; in createLocalCompileCallbackManager() 143 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips32Be> CCMgrT; in createLocalCompileCallbackManager() 147 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips32Le> CCMgrT; in createLocalCompileCallbackManager() 153 typedef orc::LocalJITCompileCallbackManager<orc::OrcMips64> CCMgrT; in createLocalCompileCallbackManager() 158 typedef orc::LocalJITCompileCallbackManager<orc::OrcRiscv64> CCMgrT; in createLocalCompileCallbackManager() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
H A D | IncrementalExecutor.h | 25 namespace orc { 39 using CtorDtorIterator = llvm::orc::CtorDtorIterator; 40 std::unique_ptr<llvm::orc::LLJIT> Jit; 41 llvm::orc::ThreadSafeContext &TSCtx; 43 llvm::DenseMap<const PartialTranslationUnit *, llvm::orc::ResourceTrackerSP> 47 IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC); 52 IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, 53 llvm::orc::LLJITBuilder &JITBuilder, llvm::Error &Err); 60 llvm::Expected<llvm::orc::ExecutorAddr> 63 llvm::orc::LLJIT &GetExecutionEngine() { return *Jit; } in GetExecutionEngine() [all …]
|
H A D | IncrementalExecutor.cpp | 39 IncrementalExecutor::IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC) in IncrementalExecutor() 42 llvm::Expected<std::unique_ptr<llvm::orc::LLJITBuilder>> 44 llvm::orc::JITTargetMachineBuilder JTMB) { in createDefaultJITBuilder() 45 auto JITBuilder = std::make_unique<llvm::orc::LLJITBuilder>(); in createDefaultJITBuilder() 47 JITBuilder->setPrePlatformSetup([](llvm::orc::LLJIT &J) { in createDefaultJITBuilder() 50 consumeError(llvm::orc::enableDebuggerSupport(J)); in createDefaultJITBuilder() 56 IncrementalExecutor::IncrementalExecutor(llvm::orc::ThreadSafeContext &TSC, in IncrementalExecutor() 57 llvm::orc::LLJITBuilder &JITBuilder, in IncrementalExecutor() 60 using namespace llvm::orc; in IncrementalExecutor() 74 llvm::orc::ResourceTrackerSP RT = in addModule() [all …]
|
/freebsd/contrib/llvm-project/llvm/tools/lli/ |
H A D | ExecutionUtils.h |
|
H A D | lli.cpp | 417 Expected<std::unique_ptr<orc::ExecutorProcessControl>> launchRemote(); 709 std::unique_ptr<orc::ExecutorProcessControl> EPC = ExitOnErr(launchRemote()); in main() 717 orc::EPCGenericRTDyldMemoryManager::CreateWithDefaultBootstrapSymbols( in main() 731 orc::ExecutorAddr(EE->getFunctionAddress(EntryFn->getName().str())); in main() 877 Expected<orc::ThreadSafeModule> 878 loadModule(StringRef Path, orc::ThreadSafeContext TSCtx) { in loadModule() 893 return orc::ThreadSafeModule(std::move(M), std::move(TSCtx)); in loadModule() 913 Error tryEnableDebugSupport(orc::LLJIT &J) { in tryEnableDebugSupport() 925 orc::ThreadSafeContext TSCtx(std::make_unique<LLVMContext>()); in runOrcJIT() 939 orc::LLLazyJITBuilder Builder; in runOrcJIT() [all …]
|
H A D | ExecutionUtils.cpp |
|
H A D | ForwardingMemoryManager.h | 93 Create(orc::ExecutorProcessControl &EPC) { in Create() 95 orc::EPCGenericDylibManager::CreateWithDefaultBootstrapSymbols(EPC); in Create() 106 orc::RemoteSymbolLookupSet R; in findSymbol() 123 RemoteResolver(orc::EPCGenericDylibManager DylibMgr, in RemoteResolver() 124 orc::tpctypes::DylibHandle H) in RemoteResolver() 127 orc::EPCGenericDylibManager DylibMgr; 128 orc::tpctypes::DylibHandle H;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/ |
H A D | SymbolStringPool.h | 25 namespace orc { 247 friend struct DenseMapInfo<orc::NonOwningSymbolStringPtr>; 313 } // end namespace orc 316 struct DenseMapInfo<orc::SymbolStringPtr> { 318 static orc::SymbolStringPtr getEmptyKey() { 319 return orc::SymbolStringPtr::getEmptyVal(); 322 static orc::SymbolStringPtr getTombstoneKey() { 323 return orc::SymbolStringPtr::getTombstoneVal(); 326 static unsigned getHashValue(const orc::SymbolStringPtrBase &V) { 327 return DenseMapInfo<orc [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/ |
H A D | MemoryFlags.h | 24 namespace orc { 211 template <> struct DenseMapInfo<orc::MemProt> { 212 static inline orc::MemProt getEmptyKey() { return orc::MemProt(~uint8_t(0)); } 213 static inline orc::MemProt getTombstoneKey() { 214 return orc::MemProt(~uint8_t(0) - 1); 216 static unsigned getHashValue(const orc::MemProt &Val) { 217 using UT = std::underlying_type_t<orc::MemProt>; 220 static bool isEqual(const orc::MemProt &LHS, const orc::MemProt &RHS) { 225 template <> struct DenseMapInfo<orc::AllocGroup> { 226 static inline orc::AllocGroup getEmptyKey() { [all …]
|
H A D | ExecutorAddress.h | 26 namespace orc { 299 template <> struct DenseMapInfo<orc::ExecutorAddr> { 300 static inline orc::ExecutorAddr getEmptyKey() { 301 return orc::ExecutorAddr(DenseMapInfo<uint64_t>::getEmptyKey()); 303 static inline orc::ExecutorAddr getTombstoneKey() { 304 return orc::ExecutorAddr(DenseMapInfo<uint64_t>::getTombstoneKey()); 307 static unsigned getHashValue(const orc::ExecutorAddr &Addr) { 311 static bool isEqual(const orc::ExecutorAddr &LHS, 312 const orc::ExecutorAddr &RHS) {
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/JITLink/ |
H A D | JITLink.h | 115 Addressable(orc::ExecutorAddr Address, bool IsDefined) in Addressable() 118 Addressable(orc::ExecutorAddr Address) in Addressable() 130 orc::ExecutorAddr getAddress() const { return Address; } in getAddress() 131 void setAddress(orc::ExecutorAddr Address) { this->Address = Address; } in setAddress() 144 orc::ExecutorAddr Address; 163 Block(Section &Parent, orc::ExecutorAddrDiff Size, orc::ExecutorAddr Address, in Block() 179 Block(Section &Parent, ArrayRef<char> Content, orc::ExecutorAddr Address, in Block() 199 orc::ExecutorAddr Address, uint64_t Alignment, uint64_t AlignmentOffset) in Block() 235 orc::ExecutorAddrRange getRange() const { in getRange() 236 return orc::ExecutorAddrRange(getAddress(), getSize()); in getRange() [all …]
|
H A D | JITLinkMemoryManager.h | 62 explicit FinalizedAlloc(orc::ExecutorAddr A) : A(A) { in FinalizedAlloc() 88 orc::ExecutorAddr getAddress() const { return A; } in getAddress() 93 orc::ExecutorAddr release() { in release() 94 orc::ExecutorAddr Tmp = A; in release() 100 orc::ExecutorAddr A{InvalidAddr}; 230 orc::ExecutorAddr Addr; 249 using SegmentMap = orc::AllocGroupSmallMap<Segment>; 280 orc::shared::AllocActions &graphAllocActions(); 311 orc::ExecutorAddr Addr; 315 using SegmentMap = orc [all...] |
H A D | EHFrameSupport.h | 90 virtual Error registerEHFrames(orc::ExecutorAddrRange EHFrameSection) = 0; 91 virtual Error deregisterEHFrames(orc::ExecutorAddrRange EHFrameSection) = 0; 97 Error registerEHFrames(orc::ExecutorAddrRange EHFrameSection) override; 99 Error deregisterEHFrames(orc::ExecutorAddrRange EHFrameSection) override; 103 orc::ExecutorAddr EHFrameSectionAddr, size_t EHFrameSectionSize)>;
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/TargetProcess/ |
H A D | JITLoaderVTune.cpp | 21 using namespace llvm::orc; 94 extern "C" llvm::orc::shared::CWrapperFunctionResult 96 using namespace orc::shared; in llvm_orc_registerVTuneImpl() 105 extern "C" llvm::orc::shared::CWrapperFunctionResult 107 using namespace orc::shared; in llvm_orc_unregisterVTuneImpl() 176 extern "C" llvm::orc::shared::CWrapperFunctionResult 178 using namespace orc::shared; in llvm_orc_test_registerVTuneImpl() 189 using namespace llvm::orc; 200 extern "C" llvm::orc::shared::CWrapperFunctionResult 202 using namespace orc::shared; in llvm_orc_registerVTuneImpl() [all …]
|
H A D | RegisterEHFrames.cpp | 24 using namespace llvm::orc; 25 using namespace llvm::orc::shared; 28 namespace orc { namespace 162 return llvm::orc::registerEHFrameSection(EHFrame.Start.toPtr<const void *>(), in registerEHFrameWrapper() 167 return llvm::orc::deregisterEHFrameSection( in deregisterEHFrameWrapper() 171 extern "C" orc::shared::CWrapperFunctionResult 178 extern "C" orc::shared::CWrapperFunctionResult
|
H A D | OrcRTBootstrap.cpp | 18 using namespace llvm::orc::shared; 21 namespace orc { namespace 25 static llvm::orc::shared::CWrapperFunctionResult 36 static llvm::orc::shared::CWrapperFunctionResult 48 static llvm::orc::shared::CWrapperFunctionResult 59 static llvm::orc::shared::CWrapperFunctionResult 69 static llvm::orc::shared::CWrapperFunctionResult
|
H A D | JITLoaderGDB.cpp | 46 using namespace llvm::orc; 79 extern "C" orc::shared::CWrapperFunctionResult 81 using namespace orc::shared; in llvm_orc_registerJITLoaderGDBAllocAction() 95 extern "C" orc::shared::CWrapperFunctionResult 97 using namespace orc::shared; in llvm_orc_registerJITLoaderGDBWrapper()
|
/freebsd/contrib/llvm-project/clang/include/clang/Interpreter/ |
H A D | Interpreter.h | 31 namespace orc { 92 std::unique_ptr<llvm::orc::ThreadSafeContext> TSCtx; 115 std::unique_ptr<llvm::orc::LLJITBuilder> JITBuilder = nullptr); 143 llvm::Expected<llvm::orc::LLJIT &> getExecutionEngine(); 148 llvm::Expected<llvm::orc::ExecutorAddr> CompileDtorCall(CXXRecordDecl *CXXRD); 159 llvm::Expected<llvm::orc::ExecutorAddr> getSymbolAddress(GlobalDecl GD) const; 162 llvm::Expected<llvm::orc::ExecutorAddr> 167 llvm::Expected<llvm::orc::ExecutorAddr> 182 llvm::DenseMap<CXXRecordDecl *, llvm::orc::ExecutorAddr> Dtors; 186 std::unique_ptr<llvm::orc::LLJITBuilder> JITBuilder;
|
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/ |
H A D | MachOLinkGraphBuilder.cpp | 118 orc::MemProt::Read | orc::MemProt::Write); in getCommonSection() 143 NSec.Address = orc::ExecutorAddr(Sec64.addr); in createNormalizedSections() 156 NSec.Address = orc::ExecutorAddr(Sec32.addr); in createNormalizedSections() 183 orc::MemProt Prot; in createNormalizedSections() 185 Prot = orc::MemProt::Read | orc::MemProt::Exec; in createNormalizedSections() 187 Prot = orc::MemProt::Read | orc::MemProt::Write; in createNormalizedSections() 196 NSec.GraphSection->setMemLifetime(orc in createNormalizedSections() [all...] |
H A D | COFFLinkGraphBuilder.cpp | 75 orc::MemProt::Read | orc::MemProt::Write); in getCommonSection() 152 orc::MemProt Prot = orc::MemProt::Read; in graphifySections() 154 Prot |= orc::MemProt::Exec; in graphifySections() 156 Prot |= orc::MemProt::Read; in graphifySections() 158 Prot |= orc::MemProt::Write; in graphifySections() 165 GraphSec->setMemLifetime(orc::MemLifetime::NoAlloc); in graphifySections() 174 orc::ExecutorAddr(getSectionAddress(Obj, *Sec)), in graphifySections() 190 *GraphSec, CharData, orc in graphifySections() [all...] |
H A D | JITLinkMemoryManager.cpp | 29 Sec.getMemLifetime() == orc::MemLifetime::NoAlloc) in BasicLayout() 93 if (AG.getMemLifetime() == orc::MemLifetime::Standard) in getContiguousPageBasedLayoutSizes() 142 orc::shared::AllocActions &BasicLayout::graphAllocActions() { in graphAllocActions() 150 static_assert(orc::AllocGroup::NumGroups == 32, in Create() 160 orc::AllocGroupSmallMap<Block *> ContentBlocks; in Create() 162 orc::ExecutorAddr NextAddr(0x100000); in Create() 167 assert(AG.getMemLifetime() != orc::MemLifetime::NoAlloc && in Create() 179 orc::ExecutorAddr(alignTo(NextAddr.getValue(), Seg.ContentAlign)); in Create() 221 SimpleSegmentAlloc::getSegInfo(orc::AllocGroup AG) { in getSegInfo() 232 orc::AllocGroupSmallMap<Block *> ContentBlocks, in SimpleSegmentAlloc() [all …]
|
H A D | ELFLinkGraphBuilder.h | 41 CommonSectionName, orc::MemProt::Read | orc::MemProt::Write); in getCommonSection() 115 virtual orc::ExecutorAddrDiff getRawOffset(const typename ELFT::Sym &Sym, in getRawOffset() 357 orc::MemProt Prot = orc::MemProt::Read; in graphifySections() 359 Prot |= orc::MemProt::Exec; in graphifySections() 361 Prot |= orc::MemProt::Write; in graphifySections() 369 GraphSec->setMemLifetime(orc::MemLifetime::NoAlloc); in graphifySections() 393 orc::ExecutorAddr(Sec.sh_addr), in graphifySections() 397 orc::ExecutorAddr(Sec.sh_addr), in graphifySections() 402 G->addAnonymousSymbol(*B, orc::ExecutorAddrDiff(), in graphifySections() 403 orc::ExecutorAddrDiff(), false, true); in graphifySections() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/TargetProcess/ |
H A D | ExecutorSharedMemoryMapperService.h | 24 namespace orc { 57 static llvm::orc::shared::CWrapperFunctionResult 60 static llvm::orc::shared::CWrapperFunctionResult 63 static llvm::orc::shared::CWrapperFunctionResult 66 static llvm::orc::shared::CWrapperFunctionResult
|
H A D | SimpleExecutorMemoryManager.h | 28 namespace orc { 53 static llvm::orc::shared::CWrapperFunctionResult 56 static llvm::orc::shared::CWrapperFunctionResult 59 static llvm::orc::shared::CWrapperFunctionResult
|
H A D | JITLoaderVTune.h | 20 extern "C" llvm::orc::shared::CWrapperFunctionResult 23 extern "C" llvm::orc::shared::CWrapperFunctionResult 26 extern "C" llvm::orc::shared::CWrapperFunctionResult
|