Home
last modified time | relevance | path

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

12

/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/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/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/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/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()
DIceGlobalInits.h305 FixupKind Fixup) { in create()
320 FixupKind getFixup() const { in getFixup()
337 FixupKind Fixup = 0)
354 const FixupKind Fixup = 0;
/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/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/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/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp84 const MCFixupKind FixupKind, // from in getRelocType() argument
93 switch ((unsigned)FixupKind) { in getRelocType()
119 switch ((unsigned)FixupKind) { in getRelocType()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMachObjectWriter.cpp83 const MCFixupKind FixupKind, // from in getRelocType() argument
92 switch ((unsigned)FixupKind) { in getRelocType()
118 switch ((unsigned)FixupKind) { in getRelocType()
/external/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCFixups.h17 enum FixupKind { enum
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCFixups.h16 enum FixupKind { enum
/external/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCCodeEmitter.cpp93 Lanai::Fixups FixupKind(const MCExpr *Expr) { in FixupKind() function
133 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCCodeEmitter.cpp90 static Lanai::Fixups FixupKind(const MCExpr *Expr) { in FixupKind() function
130 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()
/external/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCCodeEmitter.cpp61 template <uint32_t FixupKind>
196 template<unsigned FixupKind> uint32_t
207 MCFixupKind Kind = MCFixupKind(FixupKind); in getLdStUImm12OpValue()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCCodeEmitter.cpp69 template <uint32_t FixupKind>
211 template<unsigned FixupKind> uint32_t
222 MCFixupKind Kind = MCFixupKind(FixupKind); in getLdStUImm12OpValue()

12