Home
last modified time | relevance | path

Searched refs:FixupKind (Results 1 – 25 of 56) sorted by relevance

123

/external/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp457 Hexagon::Fixups FixupKind = in getExprOpValue() local
479 FixupKind = *Extended ? Hexagon::fixup_Hexagon_DTPREL_32_6_X in getExprOpValue()
483 FixupKind = *Extended ? Hexagon::fixup_Hexagon_GOT_32_6_X in getExprOpValue()
487 FixupKind = *Extended ? Hexagon::fixup_Hexagon_GOTREL_32_6_X in getExprOpValue()
491 FixupKind = *Extended ? Hexagon::fixup_Hexagon_GD_GOT_32_6_X in getExprOpValue()
495 FixupKind = *Extended ? Hexagon::fixup_Hexagon_IE_32_6_X in getExprOpValue()
499 FixupKind = *Extended ? Hexagon::fixup_Hexagon_IE_GOT_32_6_X in getExprOpValue()
503 FixupKind = *Extended ? Hexagon::fixup_Hexagon_LD_GOT_32_6_X in getExprOpValue()
507 FixupKind = Hexagon::fixup_Hexagon_32_PCREL; in getExprOpValue()
510 FixupKind = in getExprOpValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCCodeEmitter.cpp262 RISCV::Fixups FixupKind = RISCV::fixup_riscv_invalid; in getImmOpValue() local
281 FixupKind = RISCV::fixup_riscv_lo12_i; in getImmOpValue()
283 FixupKind = RISCV::fixup_riscv_lo12_s; in getImmOpValue()
289 FixupKind = RISCV::fixup_riscv_hi20; in getImmOpValue()
294 FixupKind = RISCV::fixup_riscv_pcrel_lo12_i; in getImmOpValue()
296 FixupKind = RISCV::fixup_riscv_pcrel_lo12_s; in getImmOpValue()
303 FixupKind = RISCV::fixup_riscv_pcrel_hi20; in getImmOpValue()
307 FixupKind = RISCV::fixup_riscv_got_hi20; in getImmOpValue()
311 FixupKind = RISCV::fixup_riscv_tprel_lo12_i; in getImmOpValue()
313 FixupKind = RISCV::fixup_riscv_tprel_lo12_s; in getImmOpValue()
[all …]
/external/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCCodeEmitter.cpp383 RISCV::Fixups FixupKind = RISCV::fixup_riscv_invalid; in getImmOpValue() local
402 FixupKind = RISCV::fixup_riscv_lo12_i; in getImmOpValue()
404 FixupKind = RISCV::fixup_riscv_lo12_s; in getImmOpValue()
410 FixupKind = RISCV::fixup_riscv_hi20; in getImmOpValue()
415 FixupKind = RISCV::fixup_riscv_pcrel_lo12_i; in getImmOpValue()
417 FixupKind = RISCV::fixup_riscv_pcrel_lo12_s; in getImmOpValue()
424 FixupKind = RISCV::fixup_riscv_pcrel_hi20; in getImmOpValue()
428 FixupKind = RISCV::fixup_riscv_got_hi20; in getImmOpValue()
432 FixupKind = RISCV::fixup_riscv_tprel_lo12_i; in getImmOpValue()
434 FixupKind = RISCV::fixup_riscv_tprel_lo12_s; in getImmOpValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp489 Mips::Fixups FixupKind = in getJumpOffset16OpValue() local
491 Fixups.push_back(MCFixup::create(0, Expr, MCFixupKind(FixupKind))); in getJumpOffset16OpValue()
612 Mips::Fixups FixupKind = Mips::Fixups(0); in getExprOpValue() local
623 FixupKind = Mips::fixup_Mips_CALL_HI16; in getExprOpValue()
626 FixupKind = Mips::fixup_Mips_CALL_LO16; in getExprOpValue()
629 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_HI16 in getExprOpValue()
633 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_LO16 in getExprOpValue()
637 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOTTPREL in getExprOpValue()
641 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT16 in getExprOpValue()
645 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_CALL16 in getExprOpValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFObjectWriter.cpp45 unsigned FixupKind = Fixup.getKind(); in getRelocType() local
47 if (FixupKind != FK_Data_4 && FixupKind != llvm::X86::reloc_signed_4byte) { in getRelocType()
51 FixupKind = FK_PCRel_4; in getRelocType()
58 switch (FixupKind) { in getRelocType()
85 switch (FixupKind) { in getRelocType()
DX86MCCodeEmitter.cpp90 MCFixupKind FixupKind, unsigned &CurByte, raw_ostream &OS,
292 unsigned Size, MCFixupKind FixupKind, in emitImmediate() argument
300 if (FixupKind != FK_PCRel_1 && FixupKind != FK_PCRel_2 && in emitImmediate()
301 FixupKind != FK_PCRel_4) { in emitImmediate()
311 if ((FixupKind == FK_Data_4 || FixupKind == FK_Data_8 || in emitImmediate()
312 FixupKind == MCFixupKind(X86::reloc_signed_4byte))) { in emitImmediate()
318 FixupKind = MCFixupKind(X86::reloc_global_offset_table8); in emitImmediate()
321 FixupKind = MCFixupKind(X86::reloc_global_offset_table); in emitImmediate()
328 FixupKind = MCFixupKind(FK_SecRel_4); in emitImmediate()
334 FixupKind = MCFixupKind(FK_SecRel_4); in emitImmediate()
[all …]
/external/llvm-project/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFObjectWriter.cpp45 unsigned FixupKind = Fixup.getKind(); in getRelocType() local
47 if (FixupKind != FK_Data_4 && FixupKind != llvm::X86::reloc_signed_4byte) { in getRelocType()
51 FixupKind = FK_PCRel_4; in getRelocType()
58 switch (FixupKind) { in getRelocType()
85 switch (FixupKind) { in getRelocType()
DX86MCCodeEmitter.cpp69 MCFixupKind FixupKind, uint64_t StartByte, raw_ostream &OS,
288 unsigned Size, MCFixupKind FixupKind, in emitImmediate() argument
296 if (FixupKind != FK_PCRel_1 && FixupKind != FK_PCRel_2 && in emitImmediate()
297 FixupKind != FK_PCRel_4) { in emitImmediate()
307 if ((FixupKind == FK_Data_4 || FixupKind == FK_Data_8 || in emitImmediate()
308 FixupKind == MCFixupKind(X86::reloc_signed_4byte))) { in emitImmediate()
314 FixupKind = MCFixupKind(X86::reloc_global_offset_table8); in emitImmediate()
317 FixupKind = MCFixupKind(X86::reloc_global_offset_table); in emitImmediate()
324 FixupKind = MCFixupKind(FK_SecRel_4); in emitImmediate()
330 FixupKind = MCFixupKind(FK_SecRel_4); in emitImmediate()
[all …]
/external/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp635 Mips::Fixups FixupKind = Mips::Fixups(0); in getExprOpValue() local
643 FixupKind = Mips::fixup_Mips_CALL_HI16; in getExprOpValue()
646 FixupKind = Mips::fixup_Mips_CALL_LO16; in getExprOpValue()
649 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_HI16 in getExprOpValue()
653 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_LO16 in getExprOpValue()
657 FixupKind = Mips::fixup_Mips_GOTTPREL; in getExprOpValue()
660 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT16 in getExprOpValue()
664 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_CALL16 in getExprOpValue()
668 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT_DISP in getExprOpValue()
672 FixupKind = Mips::fixup_Mips_GOT_HI16; in getExprOpValue()
[all …]
/external/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp489 Mips::Fixups FixupKind = in getJumpOffset16OpValue() local
491 Fixups.push_back(MCFixup::create(0, Expr, MCFixupKind(FixupKind))); in getJumpOffset16OpValue()
612 Mips::Fixups FixupKind = Mips::Fixups(0); in getExprOpValue() local
623 FixupKind = Mips::fixup_Mips_CALL_HI16; in getExprOpValue()
626 FixupKind = Mips::fixup_Mips_CALL_LO16; in getExprOpValue()
629 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_HI16 in getExprOpValue()
633 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_LO16 in getExprOpValue()
637 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOTTPREL in getExprOpValue()
641 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT16 in getExprOpValue()
645 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_CALL16 in getExprOpValue()
[all …]
/external/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCCodeEmitter.cpp148 llvm::MCFixupKind FixupKind; in encodeInstruction() local
152 FixupKind = MCFixupKind(WebAssembly::fixup_sleb128_i32); in encodeInstruction()
155 FixupKind = MCFixupKind(WebAssembly::fixup_sleb128_i64); in encodeInstruction()
165 FixupKind = MCFixupKind(WebAssembly::fixup_uleb128_i32); in encodeInstruction()
168 FixupKind = MCFixupKind(WebAssembly::fixup_uleb128_i64); in encodeInstruction()
175 FixupKind, MI.getLoc())); in encodeInstruction()
/external/swiftshader/third_party/subzero/src/
DIceFixups.h26 using FixupKind = uint32_t; variable
42 FixupKind kind() const { return kind_; } in kind()
43 void set_kind(FixupKind Kind) { kind_ = Kind; } in set_kind()
79 FixupKind kind_ = 0;
DIceELFObjectWriter.h66 FixupKind RelocationKind,
82 void writeJumpTable(const JumpTableData &JT, FixupKind RelocationKind,
165 FixupKind RelocationKind,
DIceAssembler.h181 AssemblerFixup *createFixup(FixupKind Kind, const Constant *Value);
289 virtual bool fixupIsPCRel(FixupKind Kind) const = 0;
308 AssemblerFixup *createFixup(FixupKind Kind, const Constant *Value) { in createFixup()
/external/llvm-project/llvm/lib/Target/MSP430/MCTargetDesc/
DMSP430MCCodeEmitter.cpp134 MSP430::Fixups FixupKind; in getMemOpValue() local
137 FixupKind = MSP430::fixup_16_pcrel_byte; in getMemOpValue()
140 FixupKind = MSP430::fixup_16_byte; in getMemOpValue()
143 FixupKind = MSP430::fixup_16_byte; in getMemOpValue()
147 static_cast<MCFixupKind>(FixupKind), MI.getLoc())); in getMemOpValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCCodeEmitter.cpp143 llvm::MCFixupKind FixupKind; in encodeInstruction() local
147 FixupKind = MCFixupKind(WebAssembly::fixup_sleb128_i32); in encodeInstruction()
150 FixupKind = MCFixupKind(WebAssembly::fixup_sleb128_i64); in encodeInstruction()
159 FixupKind = MCFixupKind(WebAssembly::fixup_uleb128_i32); in encodeInstruction()
165 FixupKind, MI.getLoc())); in encodeInstruction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/MCTargetDesc/
DMSP430MCCodeEmitter.cpp134 MSP430::Fixups FixupKind; in getMemOpValue() local
137 FixupKind = MSP430::fixup_16_pcrel_byte; in getMemOpValue()
140 FixupKind = MSP430::fixup_16_byte; in getMemOpValue()
143 FixupKind = MSP430::fixup_16_byte; in getMemOpValue()
147 static_cast<MCFixupKind>(FixupKind), MI.getLoc())); in getMemOpValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCCodeEmitter.cpp195 MCFixupKind FixupKind = static_cast<MCFixupKind>(Fixup); in encodeImm() local
196 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), FixupKind, MI.getLoc())); in encodeImm()
211 MCFixupKind FixupKind = static_cast<MCFixupKind>(AVR::fixup_call); in encodeCallTarget() local
212 Fixups.push_back(MCFixup::create(0, MO.getExpr(), FixupKind, MI.getLoc())); in encodeCallTarget()
241 MCFixupKind FixupKind = static_cast<MCFixupKind>(AVRExpr->getFixupKind()); in getExprOpValue() local
242 Fixups.push_back(MCFixup::create(0, AVRExpr, FixupKind)); in getExprOpValue()
/external/llvm-project/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCCodeEmitter.cpp195 MCFixupKind FixupKind = static_cast<MCFixupKind>(Fixup); in encodeImm() local
196 Fixups.push_back(MCFixup::create(Offset, MO.getExpr(), FixupKind, MI.getLoc())); in encodeImm()
211 MCFixupKind FixupKind = static_cast<MCFixupKind>(AVR::fixup_call); in encodeCallTarget() local
212 Fixups.push_back(MCFixup::create(0, MO.getExpr(), FixupKind, MI.getLoc())); in encodeCallTarget()
241 MCFixupKind FixupKind = static_cast<MCFixupKind>(AVRExpr->getFixupKind()); in getExprOpValue() local
242 Fixups.push_back(MCFixup::create(0, AVRExpr, FixupKind)); in getExprOpValue()
/external/llvm/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp103 unsigned ImmSize, MCFixupKind FixupKind,
279 MCFixupKind FixupKind, unsigned &CurByte, raw_ostream &OS, in EmitImmediate() argument
285 if (FixupKind != FK_PCRel_1 && in EmitImmediate()
286 FixupKind != FK_PCRel_2 && in EmitImmediate()
287 FixupKind != FK_PCRel_4) { in EmitImmediate()
297 if ((FixupKind == FK_Data_4 || in EmitImmediate()
298 FixupKind == FK_Data_8 || in EmitImmediate()
299 FixupKind == MCFixupKind(X86::reloc_signed_4byte))) { in EmitImmediate()
305 FixupKind = MCFixupKind(X86::reloc_global_offset_table8); in EmitImmediate()
308 FixupKind = MCFixupKind(X86::reloc_global_offset_table); in EmitImmediate()
[all …]
DX86WinCOFFObjectWriter.cpp46 unsigned FixupKind = IsCrossSection ? FK_PCRel_4 : Fixup.getKind(); in getRelocType() local
52 switch (FixupKind) { in getRelocType()
77 switch (FixupKind) { in getRelocType()
/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp616 unsigned FixupKind = fixup_Invalid; in getExprOpValue() local
639 FixupKind = Hexagon::fixup_Hexagon_27_REG; in getExprOpValue()
655 FixupKind = GPRelFixups[Shift]; in getExprOpValue()
660 FixupKind = Hexagon::fixup_Hexagon_GOTREL_LO16; in getExprOpValue()
662 FixupKind = Hexagon::fixup_Hexagon_GOTREL_HI16; in getExprOpValue()
669 FixupKind = State.Extended ? Hexagon::fixup_Hexagon_B9_PCREL_X in getExprOpValue()
675 FixupKind = HexagonMCInstrInfo::isExtentSigned(MCII, MI) in getExprOpValue()
679 FixupKind = State.Extended ? Hexagon::fixup_Hexagon_B7_PCREL_X in getExprOpValue()
683 FixupKind = getFixupNoBits(MCII, MI, MO, VarKind); in getExprOpValue()
688 if (FixupKind == fixup_Invalid) { in getExprOpValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp622 unsigned FixupKind = fixup_Invalid; in getExprOpValue() local
645 FixupKind = Hexagon::fixup_Hexagon_27_REG; in getExprOpValue()
661 FixupKind = GPRelFixups[Shift]; in getExprOpValue()
666 FixupKind = Hexagon::fixup_Hexagon_GOTREL_LO16; in getExprOpValue()
668 FixupKind = Hexagon::fixup_Hexagon_GOTREL_HI16; in getExprOpValue()
675 FixupKind = State.Extended ? Hexagon::fixup_Hexagon_B9_PCREL_X in getExprOpValue()
681 FixupKind = HexagonMCInstrInfo::isExtentSigned(MCII, MI) in getExprOpValue()
685 FixupKind = State.Extended ? Hexagon::fixup_Hexagon_B7_PCREL_X in getExprOpValue()
689 FixupKind = getFixupNoBits(MCII, MI, MO, VarKind); in getExprOpValue()
694 if (FixupKind == fixup_Invalid) { in getExprOpValue()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp871 const unsigned FixupKind = Fixup.getKind(); in shouldForceRelocation() local
872 if (FixupKind == FK_NONE) in shouldForceRelocation()
874 if (FixupKind == ARM::fixup_arm_thumb_bl) { in shouldForceRelocation()
890 if (Asm.isThumbFunc(Sym) && (FixupKind == ARM::fixup_arm_uncondbranch)) in shouldForceRelocation()
892 if (!Asm.isThumbFunc(Sym) && (FixupKind == ARM::fixup_arm_thumb_br || in shouldForceRelocation()
893 FixupKind == ARM::fixup_arm_thumb_bl || in shouldForceRelocation()
894 FixupKind == ARM::fixup_t2_condbranch || in shouldForceRelocation()
895 FixupKind == ARM::fixup_t2_uncondbranch)) in shouldForceRelocation()
902 if (A && (FixupKind == ARM::fixup_arm_thumb_blx || in shouldForceRelocation()
903 FixupKind == ARM::fixup_arm_blx || in shouldForceRelocation()
[all …]
/external/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp878 const unsigned FixupKind = Fixup.getKind(); in shouldForceRelocation() local
879 if (FixupKind >= FirstLiteralRelocationKind) in shouldForceRelocation()
881 if (FixupKind == ARM::fixup_arm_thumb_bl) { in shouldForceRelocation()
897 if (Asm.isThumbFunc(Sym) && (FixupKind == ARM::fixup_arm_uncondbranch)) in shouldForceRelocation()
899 if (!Asm.isThumbFunc(Sym) && (FixupKind == ARM::fixup_arm_thumb_br || in shouldForceRelocation()
900 FixupKind == ARM::fixup_arm_thumb_bl || in shouldForceRelocation()
901 FixupKind == ARM::fixup_t2_condbranch || in shouldForceRelocation()
902 FixupKind == ARM::fixup_t2_uncondbranch)) in shouldForceRelocation()
909 if (A && (FixupKind == ARM::fixup_arm_thumb_blx || in shouldForceRelocation()
910 FixupKind == ARM::fixup_arm_blx || in shouldForceRelocation()
[all …]

123