Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFObjectWriter.cpp51 AArch64MCExpr::VariantKind RefKind = in getRelocType()
52 static_cast<AArch64MCExpr::VariantKind>(Target.getRefKind()); in getRelocType()
53 AArch64MCExpr::VariantKind SymLoc = AArch64MCExpr::getSymbolLoc(RefKind); in getRelocType()
54 bool IsNC = AArch64MCExpr::isNotChecked(RefKind); in getRelocType()
76 assert(SymLoc == AArch64MCExpr::VK_NONE && "unexpected ADR relocation"); in getRelocType()
79 if (SymLoc == AArch64MCExpr::VK_ABS && !IsNC) in getRelocType()
81 if (SymLoc == AArch64MCExpr::VK_GOT && !IsNC) in getRelocType()
83 if (SymLoc == AArch64MCExpr::VK_GOTTPREL && !IsNC) in getRelocType()
85 if (SymLoc == AArch64MCExpr::VK_TLSDESC && !IsNC) in getRelocType()
95 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.cpp520 const AArch64MCExpr *A64E = cast<AArch64MCExpr>(UImm16MO.getExpr()); in fixMOVZ()
522 case AArch64MCExpr::VK_DTPREL_G2: in fixMOVZ()
523 case AArch64MCExpr::VK_DTPREL_G1: in fixMOVZ()
524 case AArch64MCExpr::VK_DTPREL_G0: in fixMOVZ()
525 case AArch64MCExpr::VK_GOTTPREL_G1: in fixMOVZ()
526 case AArch64MCExpr::VK_TPREL_G2: in fixMOVZ()
527 case AArch64MCExpr::VK_TPREL_G1: in fixMOVZ()
528 case AArch64MCExpr::VK_TPREL_G0: in fixMOVZ()
DCMakeLists.txt7 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.cpp140 AArch64MCExpr::VariantKind &ELFRefKind,
479 AArch64MCExpr::VariantKind ELFRefKind; in isSymbolicUImm12Offset()
490 ELFRefKind == AArch64MCExpr::VK_LO12 || in isSymbolicUImm12Offset()
491 ELFRefKind == AArch64MCExpr::VK_GOT_LO12 || in isSymbolicUImm12Offset()
492 ELFRefKind == AArch64MCExpr::VK_DTPREL_LO12 || in isSymbolicUImm12Offset()
493 ELFRefKind == AArch64MCExpr::VK_DTPREL_LO12_NC || in isSymbolicUImm12Offset()
494 ELFRefKind == AArch64MCExpr::VK_TPREL_LO12 || in isSymbolicUImm12Offset()
495 ELFRefKind == AArch64MCExpr::VK_TPREL_LO12_NC || in isSymbolicUImm12Offset()
496 ELFRefKind == AArch64MCExpr::VK_GOTTPREL_LO12_NC || in isSymbolicUImm12Offset()
497 ELFRefKind == AArch64MCExpr::VK_TLSDESC_LO12) { in isSymbolicUImm12Offset()
[all …]