Home
last modified time | relevance | path

Searched refs:RefKind (Results 1 – 7 of 7) sorted by relevance

/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFObjectWriter.cpp49 AArch64MCExpr::VariantKind RefKind = in GetRelocType() local
51 AArch64MCExpr::VariantKind SymLoc = AArch64MCExpr::getSymbolLoc(RefKind); in GetRelocType()
52 bool IsNC = AArch64MCExpr::isNotChecked(RefKind); in GetRelocType()
107 if (RefKind == AArch64MCExpr::VK_DTPREL_HI12) in GetRelocType()
109 if (RefKind == AArch64MCExpr::VK_TPREL_HI12) in GetRelocType()
111 if (RefKind == AArch64MCExpr::VK_DTPREL_LO12_NC) in GetRelocType()
113 if (RefKind == AArch64MCExpr::VK_DTPREL_LO12) in GetRelocType()
115 if (RefKind == AArch64MCExpr::VK_TPREL_LO12_NC) in GetRelocType()
117 if (RefKind == AArch64MCExpr::VK_TPREL_LO12) in GetRelocType()
119 if (RefKind == AArch64MCExpr::VK_TLSDESC_LO12) in GetRelocType()
[all …]
/external/llvm/include/llvm/MC/
DMCValue.h43 uint32_t RefKind; variable
49 uint32_t getRefKind() const { return RefKind; } in getRefKind()
64 int64_t Val = 0, uint32_t RefKind = 0) {
69 R.RefKind = RefKind;
78 R.RefKind = 0; in get()
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp48 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in lowerSymbolOperandDarwin() local
51 RefKind = MCSymbolRefExpr::VK_GOTPAGE; in lowerSymbolOperandDarwin()
54 RefKind = MCSymbolRefExpr::VK_GOTPAGEOFF; in lowerSymbolOperandDarwin()
59 RefKind = MCSymbolRefExpr::VK_TLVPPAGE; in lowerSymbolOperandDarwin()
62 RefKind = MCSymbolRefExpr::VK_TLVPPAGEOFF; in lowerSymbolOperandDarwin()
67 RefKind = MCSymbolRefExpr::VK_PAGE; in lowerSymbolOperandDarwin()
70 RefKind = MCSymbolRefExpr::VK_PAGEOFF; in lowerSymbolOperandDarwin()
72 const MCExpr *Expr = MCSymbolRefExpr::create(Sym, RefKind, Ctx); in lowerSymbolOperandDarwin()
147 AArch64MCExpr::VariantKind RefKind; in lowerSymbolOperandELF() local
148 RefKind = static_cast<AArch64MCExpr::VariantKind>(RefFlags); in lowerSymbolOperandELF()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCMCInstLower.cpp117 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in GetSymbolRef() local
123 RefKind = MCSymbolRefExpr::VK_PPC_TPREL_LO; in GetSymbolRef()
126 RefKind = MCSymbolRefExpr::VK_PPC_TPREL_HA; in GetSymbolRef()
129 RefKind = MCSymbolRefExpr::VK_PPC_DTPREL_LO; in GetSymbolRef()
132 RefKind = MCSymbolRefExpr::VK_PPC_GOT_TLSLD_LO; in GetSymbolRef()
135 RefKind = MCSymbolRefExpr::VK_PPC_TOC_LO; in GetSymbolRef()
138 RefKind = MCSymbolRefExpr::VK_PPC_TLS; in GetSymbolRef()
143 RefKind = MCSymbolRefExpr::VK_PLT; in GetSymbolRef()
145 const MCExpr *Expr = MCSymbolRefExpr::create(Symbol, RefKind, Ctx); in GetSymbolRef()
/external/llvm/lib/Target/X86/
DX86MCInstLower.cpp231 MCSymbolRefExpr::VariantKind RefKind = MCSymbolRefExpr::VK_None; in LowerSymbolOperand() local
242 case X86II::MO_TLVP: RefKind = MCSymbolRefExpr::VK_TLVP; break; in LowerSymbolOperand()
251 case X86II::MO_SECREL: RefKind = MCSymbolRefExpr::VK_SECREL; break; in LowerSymbolOperand()
252 case X86II::MO_TLSGD: RefKind = MCSymbolRefExpr::VK_TLSGD; break; in LowerSymbolOperand()
253 case X86II::MO_TLSLD: RefKind = MCSymbolRefExpr::VK_TLSLD; break; in LowerSymbolOperand()
254 case X86II::MO_TLSLDM: RefKind = MCSymbolRefExpr::VK_TLSLDM; break; in LowerSymbolOperand()
255 case X86II::MO_GOTTPOFF: RefKind = MCSymbolRefExpr::VK_GOTTPOFF; break; in LowerSymbolOperand()
256 case X86II::MO_INDNTPOFF: RefKind = MCSymbolRefExpr::VK_INDNTPOFF; break; in LowerSymbolOperand()
257 case X86II::MO_TPOFF: RefKind = MCSymbolRefExpr::VK_TPOFF; break; in LowerSymbolOperand()
258 case X86II::MO_DTPOFF: RefKind = MCSymbolRefExpr::VK_DTPOFF; break; in LowerSymbolOperand()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp2932 AArch64MCExpr::VariantKind RefKind; in parseSymbolicImmVal() local
2945 RefKind = StringSwitch<AArch64MCExpr::VariantKind>(LowerCase) in parseSymbolicImmVal()
2983 if (RefKind == AArch64MCExpr::VK_INVALID) { in parseSymbolicImmVal()
3002 ImmVal = AArch64MCExpr::create(ImmVal, RefKind, getContext()); in parseSymbolicImmVal()
/external/llvm/lib/Target/ARM/AsmParser/
DARMAsmParser.cpp203 bool parsePrefix(ARMMCExpr::VariantKind &RefKind);
5129 ARMMCExpr::VariantKind RefKind; in parseOperand() local
5130 if (parsePrefix(RefKind)) in parseOperand()
5137 const MCExpr *ExprVal = ARMMCExpr::create(RefKind, SubExprVal, in parseOperand()
5164 bool ARMAsmParser::parsePrefix(ARMMCExpr::VariantKind &RefKind) { in parsePrefix() argument
5166 RefKind = ARMMCExpr::VK_ARM_None; in parsePrefix()
5226 RefKind = Prefix->VariantKind; in parsePrefix()