Home
last modified time | relevance | path

Searched refs:AArch64MCExpr (Results 1 – 8 of 8) sorted by relevance

/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFObjectWriter.cpp49 AArch64MCExpr::VariantKind RefKind = in GetRelocType()
50 static_cast<AArch64MCExpr::VariantKind>(Target.getRefKind()); in GetRelocType()
51 AArch64MCExpr::VariantKind SymLoc = AArch64MCExpr::getSymbolLoc(RefKind); in GetRelocType()
52 bool IsNC = AArch64MCExpr::isNotChecked(RefKind); in GetRelocType()
71 assert(SymLoc == AArch64MCExpr::VK_NONE && "unexpected ADR relocation"); in GetRelocType()
74 if (SymLoc == AArch64MCExpr::VK_ABS && !IsNC) in GetRelocType()
76 if (SymLoc == AArch64MCExpr::VK_GOT && !IsNC) in GetRelocType()
78 if (SymLoc == AArch64MCExpr::VK_GOTTPREL && !IsNC) in GetRelocType()
80 if (SymLoc == AArch64MCExpr::VK_TLSDESC && !IsNC) in GetRelocType()
88 if (SymLoc == AArch64MCExpr::VK_GOTTPREL) in GetRelocType()
[all …]
DAArch64MCExpr.cpp28 const AArch64MCExpr *AArch64MCExpr::create(const MCExpr *Expr, VariantKind Kind, in create()
30 return new (Ctx) AArch64MCExpr(Expr, Kind); in create()
33 StringRef AArch64MCExpr::getVariantKindName() const { in getVariantKindName()
78 void AArch64MCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
84 void AArch64MCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr()
88 MCFragment *AArch64MCExpr::findAssociatedFragment() const { in findAssociatedFragment()
92 bool AArch64MCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
133 void AArch64MCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
DAArch64MCExpr.h23 class AArch64MCExpr : public MCTargetExpr {
108 explicit AArch64MCExpr(const MCExpr *Expr, VariantKind Kind) in AArch64MCExpr() function
115 static const AArch64MCExpr *create(const MCExpr *Expr, VariantKind Kind,
163 static bool classof(const AArch64MCExpr *) { return true; } in classof() argument
DAArch64MCCodeEmitter.cpp573 const AArch64MCExpr *A64E = cast<AArch64MCExpr>(UImm16MO.getExpr()); in fixMOVZ()
575 case AArch64MCExpr::VK_DTPREL_G2: in fixMOVZ()
576 case AArch64MCExpr::VK_DTPREL_G1: in fixMOVZ()
577 case AArch64MCExpr::VK_DTPREL_G0: in fixMOVZ()
578 case AArch64MCExpr::VK_GOTTPREL_G1: in fixMOVZ()
579 case AArch64MCExpr::VK_TPREL_G2: in fixMOVZ()
580 case AArch64MCExpr::VK_TPREL_G1: in fixMOVZ()
581 case AArch64MCExpr::VK_TPREL_G0: in fixMOVZ()
DCMakeLists.txt7 AArch64MCExpr.cpp
DAndroid.mk16 AArch64MCExpr.cpp \
/external/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp84 RefFlags |= AArch64MCExpr::VK_GOT; in lowerSymbolOperandELF()
104 RefFlags |= AArch64MCExpr::VK_GOTTPREL; in lowerSymbolOperandELF()
107 RefFlags |= AArch64MCExpr::VK_TPREL; in lowerSymbolOperandELF()
110 RefFlags |= AArch64MCExpr::VK_DTPREL; in lowerSymbolOperandELF()
113 RefFlags |= AArch64MCExpr::VK_TLSDESC; in lowerSymbolOperandELF()
119 RefFlags |= AArch64MCExpr::VK_ABS; in lowerSymbolOperandELF()
123 RefFlags |= AArch64MCExpr::VK_PAGE; in lowerSymbolOperandELF()
126 RefFlags |= AArch64MCExpr::VK_PAGEOFF; in lowerSymbolOperandELF()
128 RefFlags |= AArch64MCExpr::VK_G3; in lowerSymbolOperandELF()
130 RefFlags |= AArch64MCExpr::VK_G2; in lowerSymbolOperandELF()
[all …]
/external/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp138 AArch64MCExpr::VariantKind &ELFRefKind,
477 AArch64MCExpr::VariantKind ELFRefKind; in isSymbolicUImm12Offset()
488 ELFRefKind == AArch64MCExpr::VK_LO12 || in isSymbolicUImm12Offset()
489 ELFRefKind == AArch64MCExpr::VK_GOT_LO12 || in isSymbolicUImm12Offset()
490 ELFRefKind == AArch64MCExpr::VK_DTPREL_LO12 || in isSymbolicUImm12Offset()
491 ELFRefKind == AArch64MCExpr::VK_DTPREL_LO12_NC || in isSymbolicUImm12Offset()
492 ELFRefKind == AArch64MCExpr::VK_TPREL_LO12 || in isSymbolicUImm12Offset()
493 ELFRefKind == AArch64MCExpr::VK_TPREL_LO12_NC || in isSymbolicUImm12Offset()
494 ELFRefKind == AArch64MCExpr::VK_GOTTPREL_LO12_NC || in isSymbolicUImm12Offset()
495 ELFRefKind == AArch64MCExpr::VK_TLSDESC_LO12) { in isSymbolicUImm12Offset()
[all …]