/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsAsmBackend.cpp | 249 MCFixupKind Kind = Fixup.getKind(); in applyFixup() 304 std::optional<MCFixupKind> MipsAsmBackend::getFixupKind(StringRef Name) const { in getFixupKind() 312 return static_cast<MCFixupKind>(FirstLiteralRelocationKind + Type); in getFixupKind() 314 return StringSwitch<std::optional<MCFixupKind>>(Name) in getFixupKind() 317 .Case("R_MIPS_CALL_HI16", (MCFixupKind)Mips::fixup_Mips_CALL_HI16) in getFixupKind() 318 .Case("R_MIPS_CALL_LO16", (MCFixupKind)Mips::fixup_Mips_CALL_LO16) in getFixupKind() 319 .Case("R_MIPS_CALL16", (MCFixupKind)Mips::fixup_Mips_CALL16) in getFixupKind() 320 .Case("R_MIPS_GOT16", (MCFixupKind)Mips::fixup_Mips_GOT) in getFixupKind() 321 .Case("R_MIPS_GOT_PAGE", (MCFixupKind)Mips::fixup_Mips_GOT_PAGE) in getFixupKind() 322 .Case("R_MIPS_GOT_OFST", (MCFixupKind)Mips::fixup_Mips_GOT_OFST) in getFixupKind() [all …]
|
H A D | MipsMCCodeEmitter.cpp | 239 MCFixupKind(Mips::fixup_Mips_PC16))); in getBranchTargetOpValue() 261 MCFixupKind(Mips::fixup_Mips_PC16))); in getBranchTargetOpValue1SImm16() 284 MCFixupKind(Mips::fixup_Mips_PC16))); in getBranchTargetOpValueMMR6() 307 MCFixupKind(Mips::fixup_Mips_PC16))); in getBranchTargetOpValueLsl2MMR6() 328 MCFixupKind(Mips::fixup_MICROMIPS_PC7_S1))); in getBranchTarget7OpValueMM() 349 MCFixupKind(Mips::fixup_MICROMIPS_PC10_S1))); in getBranchTargetOpValueMMPC10() 370 MCFixupKind(Mips:: in getBranchTargetOpValueMM() 393 MCFixupKind(Mips::fixup_MIPS_PC21_S2))); in getBranchTarget21OpValue() 415 MCFixupKind(Mips::fixup_MICROMIPS_PC21_S1))); in getBranchTarget21OpValueMM() 437 MCFixupKind(Mip in getBranchTarget26OpValue() [all...] |
H A D | MipsAsmBackend.h | 47 std::optional<MCFixupKind> getFixupKind(StringRef Name) const override; 48 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
H A D | RISCVFixupKinds.h | 86 static inline std::pair<MCFixupKind, MCFixupKind> 93 MCFixupKind(FirstLiteralRelocationKind + ELF::R_RISCV_ADD8), 94 MCFixupKind(FirstLiteralRelocationKind + ELF::R_RISCV_SUB8)); 97 MCFixupKind(FirstLiteralRelocationKind + ELF::R_RISCV_ADD16), 98 MCFixupKind(FirstLiteralRelocationKind + ELF::R_RISCV_SUB16)); 101 MCFixupKind(FirstLiteralRelocationKind + ELF::R_RISCV_ADD32), 102 MCFixupKind(FirstLiteralRelocationKind + ELF::R_RISCV_SUB32)); 105 MCFixupKind(FirstLiteralRelocationKind + ELF::R_RISCV_ADD64), 106 MCFixupKind(FirstLiteralRelocationKin [all...] |
H A D | RISCVAsmBackend.cpp | 39 std::optional<MCFixupKind> RISCVAsmBackend::getFixupKind(StringRef Name) const { in getFixupKind() 51 return static_cast<MCFixupKind>(FirstLiteralRelocationKind + Type); in getFixupKind() 57 RISCVAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo() 231 std::pair<MCFixupKind, MCFixupKind> Fixup; in relaxDwarfLineAddr() 301 static_cast<MCFixupKind>(FirstLiteralRelocationKind + in relaxDwarfCFA() 305 static_cast<MCFixupKind>(FirstLiteralRelocationKind + in relaxDwarfCFA() 614 static_cast<MCFixupKind>(FirstLiteralRelocationKind + TA)); in handleAddSubRelocations() 617 static_cast<MCFixupKind>(FirstLiteralRelocationKind + TB)); in handleAddSubRelocations() 630 MCFixupKind Kind = Fixup.getKind(); in applyFixup() 700 MCFixup::create(0, Dummy, MCFixupKind(RISCV::fixup_riscv_align), SMLoc()); in shouldInsertFixupForCodeAlign()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/ |
H A D | LoongArchAsmBackend.cpp | 30 std::optional<MCFixupKind> 42 return static_cast<MCFixupKind>(FirstLiteralRelocationKind + Type); in getFixupKind() 48 LoongArchAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo() 154 MCFixupKind Kind = Fixup.getKind(); in applyFixup() 225 MCFixup::create(0, Dummy, MCFixupKind(LoongArch::fixup_loongarch_align)); in shouldInsertFixupForCodeAlign() 269 static inline std::pair<MCFixupKind, MCFixupKind> 276 MCFixupKind(FirstLiteralRelocationKind + ELF::R_LARCH_ADD6), in getRelocPairForSize() 277 MCFixupKind(FirstLiteralRelocationKind + ELF::R_LARCH_SUB6)); in getRelocPairForSize() 280 MCFixupKind(FirstLiteralRelocationKind + ELF::R_LARCH_ADD8), in getRelocPairForSize() 281 MCFixupKind(FirstLiteralRelocationKind + ELF::R_LARCH_SUB8)); in getRelocPairForSize() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
H A D | CSKYMCCodeEmitter.h | 59 MCFixupKind Kind = getTargetFixup(MO.getExpr()); in getImmOpValue() 96 MCFixupKind getTargetFixup(const MCExpr *Expr) const; 109 MCFixupKind Kind = MCFixupKind(FIXUP); in getBranchSymbolOpValue() 124 MCFixupKind Kind = MCFixupKind(FIXUP); in getConstpoolSymbolOpValue() 139 MCFixupKind Kind = MCFixupKind(FIXUP); in getDataSymbolOpValue() 153 MCFixupKind Kind = MCFixupKind(CSK in getCallSymbolOpValue() [all...] |
H A D | CSKYMCCodeEmitter.cpp | 293 MCFixupKind CSKYMCCodeEmitter::getTargetFixup(const MCExpr *Expr) const { in getImmJMPIX() 300 return MCFixupKind(CSKY::fixup_csky_addr32); in getImmJMPIX() 302 return MCFixupKind(CSKY::fixup_csky_addr_hi16); 304 return MCFixupKind(CSKY::fixup_csky_addr_lo16); in getTargetFixup() 306 return MCFixupKind(CSKY::fixup_csky_got32); in getTargetFixup() 308 return MCFixupKind(CSKY::fixup_csky_gotpc); in getTargetFixup() 310 return MCFixupKind(CSKY::fixup_csky_gotoff); in getTargetFixup() 312 return MCFixupKind(CSKY::fixup_csky_plt32); in getTargetFixup() 314 return MCFixupKind(CSKY::fixup_csky_plt_imm18_scale4); in getTargetFixup() 316 return MCFixupKind(CSK in getTargetFixup() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcMCCodeEmitter.cpp | 134 MCFixupKind Kind = (MCFixupKind)SExpr->getFixupKind(); in getMachineOpValue() 165 MCFixupKind Kind; in getSImm13OpValue() 167 Kind = MCFixupKind(SExpr->getFixupKind()); in getSImm13OpValue() 170 Kind = IsPic ? MCFixupKind(Sparc::fixup_sparc_got13) in getSImm13OpValue() 171 : MCFixupKind(Sparc::fixup_sparc_13); in getSImm13OpValue() 200 MCFixupKind Kind = MCFixupKind(SExpr->getFixupKind()); in getCallTargetOpValue() 214 (MCFixupKind)Sparc::fixup_sparc_br22)); in getBranchTargetOpValue() 227 (MCFixupKind)Spar in getBranchPredTargetOpValue() [all...] |
/freebsd/contrib/llvm-project/llvm/include/llvm/MC/ |
H A D | MCFixup.h | 21 enum MCFixupKind { enum 82 MCFixupKind Kind = FK_NONE; 88 MCFixupKind Kind, SMLoc Loc = SMLoc()) { 98 MCFixupKind getKind() const { return Kind; } in getKind() 109 static MCFixupKind getKindForSize(unsigned Size, bool IsPCRel) { in getKindForSize()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | PPCAsmBackend.cpp | 98 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override { in getFixupKindInfo() 145 MCFixupKind Kind = Fixup.getKind(); in applyFixup() 167 MCFixupKind Kind = Fixup.getKind(); in shouldForceRelocation() 228 std::optional<MCFixupKind> getFixupKind(StringRef Name) const override; 241 std::optional<MCFixupKind> getFixupKind(StringRef Name) const override; 246 std::optional<MCFixupKind> 271 return static_cast<MCFixupKind>(FirstLiteralRelocationKind + Type); in getFixupKind() 276 std::optional<MCFixupKind> 278 return StringSwitch<std::optional<MCFixupKind>>(Name) in getFixupKind() 279 .Case("R_REF", (MCFixupKind)PPC::fixup_ppc_nofixup) in getFixupKind()
|
H A D | PPCMCCodeEmitter.cpp | 55 ? (MCFixupKind)PPC::fixup_ppc_br24_notoc in getDirectBrEncoding() 56 : (MCFixupKind)PPC::fixup_ppc_br24))); in getDirectBrEncoding() 162 (MCFixupKind)PPC::fixup_ppc_brcond14)); 175 (MCFixupKind)PPC::fixup_ppc_br24abs)); in getDispRIXEncoding() 188 (MCFixupKind)PPC::fixup_ppc_brcond14abs)); in getDispRIX16Encoding() 210 (MCFixupKind)PPC::fixup_ppc_half16)); in getDispRI34PCRelEncoding() 217 MCFixupKind Fixup) const { in getDispRI34PCRelEncoding() 233 (MCFixupKind)PPC::fixup_ppc_imm34); in getDispRI34PCRelEncoding() 241 (MCFixupKind)PPC::fixup_ppc_pcrel34); in getDispRI34PCRelEncoding() 253 (MCFixupKind)PP in getDispRI34PCRelEncoding() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/ |
H A D | AVRMCCodeEmitter.cpp | 100 MCFixup::create(0, MO.getExpr(), MCFixupKind(Fixup), MI.getLoc())); in encodeRelCondBrTarget() 166 MCFixupKind(AVR::fixup_6), MI.getLoc())); in encodeMemri() 199 MCFixupKind FixupKind = static_cast<MCFixupKind>(Fixup); in encodeImm() 216 MCFixupKind FixupKind = static_cast<MCFixupKind>(AVR::fixup_call); in encodeCallTarget() 246 MCFixupKind FixupKind = static_cast<MCFixupKind>(AVRExpr->getFixupKind()); in getExprOpValue()
|
H A D | AVRAsmBackend.h | 45 std::optional<MCFixupKind> getFixupKind(StringRef Name) const override; 46 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | AArch64MCCodeEmitter.cpp | 244 MCFixupKind Kind = MCFixupKind(FixupKind); in getLdStUImm12OpValue() 266 MCFixupKind Kind = MI.getOpcode() == AArch64::ADR in getAdrLabelOpValue() 267 ? MCFixupKind(AArch64::fixup_aarch64_pcrel_adr_imm21) in getAdrLabelOpValue() 268 : MCFixupKind(AArch64::fixup_aarch64_pcrel_adrp_imm21); in getAdrLabelOpValue() 298 MCFixupKind Kind = MCFixupKind(AArch64::fixup_aarch64_add_imm12); in getAddSubImmOpValue() 327 MCFixupKind Kind = MCFixupKind(AArch64::fixup_aarch64_pcrel_branch19); in getCondBranchTargetOpValue() 350 MCFixupKind Kin in getLoadLiteralOpValue() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCAsmBackend.cpp | 26 static uint64_t extractBitsForFixup(MCFixupKind Kind, uint64_t Value, in extractBitsForFixup() 116 std::optional<MCFixupKind> getFixupKind(StringRef Name) const override; 117 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override; 130 std::optional<MCFixupKind> 143 return static_cast<MCFixupKind>(FirstLiteralRelocationKind + Type); in getFixupKind() 148 SystemZMCAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo() 175 MCFixupKind Kind = Fixup.getKind(); in applyFixup()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUAsmBackend.cpp | 53 std::optional<MCFixupKind> getFixupKind(StringRef Name) const override; 54 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override; 164 std::optional<MCFixupKind> 166 return StringSwitch<std::optional<MCFixupKind>>(Name) in getFixupKind() 168 .Case(#Name, MCFixupKind(FirstLiteralRelocationKind + Value)) in getFixupKind() 175 MCFixupKind Kind) const { in getFixupKindInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyMCCodeEmitter.cpp | 150 llvm::MCFixupKind FixupKind; in encodeInstruction() 154 FixupKind = MCFixupKind(WebAssembly::fixup_sleb128_i32); in encodeInstruction() 157 FixupKind = MCFixupKind(WebAssembly::fixup_sleb128_i64); in encodeInstruction() 167 FixupKind = MCFixupKind(WebAssembly::fixup_uleb128_i32); in encodeInstruction() 170 FixupKind = MCFixupKind(WebAssembly::fixup_uleb128_i64); in encodeInstruction()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMCCodeEmitter.cpp | 325 MCFixupKind Kind = MCFixupKind(ARM::fixup_arm_mod_imm); in getModImmOpValue() 344 MCFixupKind Kind = MCFixupKind(ARM::fixup_t2_so_imm); in getT2SOImmOpValue() 620 MCFixupKind Kind = MCFixupKind(FixupKind); 983 MCFixupKind Kind = MCFixupKind(ARM::fixup_arm_ldst_abs_12); in getAddrModeImm12OpValue() 989 MCFixupKind Kind; in getAddrModeImm12OpValue() 991 Kind = MCFixupKind(AR in getAddrModeImm12OpValue() [all...] |
H A D | ARMAsmBackend.h | 34 std::optional<MCFixupKind> getFixupKind(StringRef Name) const override; 36 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Lanai/MCTargetDesc/ |
H A D | LanaiAsmBackend.cpp | 59 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override; 85 MCFixupKind Kind = Fixup.getKind(); in applyFixup() 124 LanaiAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/ |
H A D | VEMCCodeEmitter.cpp | 103 MCFixupKind Kind = (MCFixupKind)SExpr->getFixupKind(); in getMachineOpValue() 125 MCFixup::create(0, MO.getExpr(), (MCFixupKind)VE::fixup_ve_srel32)); in getBranchTargetOpValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86ELFObjectWriter.cpp | 49 static X86_64RelType getType64(MCFixupKind Kind, in getType64() 106 MCFixupKind Kind) { in getRelocType64() 236 MCFixupKind Kind) { in getRelocType32() 265 return Kind == MCFixupKind(X86::reloc_signed_4byte_relax) in getRelocType32() 329 MCFixupKind Kind = Fixup.getKind(); in getRelocType()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/ |
H A D | MSP430MCCodeEmitter.cpp | 117 static_cast<MCFixupKind>(MSP430::fixup_16_byte), MI.getLoc())); in getMachineOpValue() 149 static_cast<MCFixupKind>(FixupKind), MI.getLoc())); in getMemOpValue() 163 static_cast<MCFixupKind>(MSP430::fixup_10_pcrel), MI.getLoc())); in getPCRelImmOpValue()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
H A D | XtensaAsmBackend.cpp | 39 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override; 58 XtensaMCAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo() 136 case MCFixupKind::FK_Data_4: in getSize()
|