Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Sparc/
DSparcAsmPrinter.cpp79 static MCOperand createSparcMCOperand(SparcMCExpr::VariantKind Kind, in createSparcMCOperand()
83 const SparcMCExpr *expr = SparcMCExpr::Create(Kind, MCSym, OutContext); in createSparcMCOperand()
89 return createSparcMCOperand(SparcMCExpr::VK_Sparc_None, Label, OutContext); in createPCXCallOP()
92 static MCOperand createPCXRelExprOp(SparcMCExpr::VariantKind Kind, in createPCXRelExprOp()
105 const SparcMCExpr *expr = SparcMCExpr::Create(Kind, in createPCXRelExprOp()
163 SparcMCExpr::VariantKind HiKind, in EmitHiLo()
164 SparcMCExpr::VariantKind LoKind, in EmitHiLo()
195 SparcMCExpr::VK_Sparc_HI, SparcMCExpr::VK_Sparc_LO, in LowerGETPCXAndEmitMCInsts()
200 SparcMCExpr::VK_Sparc_H44, SparcMCExpr::VK_Sparc_M44, in LowerGETPCXAndEmitMCInsts()
205 MCOperand lo = createSparcMCOperand(SparcMCExpr::VK_Sparc_L44, in LowerGETPCXAndEmitMCInsts()
[all …]
DSparcMCInstLower.cpp35 SparcMCExpr::VariantKind Kind = in LowerSymbolOperand()
36 (SparcMCExpr::VariantKind)MO.getTargetFlags(); in LowerSymbolOperand()
64 const SparcMCExpr *expr = SparcMCExpr::Create(Kind, MCSym, in LowerSymbolOperand()
DSparcTargetObjectFile.cpp37 return SparcMCExpr::Create(SparcMCExpr::VK_Sparc_R_DISP32, in getTTypeGlobalReference()
DSparcISelLowering.cpp900 ? SparcMCExpr::VK_Sparc_WPLT30 : 0); in LowerCall_32()
1215 ? SparcMCExpr::VK_Sparc_WPLT30 : 0); in LowerCall_64()
1810 SDValue HiLo = makeHiLoPair(Op, SparcMCExpr::VK_Sparc_GOT22, in makeAddress()
1811 SparcMCExpr::VK_Sparc_GOT10, DAG); in makeAddress()
1828 return makeHiLoPair(Op, SparcMCExpr::VK_Sparc_HI, in makeAddress()
1829 SparcMCExpr::VK_Sparc_LO, DAG); in makeAddress()
1832 SDValue H44 = makeHiLoPair(Op, SparcMCExpr::VK_Sparc_H44, in makeAddress()
1833 SparcMCExpr::VK_Sparc_M44, DAG); in makeAddress()
1835 SDValue L44 = withTargetFlags(Op, SparcMCExpr::VK_Sparc_L44, DAG); in makeAddress()
1841 SDValue Hi = makeHiLoPair(Op, SparcMCExpr::VK_Sparc_HH, in makeAddress()
[all …]
/external/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCExpr.cpp28 const SparcMCExpr*
29 SparcMCExpr::Create(VariantKind Kind, const MCExpr *Expr, in Create()
31 return new (Ctx) SparcMCExpr(Kind, Expr); in Create()
36 void SparcMCExpr::PrintImpl(raw_ostream &OS) const in PrintImpl()
48 bool SparcMCExpr::printVariantKind(raw_ostream &OS, VariantKind Kind) in printVariantKind()
90 SparcMCExpr::VariantKind SparcMCExpr::parseVariantKind(StringRef name) in parseVariantKind()
92 return StringSwitch<SparcMCExpr::VariantKind>(name) in parseVariantKind()
126 Sparc::Fixups SparcMCExpr::getFixupKind(SparcMCExpr::VariantKind Kind) { in getFixupKind()
163 SparcMCExpr::EvaluateAsRelocatableImpl(MCValue &Res, in EvaluateAsRelocatableImpl()
199 void SparcMCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
[all …]
DSparcMCAsmInfo.cpp54 return SparcMCExpr::Create(SparcMCExpr::VK_Sparc_R_DISP32, in getExprForPersonalitySymbol()
67 return SparcMCExpr::Create(SparcMCExpr::VK_Sparc_R_DISP32, in getExprForFDESymbol()
DSparcMCCodeEmitter.cpp125 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Expr)) { in getMachineOpValue()
152 const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr()); in getCallTargetOpValue()
164 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(MO.getExpr())) { in getCallTargetOpValue()
165 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.cpp41 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Fixup.getValue())) { in GetRelocType()
42 if (SExpr->getKind() == SparcMCExpr::VK_Sparc_R_DISP32) in GetRelocType()
DCMakeLists.txt7 SparcMCExpr.cpp
/external/llvm/lib/Target/Sparc/AsmParser/
DSparcAsmParser.cpp699 Res = SparcMCExpr::Create(SparcMCExpr::VK_Sparc_WPLT30, Res, in parseSparcAsmOperand()
843 if (const SparcMCExpr *SE = dyn_cast<SparcMCExpr>(Expr)) in hasGOTReference()
875 SparcMCExpr::VariantKind VK = SparcMCExpr::parseVariantKind(name); in matchSparcAsmModifiers()
877 if (VK == SparcMCExpr::VK_Sparc_None) in matchSparcAsmModifiers()
893 case SparcMCExpr::VK_Sparc_LO: in matchSparcAsmModifiers()
895 ? SparcMCExpr::VK_Sparc_PC10 in matchSparcAsmModifiers()
896 : (isPIC ? SparcMCExpr::VK_Sparc_GOT10 : VK)); in matchSparcAsmModifiers()
898 case SparcMCExpr::VK_Sparc_HI: in matchSparcAsmModifiers()
900 ? SparcMCExpr::VK_Sparc_PC22 in matchSparcAsmModifiers()
901 : (isPIC ? SparcMCExpr::VK_Sparc_GOT22 : VK)); in matchSparcAsmModifiers()
[all …]