Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/
H A DSparcAsmPrinter.cpp74 static MCOperand createSparcMCOperand(SparcMCExpr::VariantKind Kind, in createSparcMCOperand()
78 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, OutContext); in createSparcMCOperand()
84 return createSparcMCOperand(SparcMCExpr::VK_Sparc_WDISP30, Label, OutContext); in createPCXCallOP()
87 static MCOperand createPCXRelExprOp(SparcMCExpr::VariantKind Kind, in createPCXRelExprOp()
100 const SparcMCExpr *expr = SparcMCExpr::create(Kind, in createPCXRelExprOp()
167 SparcMCExpr::VariantKind HiKind, in EmitHiLo()
168 SparcMCExpr::VariantKind LoKind, in EmitHiLo()
199 SparcMCExpr::VK_Sparc_HI, SparcMCExpr::VK_Sparc_LO, in LowerGETPCXAndEmitMCInsts()
204 SparcMCExpr::VK_Sparc_H44, SparcMCExpr::VK_Sparc_M44, in LowerGETPCXAndEmitMCInsts()
209 MCOperand lo = createSparcMCOperand(SparcMCExpr::VK_Sparc_L44, in LowerGETPCXAndEmitMCInsts()
[all …]
H A DSparcMCInstLower.cpp33 SparcMCExpr::VariantKind Kind = in LowerSymbolOperand()
34 (SparcMCExpr::VariantKind)MO.getTargetFlags(); in LowerSymbolOperand()
62 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, in LowerSymbolOperand()
H A DSparcTargetObjectFile.cpp41 return SparcMCExpr::create(SparcMCExpr::VK_Sparc_R_DISP32, in getTTypeGlobalReference()
H A DSparcISelLowering.cpp1057 unsigned TF = isPositionIndependent() ? SparcMCExpr::VK_Sparc_WPLT30 in LowerCall_32()
1058 : SparcMCExpr::VK_Sparc_WDISP30; in LowerCall_32()
1391 unsigned TF = isPositionIndependent() ? SparcMCExpr::VK_Sparc_WPLT30 in LowerCall_64()
1392 : SparcMCExpr::VK_Sparc_WDISP30; in LowerCall_64()
2147 withTargetFlags(Op, SparcMCExpr::VK_Sparc_GOT13, DAG)); in makeAddress()
2150 Idx = makeHiLoPair(Op, SparcMCExpr::VK_Sparc_GOT22, in makeAddress()
2151 SparcMCExpr::VK_Sparc_GOT10, DAG); in makeAddress()
2170 return makeHiLoPair(Op, SparcMCExpr::VK_Sparc_HI, in makeAddress()
2171 SparcMCExpr::VK_Sparc_LO, DAG); in makeAddress()
2174 SDValue H44 = makeHiLoPair(Op, SparcMCExpr::VK_Sparc_H44, in makeAddress()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcMCExpr.cpp26 const SparcMCExpr*
27 SparcMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
29 return new (Ctx) SparcMCExpr(Kind, Expr); in create()
32 void SparcMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
43 bool SparcMCExpr::printVariantKind(raw_ostream &OS, VariantKind Kind) in printVariantKind()
93 SparcMCExpr::VariantKind SparcMCExpr::parseVariantKind(StringRef name) in parseVariantKind()
95 return StringSwitch<SparcMCExpr::VariantKind>(name) in parseVariantKind()
138 Sparc::Fixups SparcMCExpr::getFixupKind(SparcMCExpr::VariantKind Kind) { in getFixupKind()
183 bool SparcMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
218 void SparcMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
[all …]
H A DSparcMCAsmInfo.cpp52 return SparcMCExpr::create(SparcMCExpr::VK_Sparc_R_DISP32, in getExprForPersonalitySymbol()
65 return SparcMCExpr::create(SparcMCExpr::VK_Sparc_R_DISP32, in getExprForFDESymbol()
H A DSparcMCCodeEmitter.cpp14 #include "SparcMCExpr.h"
133 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Expr)) { in getMachineOpValue()
166 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Expr)) { in getSImm13OpValue()
184 const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Expr); in getCallTargetOpValue()
H A DSparcMCExpr.h23 class SparcMCExpr : public MCTargetExpr {
73 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr) in SparcMCExpr() function
80 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr,
H A DSparcELFObjectWriter.cpp50 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Fixup.getValue())) { in getRelocType()
51 if (SExpr->getKind() == SparcMCExpr::VK_Sparc_R_DISP32) in getRelocType()
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/AsmParser/
H A DSparcAsmParser.cpp113 const SparcMCExpr *adjustPICRelocation(SparcMCExpr::VariantKind VK,
684 const MCExpr *Expr = adjustPICRelocation(SparcMCExpr::VK_Sparc_HI, ValExpr); in expandSET()
709 Expr = adjustPICRelocation(SparcMCExpr::VK_Sparc_LO, ValExpr); in expandSET()
751 .addExpr(adjustPICRelocation(SparcMCExpr::VK_Sparc_HI, ValExpr))); in expandSETX()
757 .addExpr(adjustPICRelocation(SparcMCExpr::VK_Sparc_LO, ValExpr))); in expandSETX()
771 .addExpr(adjustPICRelocation(SparcMCExpr::VK_Sparc_HH, ValExpr))); in expandSETX()
777 .addExpr(adjustPICRelocation(SparcMCExpr::VK_Sparc_HM, ValExpr))); in expandSETX()
1031 auto MatchesKind = [](SparcMCExpr::VariantKind VK) -> bool { in parseTailRelocSym()
1036 return VK == SparcMCExpr::VK_Sparc_GOTDATA_OP; in parseTailRelocSym()
1041 case SparcMCExpr::VK_Sparc_TLS_GD_ADD: in parseTailRelocSym()
[all …]