#include "LoongArchMCExpr.h"
#include "LoongArchAsmBackend.h"
#include "LoongArchFixupKinds.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbolELF.h"
#include "llvm/MC/MCValue.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/ErrorHandling.h"
usingnamespacellvm;
#define DEBUG_TYPE …
const LoongArchMCExpr *LoongArchMCExpr::create(const MCExpr *Expr,
VariantKind Kind, MCContext &Ctx,
bool Hint) { … }
void LoongArchMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { … }
bool LoongArchMCExpr::evaluateAsRelocatableImpl(MCValue &Res,
const MCAssembler *Asm,
const MCFixup *Fixup) const { … }
void LoongArchMCExpr::visitUsedExpr(MCStreamer &Streamer) const { … }
StringRef LoongArchMCExpr::getVariantKindName(VariantKind Kind) { … }
LoongArchMCExpr::VariantKind
LoongArchMCExpr::getVariantKindForName(StringRef name) { … }
static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { … }
void LoongArchMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { … }