Lines Matching refs:SparcMCExpr
9 #include "MCTargetDesc/SparcMCExpr.h"
94 const SparcMCExpr *adjustPICRelocation(SparcMCExpr::VariantKind VK,
546 const MCExpr *Expr = adjustPICRelocation(SparcMCExpr::VK_Sparc_HI, ValExpr);
571 Expr = adjustPICRelocation(SparcMCExpr::VK_Sparc_LO, ValExpr);
955 SparcMCExpr::VariantKind Kind = SparcMCExpr::VK_Sparc_13;
959 Kind = SparcMCExpr::VK_Sparc_WPLT30;
961 Kind = SparcMCExpr::VK_Sparc_GOT13;
964 Res = SparcMCExpr::create(Kind, Res, getContext());
1248 if (const SparcMCExpr *SE = dyn_cast<SparcMCExpr>(Expr))
1271 const SparcMCExpr *
1272 SparcAsmParser::adjustPICRelocation(SparcMCExpr::VariantKind VK,
1282 case SparcMCExpr::VK_Sparc_LO:
1283 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC10
1284 : SparcMCExpr::VK_Sparc_GOT10);
1286 case SparcMCExpr::VK_Sparc_HI:
1287 VK = (hasGOTReference(subExpr) ? SparcMCExpr::VK_Sparc_PC22
1288 : SparcMCExpr::VK_Sparc_GOT22);
1293 return SparcMCExpr::create(VK, subExpr, getContext());
1304 SparcMCExpr::VariantKind VK = SparcMCExpr::parseVariantKind(name);
1306 if (VK == SparcMCExpr::VK_Sparc_None)