/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCELFObjectWriter.cpp | 56 MCSymbolRefExpr::VariantKind Modifier = Target.isAbsolute() ? 57 MCSymbolRefExpr::VK_None : Target.getSymA()->getKind(); 76 case MCSymbolRefExpr::VK_None: 79 case MCSymbolRefExpr::VK_PPC_LO: 82 case MCSymbolRefExpr::VK_PPC_HI: 85 case MCSymbolRefExpr::VK_PPC_HA: 111 case MCSymbolRefExpr::VK_None: 114 case MCSymbolRefExpr::VK_PPC_LO: 117 case MCSymbolRefExpr::VK_PPC_HI: 120 case MCSymbolRefExpr::VK_PPC_HA [all...] |
PPCMCExpr.cpp | 90 const MCSymbolRefExpr *Sym = Value.getSymA(); 91 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); 92 if (Modifier != MCSymbolRefExpr::VK_None) 98 Modifier = MCSymbolRefExpr::VK_PPC_LO; 101 Modifier = MCSymbolRefExpr::VK_PPC_HI; 104 Modifier = MCSymbolRefExpr::VK_PPC_HA; 107 Modifier = MCSymbolRefExpr::VK_PPC_HIGHERA; 110 Modifier = MCSymbolRefExpr::VK_PPC_HIGHER; 113 Modifier = MCSymbolRefExpr::VK_PPC_HIGHEST; 116 Modifier = MCSymbolRefExpr::VK_PPC_HIGHESTA [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86ELFObjectWriter.cpp | 49 MCSymbolRefExpr::VariantKind Modifier = Target.isAbsolute() ? 50 MCSymbolRefExpr::VK_None : Target.getSymA()->getKind(); 62 assert(Modifier == MCSymbolRefExpr::VK_None); 72 case MCSymbolRefExpr::VK_None: 75 case MCSymbolRefExpr::VK_PLT: 78 case MCSymbolRefExpr::VK_GOTPCREL: 81 case MCSymbolRefExpr::VK_GOTTPOFF: 84 case MCSymbolRefExpr::VK_TLSGD: 87 case MCSymbolRefExpr::VK_TLSLD: 93 assert(Modifier == MCSymbolRefExpr::VK_None) [all...] |
X86ELFRelocationInfo.cpp | 79 Expr = MCSymbolRefExpr::Create(Sym, Ctx); 88 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOT, Ctx); 93 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_PLT, Ctx); 98 Expr = MCSymbolRefExpr::Create(Sym, Ctx); 104 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx); 108 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTOFF, Ctx) [all...] |
X86MachORelocationInfo.cpp | 47 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_TLVP, Ctx); 50 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), 55 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), 60 Expr = MCBinaryExpr::CreateAdd(MCSymbolRefExpr::Create(Sym, Ctx), 65 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, Ctx); 68 Expr = MCSymbolRefExpr::Create(Sym, isPCRel ? 69 MCSymbolRefExpr::VK_GOTPCREL : 70 MCSymbolRefExpr::VK_GOT [all...] |
X86WinCOFFObjectWriter.cpp | 50 MCSymbolRefExpr::VariantKind Modifier = Target.isAbsolute() ? 51 MCSymbolRefExpr::VK_None : Target.getSymA()->getKind(); 60 if (Modifier == MCSymbolRefExpr::VK_COFF_IMGREL32)
|
/external/llvm/lib/Target/Mips/ |
MipsMCInstLower.cpp | 39 MCSymbolRefExpr::VariantKind Kind; 44 case MipsII::MO_NO_FLAG: Kind = MCSymbolRefExpr::VK_None; break; 45 case MipsII::MO_GPREL: Kind = MCSymbolRefExpr::VK_Mips_GPREL; break; 46 case MipsII::MO_GOT_CALL: Kind = MCSymbolRefExpr::VK_Mips_GOT_CALL; break; 47 case MipsII::MO_GOT16: Kind = MCSymbolRefExpr::VK_Mips_GOT16; break; 48 case MipsII::MO_GOT: Kind = MCSymbolRefExpr::VK_Mips_GOT; break; 49 case MipsII::MO_ABS_HI: Kind = MCSymbolRefExpr::VK_Mips_ABS_HI; break; 50 case MipsII::MO_ABS_LO: Kind = MCSymbolRefExpr::VK_Mips_ABS_LO; break; 51 case MipsII::MO_TLSGD: Kind = MCSymbolRefExpr::VK_Mips_TLSGD; break; 52 case MipsII::MO_TLSLDM: Kind = MCSymbolRefExpr::VK_Mips_TLSLDM; break [all...] |
/external/llvm/include/llvm/MC/ |
MCValue.h | 24 class MCSymbolRefExpr; 38 const MCSymbolRefExpr *SymA, *SymB; 43 const MCSymbolRefExpr *getSymA() const { return SymA; } 44 const MCSymbolRefExpr *getSymB() const { return SymB; } 55 static MCValue get(const MCSymbolRefExpr *SymA, const MCSymbolRefExpr *SymB=0,
|
/external/llvm/lib/Target/Mips/InstPrinter/ |
MipsInstPrinter.cpp | 104 const MCSymbolRefExpr *SRE; 107 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); 112 else if (!(SRE = dyn_cast<MCSymbolRefExpr>(Expr))) 115 MCSymbolRefExpr::VariantKind Kind = SRE->getKind(); 119 case MCSymbolRefExpr::VK_None: break; 120 case MCSymbolRefExpr::VK_Mips_GPREL: OS << "%gp_rel("; break; 121 case MCSymbolRefExpr::VK_Mips_GOT_CALL: OS << "%call16("; break; 122 case MCSymbolRefExpr::VK_Mips_GOT16: OS << "%got("; break; 123 case MCSymbolRefExpr::VK_Mips_GOT: OS << "%got("; break; 124 case MCSymbolRefExpr::VK_Mips_ABS_HI: OS << "%hi("; break [all...] |
/external/llvm/lib/MC/ |
MCObjectWriter.cpp | 22 const MCSymbolRefExpr *A, 23 const MCSymbolRefExpr *B, 26 if (A->getKind() != MCSymbolRefExpr::VK_None || 27 B->getKind() != MCSymbolRefExpr::VK_None)
|
MCELFStreamer.cpp | 127 const MCExpr *Value = MCSymbolRefExpr::Create(Symbol, getContext()); 345 const MCSymbolRefExpr &symRef = *cast<MCSymbolRefExpr>(expr); 349 case MCSymbolRefExpr::VK_GOTTPOFF: 350 case MCSymbolRefExpr::VK_INDNTPOFF: 351 case MCSymbolRefExpr::VK_NTPOFF: 352 case MCSymbolRefExpr::VK_GOTNTPOFF: 353 case MCSymbolRefExpr::VK_TLSGD: 354 case MCSymbolRefExpr::VK_TLSLD: 355 case MCSymbolRefExpr::VK_TLSLDM [all...] |
MCExpr.cpp | 40 const MCSymbolRefExpr &SRE = cast<MCSymbolRefExpr>(*this); 50 if (SRE.getKind() == MCSymbolRefExpr::VK_ARM_NONE || 51 SRE.getKind() == MCSymbolRefExpr::VK_ARM_PLT || 52 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TLSGD || 53 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOT || 54 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOTOFF || 55 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TPOFF || 56 SRE.getKind() == MCSymbolRefExpr::VK_ARM_GOTTPOFF || 57 SRE.getKind() == MCSymbolRefExpr::VK_ARM_TARGET1 | [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsBaseInfo.h | 124 inline static std::pair<const MCSymbolRefExpr*, int64_t> 130 return std::make_pair((const MCSymbolRefExpr*)0, (int64_t)0); 141 return std::make_pair((const MCSymbolRefExpr*)0, (int64_t)0); 143 return std::make_pair(cast<MCSymbolRefExpr>(LHS), CE->getValue()); 147 return std::make_pair((const MCSymbolRefExpr*)0, (int64_t)0); 149 return std::make_pair(cast<MCSymbolRefExpr>(Expr), 0);
|
MipsMCCodeEmitter.cpp | 293 switch(cast<MCSymbolRefExpr>(Expr)->getKind()) { 296 case MCSymbolRefExpr::VK_Mips_GPOFF_HI : 299 case MCSymbolRefExpr::VK_Mips_GPOFF_LO : 302 case MCSymbolRefExpr::VK_Mips_GOT_PAGE : 305 case MCSymbolRefExpr::VK_Mips_GOT_OFST : 308 case MCSymbolRefExpr::VK_Mips_GOT_DISP : 311 case MCSymbolRefExpr::VK_Mips_GPREL: 314 case MCSymbolRefExpr::VK_Mips_GOT_CALL: 317 case MCSymbolRefExpr::VK_Mips_GOT16: 320 case MCSymbolRefExpr::VK_Mips_GOT [all...] |
/external/llvm/lib/Target/ARM/ |
ARMMCInstLower.cpp | 31 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 38 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 43 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_None, 52 Expr = MCSymbolRefExpr::Create(Symbol, MCSymbolRefExpr::VK_ARM_PLT, 81 MCOp = MCOperand::CreateExpr(MCSymbolRefExpr::Create(
|
ARMTargetObjectFile.cpp | 50 return MCSymbolRefExpr::Create(Mang->getSymbol(GV), 51 MCSymbolRefExpr::VK_ARM_TARGET2,
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMELFObjectWriter.cpp | 77 const MCSymbolRefExpr::VariantKind Kind = Target.getSymA()->getKind(); 78 MCSymbolRefExpr::VariantKind Kind2; 80 MCSymbolRefExpr::VK_None; 156 MCSymbolRefExpr::VariantKind Modifier = Target.isAbsolute() ? 157 MCSymbolRefExpr::VK_None : Target.getSymA()->getKind(); 166 case MCSymbolRefExpr::VK_None: 169 case MCSymbolRefExpr::VK_ARM_TLSGD: 171 case MCSymbolRefExpr::VK_ARM_GOTTPOFF: 179 case MCSymbolRefExpr::VK_ARM_PLT: 223 case MCSymbolRefExpr::VK_ARM_NONE [all...] |
ARMELFStreamer.cpp | 188 const MCExpr *Value = MCSymbolRefExpr::Create(Start, getContext()); 302 const MCSymbolRefExpr *PersonalityRef = 303 MCSymbolRefExpr::Create(PersonalitySym, 304 MCSymbolRefExpr::VK_ARM_NONE, 333 const MCSymbolRefExpr *FnStartRef = 334 MCSymbolRefExpr::Create(FnStart, 335 MCSymbolRefExpr::VK_ARM_PREL31, 344 const MCSymbolRefExpr *ExTabEntryRef = 345 MCSymbolRefExpr::Create(ExTab, 346 MCSymbolRefExpr::VK_ARM_PREL31 [all...] |
/external/llvm/lib/Target/X86/ |
X86TargetObjectFile.cpp | 30 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_GOTPCREL, getContext()); 54 return MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_DTPOFF, getContext());
|
X86MCInstLower.cpp | 163 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; 174 case X86II::MO_TLVP: RefKind = MCSymbolRefExpr::VK_TLVP; break; 176 Expr = MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_TLVP, Ctx); 179 MCSymbolRefExpr::Create(MF.getPICBaseSymbol(), 183 case X86II::MO_SECREL: RefKind = MCSymbolRefExpr::VK_SECREL; break; 184 case X86II::MO_TLSGD: RefKind = MCSymbolRefExpr::VK_TLSGD; break; 185 case X86II::MO_TLSLD: RefKind = MCSymbolRefExpr::VK_TLSLD; break; 186 case X86II::MO_TLSLDM: RefKind = MCSymbolRefExpr::VK_TLSLDM; break [all...] |
/external/llvm/lib/Target/XCore/InstPrinter/ |
XCoreInstPrinter.cpp | 49 const MCSymbolRefExpr *SRE; 52 SRE = dyn_cast<MCSymbolRefExpr>(BE->getLHS()); 57 SRE = dyn_cast<MCSymbolRefExpr>(Expr); 60 assert(SRE->getKind() == MCSymbolRefExpr::VK_None);
|
/external/llvm/lib/Target/SystemZ/MCTargetDesc/ |
SystemZMCObjectWriter.cpp | 93 MCSymbolRefExpr::VariantKind Modifier = (Target.isAbsolute() ? 94 MCSymbolRefExpr::VK_None : 98 case MCSymbolRefExpr::VK_None: 103 case MCSymbolRefExpr::VK_NTPOFF: 107 case MCSymbolRefExpr::VK_GOT: 112 case MCSymbolRefExpr::VK_PLT: 130 Target.getSymA()->getKind() != MCSymbolRefExpr::VK_None &&
|
/external/llvm/lib/Target/PowerPC/ |
PPCTargetObjectFile.cpp | 62 MCSymbolRefExpr::Create(Sym, MCSymbolRefExpr::VK_PPC_DTPREL, getContext());
|
PPCMCInstLower.cpp | 110 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; 116 RefKind = MCSymbolRefExpr::VK_PPC_TPREL_LO; 119 RefKind = MCSymbolRefExpr::VK_PPC_TPREL_HA; 122 RefKind = MCSymbolRefExpr::VK_PPC_DTPREL_LO; 125 RefKind = MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO; 128 RefKind = MCSymbolRefExpr::VK_PPC_TOC_LO; 131 RefKind = MCSymbolRefExpr::VK_PPC_TLS; 135 const MCExpr *Expr = MCSymbolRefExpr::Create(Symbol, RefKind, Ctx); 146 const MCExpr *PB = MCSymbolRefExpr::Create(MF->getPICBaseSymbol(), Ctx) [all...] |
/external/llvm/lib/Target/SystemZ/ |
SystemZMCInstLower.cpp | 28 static MCSymbolRefExpr::VariantKind getVariantKind(unsigned Flags) { 31 return MCSymbolRefExpr::VK_None; 33 return MCSymbolRefExpr::VK_GOT; 45 MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags()); 46 const MCExpr *Expr = MCSymbolRefExpr::Create(Symbol, Kind, Ctx);
|