Searched refs:RISCVMCExpr (Results 1 – 9 of 9) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMCExpr.cpp | 30 const RISCVMCExpr *RISCVMCExpr::create(const MCExpr *Expr, VariantKind Kind, in create() 32 return new (Ctx) RISCVMCExpr(Expr, Kind); in create() 35 void RISCVMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl() 47 const MCFixup *RISCVMCExpr::getPCRelHiFixup(const MCFragment **DFOut) const { in getPCRelHiFixup() 91 bool RISCVMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl() 106 void RISCVMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr() 110 RISCVMCExpr::VariantKind RISCVMCExpr::getVariantKindForName(StringRef name) { in getVariantKindForName() 111 return StringSwitch<RISCVMCExpr::VariantKind>(name) in getVariantKindForName() 129 StringRef RISCVMCExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName() 201 void RISCVMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups() [all …]
|
H A D | RISCVMCCodeEmitter.cpp | 172 const RISCVMCExpr *Expr = dyn_cast<RISCVMCExpr>(SrcSymbol.getExpr()); in expandTLSDESCCall() 200 const RISCVMCExpr *Expr = dyn_cast<RISCVMCExpr>(SrcSymbol.getExpr()); in expandAddTPRel() 201 assert(Expr && Expr->getKind() == RISCVMCExpr::VK_RISCV_TPREL_ADD && in expandAddTPRel() 413 const RISCVMCExpr *RVExpr = cast<RISCVMCExpr>(Expr); in getImmOpValue() 416 case RISCVMCExpr::VK_RISCV_None: in getImmOpValue() 417 case RISCVMCExpr::VK_RISCV_Invalid: in getImmOpValue() 418 case RISCVMCExpr::VK_RISCV_32_PCREL: in getImmOpValue() 420 case RISCVMCExpr::VK_RISCV_TPREL_ADD: in getImmOpValue() 427 case RISCVMCExpr::VK_RISCV_LO: in getImmOpValue() 436 case RISCVMCExpr::VK_RISCV_HI: in getImmOpValue() [all …]
|
H A D | RISCVMCExpr.h | 23 class RISCVMCExpr : public MCTargetExpr { 53 explicit RISCVMCExpr(const MCExpr *Expr, VariantKind Kind) in RISCVMCExpr() function 57 static const RISCVMCExpr *create(const MCExpr *Expr, VariantKind Kind,
|
H A D | RISCVMCAsmInfo.cpp | 46 return RISCVMCExpr::create(ME, RISCVMCExpr::VK_RISCV_32_PCREL, Ctx); in getExprForFDESymbol()
|
H A D | RISCVELFObjectWriter.cpp | 10 #include "MCTargetDesc/RISCVMCExpr.h" 122 cast<RISCVMCExpr>(Expr)->getKind() == RISCVMCExpr::VK_RISCV_32_PCREL) in getRelocType()
|
H A D | RISCVAsmBackend.cpp | 539 AUIPCFixup = cast<RISCVMCExpr>(Fixup.getValue())->getPCRelHiFixup(&AUIPCDF); in evaluateTargetFixup()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/AsmParser/ |
H A D | RISCVAsmParser.cpp | 139 const MCExpr *Symbol, RISCVMCExpr::VariantKind VKHi, 290 RISCVMCExpr::VariantKind &Kind); 492 RISCVMCExpr::VariantKind &VK) { in evaluateConstantImm() 493 if (auto *RE = dyn_cast<RISCVMCExpr>(Expr)) { in evaluateConstantImm() 499 VK = RISCVMCExpr::VK_RISCV_None; in evaluateConstantImm() 511 RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None; in isBareSimmNLsb0() 520 return IsValid && VK == RISCVMCExpr::VK_RISCV_None; in isBareSimmNLsb0() 527 RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None; in isBareSymbol() 532 VK == RISCVMCExpr::VK_RISCV_None; in isBareSymbol() 537 RISCVMCExpr::VariantKind VK = RISCVMCExpr::VK_RISCV_None; in isCallSymbol() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVAsmPrinter.cpp | 525 auto Expr = RISCVMCExpr::create(Res, RISCVMCExpr::VK_RISCV_CALL, OutContext); in LowerHWASAN_CHECK_MEMACCESS() 636 auto Expr = RISCVMCExpr::create(HwasanTagMismatchV2Ref, in EmitHwasanMemaccessSymbols() 637 RISCVMCExpr::VK_RISCV_CALL, OutContext); in EmitHwasanMemaccessSymbols() 826 RISCVMCExpr::VariantKind Kind; in lowerSymbolOperand() 832 Kind = RISCVMCExpr::VK_RISCV_None; in lowerSymbolOperand() 835 Kind = RISCVMCExpr::VK_RISCV_CALL_PLT; in lowerSymbolOperand() 838 Kind = RISCVMCExpr::VK_RISCV_LO; in lowerSymbolOperand() 841 Kind = RISCVMCExpr::VK_RISCV_HI; in lowerSymbolOperand() 844 Kind = RISCVMCExpr::VK_RISCV_PCREL_LO; in lowerSymbolOperand() 847 Kind = RISCVMCExpr::VK_RISCV_PCREL_HI; in lowerSymbolOperand() [all …]
|
/freebsd/lib/clang/libllvm/ |
H A D | Makefile | 1560 SRCS_MIN+= Target/RISCV/MCTargetDesc/RISCVMCExpr.cpp
|