Home
last modified time | relevance | path

Searched refs:MipsMCExpr (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/
H A DMipsMCInstLower.cpp16 #include "MCTargetDesc/MipsMCExpr.h"
38 MipsMCExpr::MipsExprKind TargetKind = MipsMCExpr::MEK_None; in LowerSymbolOperand()
48 TargetKind = MipsMCExpr::MEK_GPREL; in LowerSymbolOperand()
51 TargetKind = MipsMCExpr::MEK_GOT_CALL; in LowerSymbolOperand()
54 TargetKind = MipsMCExpr::MEK_GOT; in LowerSymbolOperand()
57 TargetKind = MipsMCExpr::MEK_HI; in LowerSymbolOperand()
60 TargetKind = MipsMCExpr::MEK_LO; in LowerSymbolOperand()
63 TargetKind = MipsMCExpr::MEK_TLSGD; in LowerSymbolOperand()
66 TargetKind = MipsMCExpr in LowerSymbolOperand()
[all...]
H A DMipsTargetObjectFile.cpp194 return MipsMCExpr::create(MipsMCExpr::MEK_DTPREL, Expr, getContext()); in getDebugThreadLocalSymbol()
H A DMipsMCInstLower.h44 MipsMCExpr::MipsExprKind Kind) const;
H A DMipsAsmPrinter.cpp1224 if (auto *MipsExpr = dyn_cast<MipsMCExpr>(Value)) { in emitDebugValue()
1225 if (MipsExpr && MipsExpr->getKind() == MipsMCExpr::MEK_DTPREL) { in emitDebugValue()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsMCExpr.cpp27 const MipsMCExpr *MipsMCExpr::create(MipsMCExpr::MipsExprKind Kind, in create()
29 return new (Ctx) MipsMCExpr(Kind, Expr); in create()
32 const MipsMCExpr *MipsMCExpr::createGpOff(MipsMCExpr::MipsExprKind Kind, in createGpOff()
37 void MipsMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
132 bool MipsMCExpr::evaluateAsRelocatableImpl(MCValue &Res, const MCAssembler *Asm, in evaluateAsRelocatableImpl()
137 cast<MipsMCExpr>(cast<MipsMCExpr>(getSubExpr())->getSubExpr()) in evaluateAsRelocatableImpl()
218 void MipsMCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr()
225 fixELFSymbolsInTLSFixupsImpl(cast<MipsMCExpr>(Expr)->getSubExpr(), Asm); in fixELFSymbolsInTLSFixupsImpl()
248 void MipsMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
273 if (const MipsMCExpr *E = dyn_cast<const MipsMCExpr>(getSubExpr())) in fixELFSymbolsInTLSFixups()
[all …]
H A DMipsMCCodeEmitter.cpp15 #include "MCTargetDesc/MipsMCExpr.h"
599 const MipsMCExpr *MipsExpr = cast<MipsMCExpr>(Expr); in getExprOpValue()
603 case MipsMCExpr::MEK_None: in getExprOpValue()
604 case MipsMCExpr::MEK_Special: in getExprOpValue()
607 case MipsMCExpr::MEK_DTPREL: in getExprOpValue()
611 case MipsMCExpr::MEK_CALL_HI16: in getExprOpValue()
614 case MipsMCExpr::MEK_CALL_LO16: in getExprOpValue()
617 case MipsMCExpr::MEK_DTPREL_HI: in getExprOpValue()
621 case MipsMCExpr in getExprOpValue()
[all...]
H A DMipsMCExpr.h17 class MipsMCExpr : public MCTargetExpr {
53 explicit MipsMCExpr(MipsExprKind Kind, const MCExpr *Expr) in MipsMCExpr() function
57 static const MipsMCExpr *create(MipsExprKind Kind, const MCExpr *Expr,
59 static const MipsMCExpr *createGpOff(MipsExprKind Kind, const MCExpr *Expr,
H A DMipsTargetStreamer.cpp1176 const MCExpr *HiSym = MipsMCExpr::create( in emitDirectiveCpLoad()
1177 MipsMCExpr::MEK_HI, in emitDirectiveCpLoad()
1189 const MCExpr *LoSym = MipsMCExpr::create( in emitDirectiveCpLoad()
1190 MipsMCExpr::MEK_LO, in emitDirectiveCpLoad()
1256 const MipsMCExpr *HiExpr = MipsMCExpr::createGpOff( in emitDirectiveCpsetup()
1257 MipsMCExpr::MEK_HI, MCSymbolRefExpr::create(&Sym, MCA.getContext()), in emitDirectiveCpsetup()
1259 const MipsMCExpr *LoExpr = MipsMCExpr::createGpOff( in emitDirectiveCpsetup()
1260 MipsMCExpr::MEK_LO, MCSymbolRefExpr::create(&Sym, MCA.getContext()), in emitDirectiveCpsetup()
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/AsmParser/
H A DMipsAsmParser.cpp753 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_CALL, E, Ctx); in createTargetUnaryExpr()
755 return MipsMCExpr::create(MipsMCExpr::MEK_CALL_HI16, E, Ctx); in createTargetUnaryExpr()
757 return MipsMCExpr::create(MipsMCExpr::MEK_CALL_LO16, E, Ctx); in createTargetUnaryExpr()
759 return MipsMCExpr::create(MipsMCExpr::MEK_DTPREL_HI, E, Ctx); in createTargetUnaryExpr()
761 return MipsMCExpr::create(MipsMCExpr::MEK_DTPREL_LO, E, Ctx); in createTargetUnaryExpr()
763 return MipsMCExpr::create(MipsMCExpr::MEK_GOT, E, Ctx); in createTargetUnaryExpr()
765 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_DISP, E, Ctx); in createTargetUnaryExpr()
767 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_HI16, E, Ctx); in createTargetUnaryExpr()
769 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_LO16, E, Ctx); in createTargetUnaryExpr()
771 return MipsMCExpr::create(MipsMCExpr::MEK_GOT_OFST, E, Ctx); in createTargetUnaryExpr()
[all …]
/freebsd/lib/clang/libllvm/
H A DMakefile1435 SRCS_MIN+= Target/Mips/MCTargetDesc/MipsMCExpr.cpp