LLVM 17.0.0git
Classes | Namespaces | Macros | Functions
ELF_riscv.cpp File Reference
#include "llvm/ExecutionEngine/JITLink/ELF_riscv.h"
#include "ELFLinkGraphBuilder.h"
#include "JITLinkGeneric.h"
#include "PerGraphGOTAndPLTStubsBuilder.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
#include "llvm/ExecutionEngine/JITLink/riscv.h"
#include "llvm/Object/ELF.h"
#include "llvm/Object/ELFObjectFile.h"
#include "llvm/Support/Endian.h"
Include dependency graph for ELF_riscv.cpp:

Go to the source code of this file.


class  llvm::jitlink::ELFJITLinker_riscv
class  llvm::jitlink::ELFLinkGraphBuilder_riscv< ELFT >


namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.


#define DEBUG_TYPE   "jitlink"


static Expected< const Edge & > llvm::jitlink::getRISCVPCRelHi20 (const Edge &E)
static uint32_t llvm::jitlink::extractBits (uint32_t Num, unsigned Low, unsigned Size)
static bool llvm::jitlink::isAlignmentCorrect (uint64_t Value, int N)
static bool llvm::jitlink::isInRangeForImm (int64_t Value, int N)
Expected< std::unique_ptr< LinkGraph > > llvm::jitlink::createLinkGraphFromELFObject_riscv (MemoryBufferRef ObjectBuffer)
 Create a LinkGraph from an ELF/riscv relocatable object.
void llvm::jitlink::link_ELF_riscv (std::unique_ptr< LinkGraph > G, std::unique_ptr< JITLinkContext > Ctx)
 jit-link the given object buffer, which must be a ELF riscv object file.

Macro Definition Documentation


#define DEBUG_TYPE   "jitlink"

Definition at line 24 of file ELF_riscv.cpp.