Lines Matching refs:MCSymbolRefExpr

38     const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*this);  in print()
44 if (SRE.getKind() == MCSymbolRefExpr::VK_PPC_DARWIN_HA16 || in print()
45 SRE.getKind() == MCSymbolRefExpr::VK_PPC_DARWIN_LO16) { in print()
46 OS << MCSymbolRefExpr::getVariantKindName(SRE.getKind()); in print()
55 if (SRE.getKind() == MCSymbolRefExpr::VK_ARM_PLT || in print()
56 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TLSGD || in print()
57 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOT || in print()
58 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOTOFF || in print()
59 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TPOFF || in print()
60 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOTTPOFF) in print()
61 OS << MCSymbolRefExpr::getVariantKindName(SRE.getKind()); in print()
62 else if (SRE.getKind() != MCSymbolRefExpr::VK_None && in print()
63 SRE.getKind() != MCSymbolRefExpr::VK_PPC_DARWIN_HA16 && in print()
64 SRE.getKind() != MCSymbolRefExpr::VK_PPC_DARWIN_LO16) in print()
65 OS << '@' << MCSymbolRefExpr::getVariantKindName(SRE.getKind()); in print()
87 if (isa<MCConstantExpr>(BE.getLHS()) || isa<MCSymbolRefExpr>(BE.getLHS())) { in print()
126 if (isa<MCConstantExpr>(BE.getRHS()) || isa<MCSymbolRefExpr>(BE.getRHS())) { in print()
161 const MCSymbolRefExpr *MCSymbolRefExpr::Create(const MCSymbol *Sym, in Create()
164 return new (Ctx) MCSymbolRefExpr(Sym, Kind); in Create()
167 const MCSymbolRefExpr *MCSymbolRefExpr::Create(StringRef Name, VariantKind Kind, in Create()
172 StringRef MCSymbolRefExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName()
206 MCSymbolRefExpr::VariantKind
207 MCSymbolRefExpr::getVariantKindForName(StringRef Name) { in getVariantKindForName()
293 const MCSymbolRefExpr *&A, in AttemptToFoldSymbolOffsetDifference()
294 const MCSymbolRefExpr *&B, in AttemptToFoldSymbolOffsetDifference()
368 const MCValue &LHS,const MCSymbolRefExpr *RHS_A, in EvaluateSymbolicAdd()
369 const MCSymbolRefExpr *RHS_B, int64_t RHS_Cst, in EvaluateSymbolicAdd()
373 const MCSymbolRefExpr *LHS_A = LHS.getSymA(); in EvaluateSymbolicAdd()
374 const MCSymbolRefExpr *LHS_B = LHS.getSymB(); in EvaluateSymbolicAdd()
411 const MCSymbolRefExpr *A = LHS_A ? LHS_A : RHS_A; in EvaluateSymbolicAdd()
412 const MCSymbolRefExpr *B = LHS_B ? LHS_B : RHS_B; in EvaluateSymbolicAdd()
445 const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this); in EvaluateAsRelocatableImpl()
449 if (Sym.isVariable() && SRE->getKind() == MCSymbolRefExpr::VK_None) { in EvaluateAsRelocatableImpl()
574 const MCSymbolRefExpr *SRE = cast<MCSymbolRefExpr>(this); in FindAssociatedSection()