/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
H A D | HexagonELFObjectWriter.cpp | 46 MCSymbolRefExpr::VariantKind Variant = Target.getAccessVariant(); in getRelocType() 53 case MCSymbolRefExpr::VariantKind::VK_DTPREL: in getRelocType() 55 case MCSymbolRefExpr::VariantKind::VK_GOT: in getRelocType() 57 case MCSymbolRefExpr::VariantKind::VK_GOTREL: in getRelocType() 59 case MCSymbolRefExpr::VariantKind::VK_Hexagon_GD_GOT: in getRelocType() 61 case MCSymbolRefExpr::VariantKind::VK_Hexagon_IE: in getRelocType() 63 case MCSymbolRefExpr::VariantKind::VK_Hexagon_IE_GOT: in getRelocType() 65 case MCSymbolRefExpr::VariantKind::VK_Hexagon_LD_GOT: in getRelocType() 67 case MCSymbolRefExpr::VariantKind::VK_PCREL: in getRelocType() 69 case MCSymbolRefExpr::VariantKind::VK_TPREL: in getRelocType() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/ |
H A D | VEMCExpr.h | 25 enum VariantKind { enum 45 const VariantKind Kind; 48 explicit VEMCExpr(VariantKind Kind, const MCExpr *Expr) in VEMCExpr() 55 static const VEMCExpr *create(VariantKind Kind, const MCExpr *Expr, 62 VariantKind getKind() const { return Kind; } in getKind() 85 static VariantKind parseVariantKind(StringRef name); 86 static bool printVariantKind(raw_ostream &OS, VariantKind Kind); 87 static void printVariantKindSuffix(raw_ostream &OS, VariantKind Kind); 88 static VE::Fixups getFixupKind(VariantKind Kind);
|
H A D | VEMCExpr.cpp | 27 const VEMCExpr *VEMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create() 44 bool VEMCExpr::printVariantKind(raw_ostream &OS, VariantKind Kind) { in printVariantKind() 70 void VEMCExpr::printVariantKindSuffix(raw_ostream &OS, VariantKind Kind) { in printVariantKindSuffix() 120 VEMCExpr::VariantKind VEMCExpr::parseVariantKind(StringRef name) { in parseVariantKind() 121 return StringSwitch<VEMCExpr::VariantKind>(name) in parseVariantKind() 139 VE::Fixups VEMCExpr::getFixupKind(VEMCExpr::VariantKind Kind) { in getFixupKind()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
H A D | XtensaMCExpr.h | 25 enum VariantKind { VK_Xtensa_None, VK_Xtensa_Invalid }; enum 29 const VariantKind Kind; 31 explicit XtensaMCExpr(const MCExpr *Expr, VariantKind Kind) in XtensaMCExpr() 35 static const XtensaMCExpr *create(const MCExpr *Expr, VariantKind Kind, 38 VariantKind getKind() const { return Kind; } in getKind() 52 static VariantKind getVariantKindForName(StringRef name); 53 static StringRef getVariantKindName(VariantKind Kind);
|
H A D | XtensaMCExpr.cpp | 29 const XtensaMCExpr *XtensaMCExpr::create(const MCExpr *Expr, VariantKind Kind, in create() 53 XtensaMCExpr::VariantKind XtensaMCExpr::getVariantKindForName(StringRef name) { in getVariantKindForName() 54 return StringSwitch<XtensaMCExpr::VariantKind>(name).Default( in getVariantKindForName() 58 StringRef XtensaMCExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcMCExpr.h | 25 enum VariantKind { enum 70 const VariantKind Kind; 73 explicit SparcMCExpr(VariantKind Kind, const MCExpr *Expr) in SparcMCExpr() 80 static const SparcMCExpr *create(VariantKind Kind, const MCExpr *Expr, 87 VariantKind getKind() const { return Kind; } in getKind() 110 static VariantKind parseVariantKind(StringRef name); 111 static bool printVariantKind(raw_ostream &OS, VariantKind Kind); 112 static Sparc::Fixups getFixupKind(VariantKind Kind);
|
H A D | SparcMCExpr.cpp | 27 SparcMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create() 43 bool SparcMCExpr::printVariantKind(raw_ostream &OS, VariantKind Kind) in printVariantKind() 93 SparcMCExpr::VariantKind SparcMCExpr::parseVariantKind(StringRef name) in parseVariantKind() 95 return StringSwitch<SparcMCExpr::VariantKind>(name) in parseVariantKind() 138 Sparc::Fixups SparcMCExpr::getFixupKind(SparcMCExpr::VariantKind Kind) { in getFixupKind()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCExpr.h | 26 enum VariantKind { enum 121 const VariantKind Kind; 124 explicit AArch64MCExpr(const MCExpr *Expr, VariantKind Kind) in AArch64MCExpr() 131 static const AArch64MCExpr *create(const MCExpr *Expr, VariantKind Kind, 139 VariantKind getKind() const { return Kind; } in getKind() 148 static VariantKind getSymbolLoc(VariantKind Kind) { in getSymbolLoc() 149 return static_cast<VariantKind>(Kind & VK_SymLocBits); in getSymbolLoc() 152 static VariantKind getAddressFrag(VariantKind Kind) { in getAddressFrag() 153 return static_cast<VariantKind>(Kind & VK_AddressFragBits); in getAddressFrag() 156 static bool isNotChecked(VariantKind Kind) { return Kind & VK_NC; } in isNotChecked()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVMCExpr.h | 25 enum VariantKind { enum 49 const VariantKind Kind; 53 explicit RISCVMCExpr(const MCExpr *Expr, VariantKind Kind) in RISCVMCExpr() 57 static const RISCVMCExpr *create(const MCExpr *Expr, VariantKind Kind, 60 VariantKind getKind() const { return Kind; } in getKind() 87 static VariantKind getVariantKindForName(StringRef name); 88 static StringRef getVariantKindName(VariantKind Kind);
|
H A D | RISCVMCExpr.cpp | 30 const RISCVMCExpr *RISCVMCExpr::create(const MCExpr *Expr, VariantKind Kind, in create() 36 VariantKind Kind = getKind(); in printImpl() 110 RISCVMCExpr::VariantKind RISCVMCExpr::getVariantKindForName(StringRef name) { in getVariantKindForName() 111 return StringSwitch<RISCVMCExpr::VariantKind>(name) in getVariantKindForName() 129 StringRef RISCVMCExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUMCExpr.h | 32 enum VariantKind { enum 43 VariantKind Kind; 48 AMDGPUMCExpr(VariantKind Kind, ArrayRef<const MCExpr *> Args, MCContext &Ctx); 62 create(VariantKind Kind, ArrayRef<const MCExpr *> Args, MCContext &Ctx); 66 return create(VariantKind::AGVK_Or, Args, Ctx); in createOr() 71 return create(VariantKind::AGVK_Max, Args, Ctx); in createMax() 84 return create(VariantKind::AGVK_AlignTo, {Value, Align}, Ctx); in createAlignTo() 93 VariantKind getKind() const { return Kind; } in getKind()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/ |
H A D | LoongArchMCExpr.h | 25 enum VariantKind { enum 87 const VariantKind Kind; 90 explicit LoongArchMCExpr(const MCExpr *Expr, VariantKind Kind, bool Hint) in LoongArchMCExpr() 94 static const LoongArchMCExpr *create(const MCExpr *Expr, VariantKind Kind, 97 VariantKind getKind() const { return Kind; } in getKind() 115 static StringRef getVariantKindName(VariantKind Kind); 116 static VariantKind getVariantKindForName(StringRef name);
|
H A D | LoongArchMCExpr.cpp | 29 VariantKind Kind, MCContext &Ctx, in create() 35 VariantKind Kind = getKind(); in printImpl() 65 StringRef LoongArchMCExpr::getVariantKindName(VariantKind Kind) { in getVariantKindName() 180 LoongArchMCExpr::VariantKind 182 return StringSwitch<LoongArchMCExpr::VariantKind>(name) in getVariantKindForName()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
H A D | CSKYMCExpr.h | 19 enum VariantKind { enum 40 const VariantKind Kind; 43 explicit CSKYMCExpr(VariantKind Kind, const MCExpr *Expr) in CSKYMCExpr() 47 static const CSKYMCExpr *create(const MCExpr *Expr, VariantKind Kind, 51 VariantKind getKind() const { return Kind; } in getKind() 72 static StringRef getVariantKindName(VariantKind Kind);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCExpr.h | 22 enum VariantKind { enum 42 static const AVRMCExpr *create(VariantKind Kind, const MCExpr *Expr, 46 VariantKind getKind() const { return Kind; } in getKind() 75 static VariantKind getKindByName(StringRef Name); 80 const VariantKind Kind; 85 explicit AVRMCExpr(VariantKind Kind, const MCExpr *Expr, bool Negated) in AVRMCExpr()
|
H A D | AVRMCExpr.cpp | 22 AVRMCExpr::VariantKind VariantKind; member 37 const AVRMCExpr *AVRMCExpr::create(VariantKind Kind, const MCExpr *Expr, in create() 87 MCSymbolRefExpr::VariantKind Modifier = Sym->getKind(); in evaluateAsRelocatableImpl() 199 return Mod.VariantKind == Kind; in getName() 208 AVRMCExpr::VariantKind AVRMCExpr::getKindByName(StringRef Name) { in getKindByName() 215 return Modifier->VariantKind; in getKindByName()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/ |
H A D | LanaiMCExpr.h | 19 enum VariantKind { VK_Lanai_None, VK_Lanai_ABS_HI, VK_Lanai_ABS_LO }; enum 22 const VariantKind Kind; 25 explicit LanaiMCExpr(VariantKind Kind, const MCExpr *Expr) in LanaiMCExpr() 29 static const LanaiMCExpr *create(VariantKind Kind, const MCExpr *Expr, 33 VariantKind getKind() const { return Kind; } in getKind()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCExpr.h | 22 enum VariantKind { enum 29 const VariantKind Kind; 32 explicit SystemZMCExpr(VariantKind Kind, const MCExpr *Expr) in SystemZMCExpr() 36 static const SystemZMCExpr *create(VariantKind Kind, const MCExpr *Expr, 40 VariantKind getKind() const { return Kind; } in getKind()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCMCExpr.h | 19 enum VariantKind { enum 33 const VariantKind Kind; 38 explicit PPCMCExpr(VariantKind Kind, const MCExpr *Expr) in PPCMCExpr() 45 static const PPCMCExpr *create(VariantKind Kind, const MCExpr *Expr, 65 VariantKind getKind() const { return Kind; } in getKind()
|
H A D | PPCMCTargetDesc.cpp | 230 MCSymbolRefExpr::VariantKind Kind) override { in emitTCEntry() 242 if (Kind == MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSGD || in emitTCEntry() 243 Kind == MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSGDM || in emitTCEntry() 244 Kind == MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSIE || in emitTCEntry() 245 Kind == MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSLE || in emitTCEntry() 246 Kind == MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSLD || in emitTCEntry() 247 Kind == MCSymbolRefExpr::VariantKind::VK_PPC_AIX_TLSML) in emitTCEntry() 289 MCSymbolRefExpr::VariantKind Kind) override { in emitTCEntry() 394 MCSymbolRefExpr::VariantKind Kind) override { in emitTCEntry() 417 MCSymbolRefExpr::VariantKind Kind) override { in emitTCEntry()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCExpr.h | 18 enum VariantKind { enum 34 const VariantKind Kind; 37 explicit ARMMCExpr(VariantKind Kind, const MCExpr *Expr) in ARMMCExpr() 44 static const ARMMCExpr *create(VariantKind Kind, const MCExpr *Expr, 76 VariantKind getKind() const { return Kind; } in getKind()
|
H A D | ARMMachORelocationInfo.cpp | 24 unsigned VariantKind) override { in createExprForCAPIVariantKind() argument 25 switch(VariantKind) { in createExprForCAPIVariantKind() 32 VariantKind); in createExprForCAPIVariantKind()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/ |
H A D | NVPTXMCExpr.h | 22 enum VariantKind { enum 31 const VariantKind Kind; 34 explicit NVPTXFloatMCExpr(VariantKind Kind, APFloat Flt) in NVPTXFloatMCExpr() 41 static const NVPTXFloatMCExpr *create(VariantKind Kind, const APFloat &Flt, 69 VariantKind getKind() const { return Kind; } in getKind()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCExpr.h | 190 enum VariantKind : uint16_t { enum 380 static unsigned encodeSubclassData(VariantKind Kind, in encodeSubclassData() 386 explicit MCSymbolRefExpr(const MCSymbol *Symbol, VariantKind Kind, 397 static const MCSymbolRefExpr *create(const MCSymbol *Symbol, VariantKind Kind, 399 static const MCSymbolRefExpr *create(StringRef Name, VariantKind Kind, 408 VariantKind getKind() const { in getKind() 409 return (VariantKind)(getSubclassData() & VariantKindMask); in getKind() 420 static StringRef getVariantKindName(VariantKind Kind); 422 static VariantKind getVariantKindForName(StringRef Name);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZMCInstLower.cpp | 19 static MCSymbolRefExpr::VariantKind getVariantKind(unsigned Flags) { in getVariantKind() 37 MCSymbolRefExpr::VariantKind Kind) const { in getExpr() 88 MCSymbolRefExpr::VariantKind Kind = getVariantKind(MO.getTargetFlags()); in lowerOperand()
|