15#ifndef LLVM_EXECUTIONENGINE_JITLINK_ELF_LOONGARCH_H
16#define LLVM_EXECUTIONENGINE_JITLINK_ELF_LOONGARCH_H
28Expected<std::unique_ptr<LinkGraph>>
34 std::unique_ptr<JITLinkContext> Ctx);
Expected< std::unique_ptr< LinkGraph > > createLinkGraphFromELFObject_loongarch(MemoryBufferRef ObjectBuffer)
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.