LLVM 20.0.0git
Classes | Namespaces | Enumerations | Functions | Variables
loongarch.h File Reference
#include "TableManager.h"
#include "llvm/ExecutionEngine/JITLink/JITLink.h"
#include "llvm/ExecutionEngine/Orc/Shared/MemoryFlags.h"

Go to the source code of this file.

Classes

class  llvm::jitlink::loongarch::GOTTableManager
 Global Offset Table Builder. More...
 
class  llvm::jitlink::loongarch::PLTTableManager
 Procedure Linkage Table Builder. More...
 

Namespaces

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

Enumerations

enum  llvm::jitlink::loongarch::EdgeKind_loongarch : Edge::Kind {
  llvm::jitlink::loongarch::Pointer64 = Edge::FirstRelocation , llvm::jitlink::loongarch::Pointer32 , llvm::jitlink::loongarch::Branch26PCRel , llvm::jitlink::loongarch::Delta32 ,
  llvm::jitlink::loongarch::NegDelta32 , llvm::jitlink::loongarch::Delta64 , llvm::jitlink::loongarch::Page20 , llvm::jitlink::loongarch::PageOffset12 ,
  llvm::jitlink::loongarch::RequestGOTAndTransformToPage20 , llvm::jitlink::loongarch::RequestGOTAndTransformToPageOffset12
}
 Represents loongarch fixups. More...
 

Functions

const charllvm::jitlink::loongarch::getEdgeKindName (Edge::Kind K)
 Returns a string name for the given loongarch edge.
 
uint32_t llvm::jitlink::loongarch::extractBits (uint32_t Val, unsigned Hi, unsigned Lo)
 
Error llvm::jitlink::loongarch::applyFixup (LinkGraph &G, Block &B, const Edge &E)
 Apply fixup expression for edge to block content.
 
ArrayRef< charllvm::jitlink::loongarch::getGOTEntryBlockContent (LinkGraph &G)
 
ArrayRef< charllvm::jitlink::loongarch::getStubBlockContent (LinkGraph &G)
 
Symbol & llvm::jitlink::loongarch::createAnonymousPointer (LinkGraph &G, Section &PointerSection, Symbol *InitialTarget=nullptr, uint64_t InitialAddend=0)
 Creates a new pointer block in the given section and returns an Anonymous symbol pointing to it.
 
Symbol & llvm::jitlink::loongarch::createAnonymousPointerJumpStub (LinkGraph &G, Section &StubSection, Symbol &PointerSymbol)
 Create a jump stub that jumps via the pointer at the given symbol and an anonymous symbol pointing to it.
 

Variables

const char llvm::jitlink::loongarch::NullPointerContent [8]
 loongarch null pointer content.
 
constexpr size_t llvm::jitlink::loongarch::StubEntrySize = 12
 loongarch stub content.
 
const uint8_t llvm::jitlink::loongarch::LA64StubContent [StubEntrySize]
 
const uint8_t llvm::jitlink::loongarch::LA32StubContent [StubEntrySize]