Home
last modified time | relevance | path

Searched refs:FixupKind (Results 1 – 25 of 44) 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-7.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCCodeEmitter.cpp207 RISCV::Fixups FixupKind = RISCV::fixup_riscv_invalid; in getImmOpValue() local
217 FixupKind = RISCV::fixup_riscv_lo12_i; in getImmOpValue()
219 FixupKind = RISCV::fixup_riscv_lo12_s; in getImmOpValue()
224 FixupKind = RISCV::fixup_riscv_hi20; in getImmOpValue()
228 FixupKind = RISCV::fixup_riscv_pcrel_lo12_i; in getImmOpValue()
230 FixupKind = RISCV::fixup_riscv_pcrel_lo12_s; in getImmOpValue()
236 FixupKind = RISCV::fixup_riscv_pcrel_hi20; in getImmOpValue()
239 FixupKind = RISCV::fixup_riscv_call; in getImmOpValue()
245 FixupKind = RISCV::fixup_riscv_jal; in getImmOpValue()
247 FixupKind = RISCV::fixup_riscv_branch; in getImmOpValue()
[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-7.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsMCCodeEmitter.cpp604 Mips::Fixups FixupKind = Mips::Fixups(0); in getExprOpValue() local
611 FixupKind = Mips::fixup_Mips_CALL_HI16; in getExprOpValue()
614 FixupKind = Mips::fixup_Mips_CALL_LO16; in getExprOpValue()
617 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_HI16 in getExprOpValue()
621 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_TLS_DTPREL_LO16 in getExprOpValue()
625 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOTTPREL in getExprOpValue()
629 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT16 in getExprOpValue()
633 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_CALL16 in getExprOpValue()
637 FixupKind = isMicroMips(STI) ? Mips::fixup_MICROMIPS_GOT_DISP in getExprOpValue()
641 FixupKind = Mips::fixup_Mips_GOT_HI16; in getExprOpValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
DX86WinCOFFObjectWriter.cpp46 unsigned FixupKind = Fixup.getKind(); in getRelocType() local
48 if (FixupKind != FK_Data_4 && FixupKind != llvm::X86::reloc_signed_4byte) { in getRelocType()
52 FixupKind = FK_PCRel_4; in getRelocType()
59 switch (FixupKind) { in getRelocType()
85 switch (FixupKind) { in getRelocType()
DX86MCCodeEmitter.cpp112 unsigned ImmSize, MCFixupKind FixupKind,
301 MCFixupKind FixupKind, unsigned &CurByte, raw_ostream &OS, in EmitImmediate() argument
307 if (FixupKind != FK_PCRel_1 && in EmitImmediate()
308 FixupKind != FK_PCRel_2 && in EmitImmediate()
309 FixupKind != FK_PCRel_4) { in EmitImmediate()
319 if ((FixupKind == FK_Data_4 || in EmitImmediate()
320 FixupKind == FK_Data_8 || in EmitImmediate()
321 FixupKind == MCFixupKind(X86::reloc_signed_4byte))) { in EmitImmediate()
327 FixupKind = MCFixupKind(X86::reloc_global_offset_table8); in EmitImmediate()
330 FixupKind = MCFixupKind(X86::reloc_global_offset_table); in EmitImmediate()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCCodeEmitter.cpp129 llvm::MCFixupKind FixupKind; in encodeInstruction() local
132 FixupKind = MCFixupKind(WebAssembly::fixup_code_sleb128_i32); in encodeInstruction()
134 FixupKind = MCFixupKind(WebAssembly::fixup_code_sleb128_i64); in encodeInstruction()
139 FixupKind = MCFixupKind(WebAssembly::fixup_code_uleb128_i32); in encodeInstruction()
141 FixupKind = MCFixupKind(WebAssembly::fixup_code_global_index); in encodeInstruction()
147 FixupKind, MI.getLoc())); in encodeInstruction()
/external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
DX86MCCodeEmitter.cpp90 unsigned ImmSize, MCFixupKind FixupKind,
193 EmitImmediate(const MCOperand &DispOp, unsigned Size, MCFixupKind FixupKind, in EmitImmediate() argument
200 if (FixupKind != FK_PCRel_1 && in EmitImmediate()
201 FixupKind != FK_PCRel_2 && in EmitImmediate()
202 FixupKind != FK_PCRel_4) { in EmitImmediate()
212 if ((FixupKind == FK_Data_4 || in EmitImmediate()
213 FixupKind == MCFixupKind(X86::reloc_signed_4byte)) && in EmitImmediate()
217 FixupKind = MCFixupKind(X86::reloc_global_offset_table); in EmitImmediate()
223 if (FixupKind == FK_PCRel_4 || in EmitImmediate()
224 FixupKind == MCFixupKind(X86::reloc_riprel_4byte) || 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.h348 FixupKind Fixup) { in create()
363 FixupKind getFixup() const { in getFixup()
380 FixupKind Fixup = 0)
397 const FixupKind Fixup = 0;
DIceInstX8664.cpp269 const auto FixupKind = in toAsmAddress() local
271 const RelocOffsetT DispAdjustment = FixupKind == FK_PcRel ? 4 : 0; in toAsmAddress()
272 Fixup = Asm->createFixup(FixupKind, CR); in toAsmAddress()
/external/swiftshader/third_party/LLVM/lib/Target/MBlaze/MCTargetDesc/
DMBlazeMCCodeEmitter.cpp161 MCFixupKind FixupKind; in EmitImmediate() local
164 FixupKind = pcrel ? FK_PCRel_2 : FK_Data_2; in EmitImmediate()
165 Fixups.push_back(MCFixup::Create(0,oper.getExpr(),FixupKind)); in EmitImmediate()
170 FixupKind = pcrel ? FK_PCRel_4 : FK_Data_4; in EmitImmediate()
171 Fixups.push_back(MCFixup::Create(0,oper.getExpr(),FixupKind)); in EmitImmediate()
/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-7.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/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonMCCodeEmitter.cpp624 unsigned FixupKind = fixup_Invalid; in getExprOpValue() local
647 FixupKind = Hexagon::fixup_Hexagon_27_REG; in getExprOpValue()
663 FixupKind = GPRelFixups[Shift]; in getExprOpValue()
668 FixupKind = Hexagon::fixup_Hexagon_GOTREL_LO16; in getExprOpValue()
670 FixupKind = Hexagon::fixup_Hexagon_GOTREL_HI16; in getExprOpValue()
677 FixupKind = State.Extended ? Hexagon::fixup_Hexagon_B9_PCREL_X in getExprOpValue()
683 FixupKind = HexagonMCInstrInfo::isExtentSigned(MCII, MI) in getExprOpValue()
687 FixupKind = State.Extended ? Hexagon::fixup_Hexagon_B7_PCREL_X in getExprOpValue()
691 FixupKind = getFixupNoBits(MCII, MI, MO, VarKind); in getExprOpValue()
696 if (FixupKind == fixup_Invalid) { in getExprOpValue()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMAsmBackend.cpp763 const unsigned FixupKind = Fixup.getKind() ; in shouldForceRelocation() local
780 if (Asm.isThumbFunc(Sym) && (FixupKind == ARM::fixup_arm_uncondbranch)) in shouldForceRelocation()
782 if (!Asm.isThumbFunc(Sym) && (FixupKind == ARM::fixup_arm_thumb_br || in shouldForceRelocation()
783 FixupKind == ARM::fixup_arm_thumb_bl || in shouldForceRelocation()
784 FixupKind == ARM::fixup_t2_condbranch || in shouldForceRelocation()
785 FixupKind == ARM::fixup_t2_uncondbranch)) in shouldForceRelocation()
792 if (A && (FixupKind == ARM::fixup_arm_thumb_blx || in shouldForceRelocation()
793 FixupKind == ARM::fixup_arm_blx || in shouldForceRelocation()
794 FixupKind == ARM::fixup_arm_uncondbl || in shouldForceRelocation()
795 FixupKind == ARM::fixup_arm_condbl)) in shouldForceRelocation()
/external/swiftshader/third_party/llvm-7.0/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/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/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCFixups.h17 enum FixupKind { enum
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCFixups.h17 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-7.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiMCCodeEmitter.cpp91 static Lanai::Fixups FixupKind(const MCExpr *Expr) { in FixupKind() function
131 MCFixup::create(0, MCOp.getExpr(), MCFixupKind(FixupKind(Expr)))); in getMachineOpValue()

12