Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64ELFObjectWriter.cpp59 AArch64MCExpr::VariantKind RefKind, in isNonILP32reloc()
64 case AArch64MCExpr::VK_ABS_G3: in isNonILP32reloc()
67 case AArch64MCExpr::VK_ABS_G2: in isNonILP32reloc()
70 case AArch64MCExpr::VK_ABS_G2_S: in isNonILP32reloc()
73 case AArch64MCExpr::VK_ABS_G2_NC: in isNonILP32reloc()
76 case AArch64MCExpr::VK_ABS_G1_S: in isNonILP32reloc()
79 case AArch64MCExpr::VK_ABS_G1_NC: in isNonILP32reloc()
82 case AArch64MCExpr::VK_DTPREL_G2: in isNonILP32reloc()
85 case AArch64MCExpr::VK_DTPREL_G1_NC: in isNonILP32reloc()
88 case AArch64MCExpr::VK_TPREL_G2: in isNonILP32reloc()
[all …]
DAArch64WinCOFFObjectWriter.cpp78 if (const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) { in getRelocType()
79 AArch64MCExpr::VariantKind RefKind = A64E->getKind(); in getRelocType()
80 if (RefKind == AArch64MCExpr::VK_SECREL_LO12) in getRelocType()
82 if (RefKind == AArch64MCExpr::VK_SECREL_HI12) in getRelocType()
92 if (const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) { in getRelocType()
93 AArch64MCExpr::VariantKind RefKind = A64E->getKind(); in getRelocType()
94 if (RefKind == AArch64MCExpr::VK_SECREL_LO12) in getRelocType()
DAArch64MCExpr.cpp27 const AArch64MCExpr *AArch64MCExpr::create(const MCExpr *Expr, VariantKind Kind, in create()
29 return new (Ctx) AArch64MCExpr(Expr, Kind); in create()
32 StringRef AArch64MCExpr::getVariantKindName() const { in getVariantKindName()
80 void AArch64MCExpr::printImpl(raw_ostream &OS, const MCAsmInfo *MAI) const { in printImpl()
86 void AArch64MCExpr::visitUsedExpr(MCStreamer &Streamer) const { in visitUsedExpr()
90 MCFragment *AArch64MCExpr::findAssociatedFragment() const { in findAssociatedFragment()
94 bool AArch64MCExpr::evaluateAsRelocatableImpl(MCValue &Res, in evaluateAsRelocatableImpl()
135 void AArch64MCExpr::fixELFSymbolsInTLSFixups(MCAssembler &Asm) const { in fixELFSymbolsInTLSFixups()
DAArch64MCCodeEmitter.cpp283 if (const AArch64MCExpr *A64E = dyn_cast<AArch64MCExpr>(Expr)) { in getAddSubImmOpValue()
284 AArch64MCExpr::VariantKind RefKind = A64E->getKind(); in getAddSubImmOpValue()
285 if (RefKind == AArch64MCExpr::VK_TPREL_HI12 || in getAddSubImmOpValue()
286 RefKind == AArch64MCExpr::VK_DTPREL_HI12 || in getAddSubImmOpValue()
287 RefKind == AArch64MCExpr::VK_SECREL_HI12) in getAddSubImmOpValue()
572 const AArch64MCExpr *A64E = cast<AArch64MCExpr>(UImm16MO.getExpr()); in fixMOVZ()
574 case AArch64MCExpr::VK_DTPREL_G2: in fixMOVZ()
575 case AArch64MCExpr::VK_DTPREL_G1: in fixMOVZ()
576 case AArch64MCExpr::VK_DTPREL_G0: in fixMOVZ()
577 case AArch64MCExpr::VK_GOTTPREL_G1: in fixMOVZ()
[all …]
DAArch64MCExpr.h23 class AArch64MCExpr : public MCTargetExpr {
112 explicit AArch64MCExpr(const MCExpr *Expr, VariantKind Kind) in AArch64MCExpr() function
119 static const AArch64MCExpr *create(const MCExpr *Expr, VariantKind Kind,
167 static bool classof(const AArch64MCExpr *) { return true; } in classof() argument
DCMakeLists.txt7 AArch64MCExpr.cpp
/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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64MCInstLower.cpp104 RefFlags |= AArch64MCExpr::VK_GOT; in lowerSymbolOperandELF()
124 RefFlags |= AArch64MCExpr::VK_GOTTPREL; in lowerSymbolOperandELF()
127 RefFlags |= AArch64MCExpr::VK_TPREL; in lowerSymbolOperandELF()
130 RefFlags |= AArch64MCExpr::VK_DTPREL; in lowerSymbolOperandELF()
133 RefFlags |= AArch64MCExpr::VK_TLSDESC; in lowerSymbolOperandELF()
139 RefFlags |= AArch64MCExpr::VK_ABS; in lowerSymbolOperandELF()
143 RefFlags |= AArch64MCExpr::VK_PAGE; in lowerSymbolOperandELF()
146 RefFlags |= AArch64MCExpr::VK_PAGEOFF; in lowerSymbolOperandELF()
148 RefFlags |= AArch64MCExpr::VK_G3; in lowerSymbolOperandELF()
150 RefFlags |= AArch64MCExpr::VK_G2; in lowerSymbolOperandELF()
[all …]
/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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/AsmParser/
DAArch64AsmParser.cpp261 AArch64MCExpr::VariantKind &ELFRefKind,
662 AArch64MCExpr::VariantKind ELFRefKind; in isSymbolicUImm12Offset()
673 ELFRefKind == AArch64MCExpr::VK_LO12 || in isSymbolicUImm12Offset()
674 ELFRefKind == AArch64MCExpr::VK_GOT_LO12 || in isSymbolicUImm12Offset()
675 ELFRefKind == AArch64MCExpr::VK_DTPREL_LO12 || in isSymbolicUImm12Offset()
676 ELFRefKind == AArch64MCExpr::VK_DTPREL_LO12_NC || in isSymbolicUImm12Offset()
677 ELFRefKind == AArch64MCExpr::VK_TPREL_LO12 || in isSymbolicUImm12Offset()
678 ELFRefKind == AArch64MCExpr::VK_TPREL_LO12_NC || in isSymbolicUImm12Offset()
679 ELFRefKind == AArch64MCExpr::VK_GOTTPREL_LO12_NC || in isSymbolicUImm12Offset()
680 ELFRefKind == AArch64MCExpr::VK_TLSDESC_LO12 || in isSymbolicUImm12Offset()
[all …]
/external/swiftshader/third_party/llvm-7.0/
DAndroid.mk688 llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp \
DBUILD.gn569 "llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp",
/external/swiftshader/
DCMakeLists.txt1618 ${LLVM_DIR}/lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp