Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp77 static MCOperand createSparcMCOperand(SparcMCExpr::VariantKind Kind, in createSparcMCOperand()
81 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, OutContext); in createSparcMCOperand()
87 return createSparcMCOperand(SparcMCExpr::VK_Sparc_None, Label, OutContext); in createPCXCallOP()
90 static MCOperand createPCXRelExprOp(SparcMCExpr::VariantKind Kind, in createPCXRelExprOp()
103 const SparcMCExpr *expr = SparcMCExpr::create(Kind, in createPCXRelExprOp()
161 SparcMCExpr::VariantKind HiKind, in EmitHiLo()
162 SparcMCExpr::VariantKind LoKind, in EmitHiLo()
193 SparcMCExpr::VK_Sparc_HI, SparcMCExpr::VK_Sparc_LO, in LowerGETPCXAndEmitMCInsts()
198 SparcMCExpr::VK_Sparc_H44, SparcMCExpr::VK_Sparc_M44, in LowerGETPCXAndEmitMCInsts()
203 MCOperand lo = createSparcMCOperand(SparcMCExpr::VK_Sparc_L44, in LowerGETPCXAndEmitMCInsts()
[all …]
DSparcMCInstLower.cpp34 SparcMCExpr::VariantKind Kind = in LowerSymbolOperand()
35 (SparcMCExpr::VariantKind)MO.getTargetFlags(); in LowerSymbolOperand()
63 const SparcMCExpr *expr = SparcMCExpr::create(Kind, MCSym, in LowerSymbolOperand()
DSparcTargetObjectFile.cpp37 return SparcMCExpr::create(SparcMCExpr::VK_Sparc_R_DISP32, in getTTypeGlobalReference()
DSparcISelLowering.cpp955 unsigned TF = isPositionIndependent() ? SparcMCExpr::VK_Sparc_WPLT30 : 0; in LowerCall_32()
1308 unsigned TF = isPositionIndependent() ? SparcMCExpr::VK_Sparc_WPLT30 : 0; in LowerCall_64()
1977 SDValue HiLo = makeHiLoPair(Op, SparcMCExpr::VK_Sparc_GOT22, in makeAddress()
1978 SparcMCExpr::VK_Sparc_GOT10, DAG); in makeAddress()
1996 return makeHiLoPair(Op, SparcMCExpr::VK_Sparc_HI, in makeAddress()
1997 SparcMCExpr::VK_Sparc_LO, DAG); in makeAddress()
2000 SDValue H44 = makeHiLoPair(Op, SparcMCExpr::VK_Sparc_H44, in makeAddress()
2001 SparcMCExpr::VK_Sparc_M44, DAG); in makeAddress()
2003 SDValue L44 = withTargetFlags(Op, SparcMCExpr::VK_Sparc_L44, DAG); in makeAddress()
2009 SDValue Hi = makeHiLoPair(Op, SparcMCExpr::VK_Sparc_HH, in makeAddress()
[all …]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp27 const SparcMCExpr*
28 SparcMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create()
30 return new (Ctx) SparcMCExpr(Kind, Expr); in create()
33 void SparcMCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
44 bool SparcMCExpr::printVariantKind(raw_ostream &OS, VariantKind Kind) in printVariantKind()
86 SparcMCExpr::VariantKind SparcMCExpr::parseVariantKind(StringRef name) in parseVariantKind()
88 return StringSwitch<SparcMCExpr::VariantKind>(name) in parseVariantKind()
122 Sparc::Fixups SparcMCExpr::getFixupKind(SparcMCExpr::VariantKind Kind) { in getFixupKind()
159 SparcMCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
194 void SparcMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
[all …]
DSparcMCAsmInfo.cpp53 return SparcMCExpr::create(SparcMCExpr::VK_Sparc_R_DISP32, in getExprForPersonalitySymbol()
66 return SparcMCExpr::create(SparcMCExpr::VK_Sparc_R_DISP32, in getExprForFDESymbol()
DSparcMCCodeEmitter.cpp128 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Expr)) { in getMachineOpValue()
155 const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr()); in getCallTargetOpValue()
167 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr())) { in getCallTargetOpValue()
168 if (SExpr->getKind() == SparcMCExpr::VK_Sparc_WPLT30) in getCallTargetOpValue()
DSparcMCExpr.h24 class SparcMCExpr : public MCTargetExpr {
65 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr) in SparcMCExpr() function
72 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr,
103 static bool classof(const SparcMCExpr *) { return true; } in classof() argument
DSparcELFObjectWriter.cpp46 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Fixup.getValue())) { in getRelocType()
47 if (SExpr->getKind() == SparcMCExpr::VK_Sparc_R_DISP32) in getRelocType()
DCMakeLists.txt7 SparcMCExpr.cpp
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp73 const SparcMCExpr *adjustPICRelocation(SparcMCExpr::VariantKind VK,
507 const MCExpr *Expr = adjustPICRelocation(SparcMCExpr::VK_Sparc_HI, ValExpr); in expandSET()
532 Expr = adjustPICRelocation(SparcMCExpr::VK_Sparc_LO, ValExpr); in expandSET()
903 Res = SparcMCExpr::create(SparcMCExpr::VK_Sparc_WPLT30, Res, in parseSparcAsmOperand()
1191 if (const SparcMCExpr *SE = dyn_cast<SparcMCExpr>(Expr)) in hasGOTReference()
1214 const SparcMCExpr *
1215 SparcAsmParser::adjustPICRelocation(SparcMCExpr::VariantKind VK, in adjustPICRelocation()
1226 case SparcMCExpr::VK_Sparc_LO: in adjustPICRelocation()
1227 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC10 in adjustPICRelocation()
1228 : SparcMCExpr::VK_Sparc_GOT10); in adjustPICRelocation()
[all …]