Lines Matching refs:MCSymbolRefExpr
40 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*this);
46 if (SRE.getKind() == MCSymbolRefExpr::VK_PPC_DARWIN_HA16 ||
47 SRE.getKind() == MCSymbolRefExpr::VK_PPC_DARWIN_LO16) {
48 OS << MCSymbolRefExpr::getVariantKindName(SRE.getKind());
57 if (SRE.getKind() == MCSymbolRefExpr::VK_ARM_PLT ||
58 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TLSGD ||
59 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOT ||
60 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOTOFF ||
61 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TPOFF ||
62 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOTTPOFF ||
63 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TARGET1)
64 OS << MCSymbolRefExpr::getVariantKindName(SRE.getKind());
65 else if (SRE.getKind() != MCSymbolRefExpr::VK_None &&
66 SRE.getKind() != MCSymbolRefExpr::VK_PPC_DARWIN_HA16 &&
67 SRE.getKind() != MCSymbolRefExpr::VK_PPC_DARWIN_LO16)
68 OS << '@' << MCSymbolRefExpr::getVariantKindName(SRE.getKind());
89 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) {
127 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) {
162 const MCSymbolRefExpr *MCSymbolRefExpr::Create(const MCSymbol *Sym,
165 return new (Ctx) MCSymbolRefExpr(Sym, Kind);
168 const MCSymbolRefExpr *MCSymbolRefExpr::Create(StringRef Name, VariantKind Kind,
173 StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) {
227 MCSymbolRefExpr::VariantKind
228 MCSymbolRefExpr::getVariantKindForName(StringRef Name) {
314 const MCSymbolRefExpr *&A,
315 const MCSymbolRefExpr *&B,
394 const MCValue &LHS,const MCSymbolRefExpr *RHS_A,
395 const MCSymbolRefExpr *RHS_B, int64_t RHS_Cst,
399 const MCSymbolRefExpr *LHS_A = LHS.getSymA();
400 const MCSymbolRefExpr *LHS_B = LHS.getSymB();
437 const MCSymbolRefExpr *A = LHS_A ? LHS_A : RHS_A;
438 const MCSymbolRefExpr *B = LHS_B ? LHS_B : RHS_B;
471 const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);
475 MCSymbolRefExpr::VK_None) {
599 const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this);