#include "MipsMCExpr.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCAssembler.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"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cstdint>
usingnamespacellvm;
#define DEBUG_TYPE …
const MipsMCExpr *MipsMCExpr::create(MipsMCExpr::MipsExprKind Kind,
const MCExpr *Expr, MCContext &Ctx) { … }
const MipsMCExpr *MipsMCExpr::createGpOff(MipsMCExpr::MipsExprKind Kind,
const MCExpr *Expr, MCContext &Ctx) { … }
void MipsMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { … }
bool MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm,
const MCFixup *Fixup) const { … }
void MipsMCExpr::visitUsedExpr(MCStreamer &Streamer) const { … }
static void fixELFSymbolsInTLSFixupsImpl(const MCExpr *Expr, MCAssembler &Asm) { … }
void MipsMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { … }
bool MipsMCExpr::isGpOff(MipsExprKind &Kind) const { … }