llvm/llvm/lib/Target/LoongArch/MCTargetDesc/LoongArchMCExpr.cpp

//===-- LoongArchMCExpr.cpp - LoongArch specific MC expression classes ----===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// This file contains the implementation of the assembly expression modifiers
// accepted by the LoongArch architecture.
//
//===----------------------------------------------------------------------===//

#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 {}