Lines Matching refs:MCSymbolRefExpr
137 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None;
148 case X86II::MO_TLVP: RefKind = MCSymbolRefExpr::VK_TLVP; break;
150 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_TLVP, Ctx);
153 MCSymbolRefExpr::Create(MF.getPICBaseSymbol(),
157 case X86II::MO_SECREL: RefKind = MCSymbolRefExpr::VK_SECREL; break;
158 case X86II::MO_TLSGD: RefKind = MCSymbolRefExpr::VK_TLSGD; break;
159 case X86II::MO_GOTTPOFF: RefKind = MCSymbolRefExpr::VK_GOTTPOFF; break;
160 case X86II::MO_INDNTPOFF: RefKind = MCSymbolRefExpr::VK_INDNTPOFF; break;
161 case X86II::MO_TPOFF: RefKind = MCSymbolRefExpr::VK_TPOFF; break;
162 case X86II::MO_NTPOFF: RefKind = MCSymbolRefExpr::VK_NTPOFF; break;
163 case X86II::MO_GOTPCREL: RefKind = MCSymbolRefExpr::VK_GOTPCREL; break;
164 case X86II::MO_GOT: RefKind = MCSymbolRefExpr::VK_GOT; break;
165 case X86II::MO_GOTOFF: RefKind = MCSymbolRefExpr::VK_GOTOFF; break;
166 case X86II::MO_PLT: RefKind = MCSymbolRefExpr::VK_PLT; break;
170 Expr = MCSymbolRefExpr::Create(Sym, Ctx);
173 MCSymbolRefExpr::Create(MF.getPICBaseSymbol(), Ctx),
182 Expr = MCSymbolRefExpr::Create(Label, Ctx);
188 Expr = MCSymbolRefExpr::Create(Sym, RefKind, Ctx);
284 if (const MCSymbolRefExpr *SRE = dyn_cast<MCSymbolRefExpr>(MCE))
285 if (SRE->getKind() == MCSymbolRefExpr::VK_TLVP)
323 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create(
562 const MCSymbolRefExpr *symRef =
563 MCSymbolRefExpr::Create(sym, MCSymbolRefExpr::VK_TLSGD, context);
602 const MCSymbolRefExpr *tlsRef =
603 MCSymbolRefExpr::Create(tlsGetAddr,
604 MCSymbolRefExpr::VK_PLT,
664 TmpInst.addOperand(MCOperand::CreateExpr(MCSymbolRefExpr::Create(PICBase,
696 const MCExpr *DotExpr = MCSymbolRefExpr::Create(DotSym, OutContext);
698 MCSymbolRefExpr::Create(MF->getPICBaseSymbol(), OutContext);
701 DotExpr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(OpSym,OutContext),