15#ifndef LLVM_EXECUTIONENGINE_JITLINK_ELF_LOONGARCH_H
16#define LLVM_EXECUTIONENGINE_JITLINK_ELF_LOONGARCH_H
29 MemoryBufferRef ObjectBuffer, std::shared_ptr<orc::SymbolStringPool> SSP);
34 std::unique_ptr<JITLinkContext> Ctx);
Expected< std::unique_ptr< LinkGraph > > createLinkGraphFromELFObject_loongarch(MemoryBufferRef ObjectBuffer, std::shared_ptr< orc::SymbolStringPool > SSP)
Create a LinkGraph from an ELF/loongarch relocatable object.
void link_ELF_loongarch(std::unique_ptr< LinkGraph > G, std::unique_ptr< JITLinkContext > Ctx)
jit-link the given object buffer, which must be an ELF loongarch object file.
This is an optimization pass for GlobalISel generic memory operations.