Home
last modified time | relevance | path

Searched refs:MCFixupKind (Results 1 – 25 of 40) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/MCTargetDesc/
DMipsAsmBackend.cpp248 MCFixupKind Kind = Fixup.getKind(); in applyFixup()
303 Optional<MCFixupKind> MipsAsmBackend::getFixupKind(StringRef Name) const { in getFixupKind()
304 return StringSwitch<Optional<MCFixupKind>>(Name) in getFixupKind()
307 .Case("R_MIPS_CALL_HI16", (MCFixupKind)Mips::fixup_Mips_CALL_HI16) in getFixupKind()
308 .Case("R_MIPS_CALL_LO16", (MCFixupKind)Mips::fixup_Mips_CALL_LO16) in getFixupKind()
309 .Case("R_MIPS_CALL16", (MCFixupKind)Mips::fixup_Mips_CALL16) in getFixupKind()
310 .Case("R_MIPS_GOT16", (MCFixupKind)Mips::fixup_Mips_GOT) in getFixupKind()
311 .Case("R_MIPS_GOT_PAGE", (MCFixupKind)Mips::fixup_Mips_GOT_PAGE) in getFixupKind()
312 .Case("R_MIPS_GOT_OFST", (MCFixupKind)Mips::fixup_Mips_GOT_OFST) in getFixupKind()
313 .Case("R_MIPS_GOT_DISP", (MCFixupKind)Mips::fixup_Mips_GOT_DISP) in getFixupKind()
[all …]
DMipsMCCodeEmitter.cpp250 MCFixupKind(Mips::fixup_Mips_PC16))); in getBranchTargetOpValue()
272 MCFixupKind(Mips::fixup_Mips_PC16))); in getBranchTargetOpValue1SImm16()
295 MCFixupKind(Mips::fixup_Mips_PC16))); in getBranchTargetOpValueMMR6()
318 MCFixupKind(Mips::fixup_Mips_PC16))); in getBranchTargetOpValueLsl2MMR6()
339 MCFixupKind(Mips::fixup_MICROMIPS_PC7_S1))); in getBranchTarget7OpValueMM()
360 MCFixupKind(Mips::fixup_MICROMIPS_PC10_S1))); in getBranchTargetOpValueMMPC10()
381 MCFixupKind(Mips:: in getBranchTargetOpValueMM()
404 MCFixupKind(Mips::fixup_MIPS_PC21_S2))); in getBranchTarget21OpValue()
426 MCFixupKind(Mips::fixup_MICROMIPS_PC21_S1))); in getBranchTarget21OpValueMM()
448 MCFixupKind(Mips::fixup_MIPS_PC26_S2))); in getBranchTarget26OpValue()
[all …]
DMipsAsmBackend.h48 Optional<MCFixupKind> getFixupKind(StringRef Name) const override;
49 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MC/
DMCFixup.h22 enum MCFixupKind { enum
88 MCFixupKind Kind = FK_NONE;
94 MCFixupKind Kind, SMLoc Loc = SMLoc()) {
126 MCFixupKind getKind() const { return Kind; } in getKind()
137 static MCFixupKind getKindForSize(unsigned Size, bool IsPCRel) { in getKindForSize()
153 static MCFixupKind getKindForSizeInBits(unsigned Size, bool IsPCRel) { in getKindForSizeInBits()
173 static MCFixupKind getAddKindForKind(MCFixupKind Kind) { in getAddKindForKind()
186 static MCFixupKind getSubKindForKind(MCFixupKind Kind) { in getSubKindForKind()
DMCAsmBackend.h83 virtual Optional<MCFixupKind> getFixupKind(StringRef Name) const;
86 virtual const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/MCTargetDesc/
DAArch64MCCodeEmitter.cpp222 MCFixupKind Kind = MCFixupKind(FixupKind); in getLdStUImm12OpValue()
244 MCFixupKind Kind = MI.getOpcode() == AArch64::ADR in getAdrLabelOpValue()
245 ? MCFixupKind(AArch64::fixup_aarch64_pcrel_adr_imm21) in getAdrLabelOpValue()
246 : MCFixupKind(AArch64::fixup_aarch64_pcrel_adrp_imm21); in getAdrLabelOpValue()
276 MCFixupKind Kind = MCFixupKind(AArch64::fixup_aarch64_add_imm12); in getAddSubImmOpValue()
305 MCFixupKind Kind = MCFixupKind(AArch64::fixup_aarch64_pcrel_branch19); in getCondBranchTargetOpValue()
327 MCFixupKind Kind = MCFixupKind(AArch64::fixup_aarch64_ldr_pcrel_imm19); in getLoadLiteralOpValue()
356 0, MO.getExpr(), MCFixupKind(AArch64::fixup_aarch64_movw), MI.getLoc())); in getMoveWideImmOpValue()
375 MCFixupKind Kind = MCFixupKind(AArch64::fixup_aarch64_pcrel_branch14); in getTestBranchTargetOpValue()
397 MCFixupKind Kind = MI.getOpcode() == AArch64::BL in getBranchTargetOpValue()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Sparc/MCTargetDesc/
DSparcMCCodeEmitter.cpp136 MCFixupKind Kind = (MCFixupKind)SExpr->getFixupKind(); in getMachineOpValue()
172 MCFixupKind fixupKind = (MCFixupKind)Sparc::fixup_sparc_call30; in getCallTargetOpValue()
176 fixupKind = (MCFixupKind)Sparc::fixup_sparc_wplt30; in getCallTargetOpValue()
193 (MCFixupKind)Sparc::fixup_sparc_br22)); in getBranchTargetOpValue()
206 (MCFixupKind)Sparc::fixup_sparc_br19)); in getBranchPredTargetOpValue()
219 (MCFixupKind)Sparc::fixup_sparc_br16_2)); in getBranchOnRegTargetOpValue()
221 (MCFixupKind)Sparc::fixup_sparc_br16_14)); in getBranchOnRegTargetOpValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AVR/MCTargetDesc/
DAVRMCCodeEmitter.cpp100 MCFixupKind(Fixup), MI.getLoc())); in encodeRelCondBrTarget()
162 MCFixupKind(AVR::fixup_6), MI.getLoc())); in encodeMemri()
195 MCFixupKind FixupKind = static_cast<MCFixupKind>(Fixup); in encodeImm()
211 MCFixupKind FixupKind = static_cast<MCFixupKind>(AVR::fixup_call); in encodeCallTarget()
241 MCFixupKind FixupKind = static_cast<MCFixupKind>(AVRExpr->getFixupKind()); in getExprOpValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/MCTargetDesc/
DPPCMCCodeEmitter.cpp51 (MCFixupKind)PPC::fixup_ppc_br24)); in getDirectBrEncoding()
63 (MCFixupKind)PPC::fixup_ppc_brcond14)); in getCondBrEncoding()
76 (MCFixupKind)PPC::fixup_ppc_br24abs)); in getAbsDirectBrEncoding()
89 (MCFixupKind)PPC::fixup_ppc_brcond14abs)); in getAbsCondBrEncoding()
101 (MCFixupKind)PPC::fixup_ppc_half16)); in getImm16Encoding()
119 (MCFixupKind)PPC::fixup_ppc_half16)); in getMemRIEncoding()
137 (MCFixupKind)PPC::fixup_ppc_half16ds)); in getMemRIXEncoding()
158 (MCFixupKind)PPC::fixup_ppc_half16ds)); in getMemRIX16Encoding()
217 (MCFixupKind)PPC::fixup_ppc_nofixup)); in getTLSRegEncoding()
231 (MCFixupKind)PPC::fixup_ppc_nofixup)); in getTLSCallEncoding()
DPPCAsmBackend.cpp90 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override { in getFixupKindInfo()
229 Optional<MCFixupKind> getFixupKind(StringRef Name) const override;
245 Optional<MCFixupKind> ELFPPCAsmBackend::getFixupKind(StringRef Name) const { in getFixupKind()
DPPCMachObjectWriter.cpp83 const MCFixupKind FixupKind, // from in getRelocType()
196 const MCFixupKind FK = Fixup.getKind(); in recordScatteredRelocation()
304 const MCFixupKind FK = Fixup.getKind(); // unsigned in RecordPPCRelocation()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/MCTargetDesc/
DSystemZMCAsmBackend.cpp23 static uint64_t extractBitsForFixup(MCFixupKind Kind, uint64_t Value) { in extractBitsForFixup()
52 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
79 SystemZMCAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo()
102 MCFixupKind Kind = Fixup.getKind(); in applyFixup()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
DWebAssemblyMCCodeEmitter.cpp143 llvm::MCFixupKind FixupKind; in encodeInstruction()
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()
DWebAssemblyAsmBackend.cpp45 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
74 WebAssemblyAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/MCTargetDesc/
DARMMCCodeEmitter.cpp323 MCFixupKind Kind = MCFixupKind(ARM::fixup_arm_mod_imm); in getModImmOpValue()
342 MCFixupKind Kind = MCFixupKind(ARM::fixup_t2_so_imm); in getT2SOImmOpValue()
636 MCFixupKind Kind = MCFixupKind(FixupKind); in getBranchTargetOpValue()
998 MCFixupKind Kind; in getAddrModeImm12OpValue()
1000 Kind = MCFixupKind(ARM::fixup_t2_ldst_pcrel_12); in getAddrModeImm12OpValue()
1002 Kind = MCFixupKind(ARM::fixup_arm_ldst_pcrel_12); in getAddrModeImm12OpValue()
1130 MCFixupKind Kind = MCFixupKind(ARM::fixup_t2_pcrel_10); in getT2AddrModeImm8s4OpValue()
1206 MCFixupKind Kind; in getHiLo16ImmOpValue()
1228 Kind = MCFixupKind(isThumb(STI) ? ARM::fixup_t2_movt_hi16 in getHiLo16ImmOpValue()
1232 Kind = MCFixupKind(isThumb(STI) ? ARM::fixup_t2_movw_lo16 in getHiLo16ImmOpValue()
[all …]
DARMAsmBackend.h40 Optional<MCFixupKind> getFixupKind(StringRef Name) const override;
42 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/MCTargetDesc/
DX86ELFObjectWriter.cpp49 static X86_64RelType getType64(MCFixupKind Kind, in getType64()
100 MCFixupKind Kind) { in getRelocType64()
240 MCFixupKind Kind) { in getRelocType32()
268 return Kind == MCFixupKind(X86::reloc_signed_4byte_relax) in getRelocType32()
321 MCFixupKind Kind = Fixup.getKind(); in getRelocType()
DX86MCCodeEmitter.cpp90 MCFixupKind FixupKind, unsigned &CurByte, raw_ostream &OS,
166 static MCFixupKind getImmFixupKind(uint64_t TSFlags) { in getImmFixupKind()
175 return MCFixupKind(X86::reloc_signed_4byte); in getImmFixupKind()
292 unsigned Size, MCFixupKind FixupKind, 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()
342 FixupKind == MCFixupKind(X86::reloc_riprel_4byte) || in emitImmediate()
[all …]
DX86AsmBackend.cpp155 Optional<MCFixupKind> getFixupKind(StringRef Name) const override;
157 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
479 Optional<MCFixupKind> X86AsmBackend::getFixupKind(StringRef Name) const { in getFixupKind()
492 const MCFixupKindInfo &X86AsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo()
767 Optional<MCFixupKind> getFixupKind(StringRef Name) const override { in getFixupKind()
768 return StringSwitch<Optional<MCFixupKind>>(Name) in getFixupKind()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/MCTargetDesc/
DLanaiAsmBackend.cpp66 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
99 MCFixupKind Kind = Fixup.getKind(); in applyFixup()
138 LanaiAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/MSP430/MCTargetDesc/
DMSP430MCCodeEmitter.cpp115 static_cast<MCFixupKind>(MSP430::fixup_16_byte), MI.getLoc())); in getMachineOpValue()
147 static_cast<MCFixupKind>(FixupKind), MI.getLoc())); in getMemOpValue()
161 static_cast<MCFixupKind>(MSP430::fixup_10_pcrel), MI.getLoc())); in getPCRelImmOpValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCAsmBackend.cpp63 Optional<MCFixupKind> MCAsmBackend::getFixupKind(StringRef Name) const { in getFixupKind()
67 const MCFixupKindInfo &MCAsmBackend::getFixupKindInfo(MCFixupKind Kind) const { in getFixupKindInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/RISCV/MCTargetDesc/
DRISCVMCCodeEmitter.cpp158 0, Expr, MCFixupKind(RISCV::fixup_riscv_tprel_add), MI.getLoc())); in expandAddTPRel()
164 0, Dummy, MCFixupKind(RISCV::fixup_riscv_relax), MI.getLoc())); in expandAddTPRel()
354 MCFixup::create(0, Expr, MCFixupKind(FixupKind), MI.getLoc())); in getImmOpValue()
363 MCFixup::create(0, Dummy, MCFixupKind(RISCV::fixup_riscv_relax), in getImmOpValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonAsmBackend.cpp88 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override { in getFixupKindInfo()
359 static uint64_t adjustFixupValue(MCFixupKind Kind, uint64_t Value) { in adjustFixupValue()
420 MCFixupKind Kind = Fixup.getKind(); in applyFixup()
608 MCFixupKind Kind = Fixup.getKind(); in fixupNeedsRelaxationAdvanced()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
DAMDGPUAsmBackend.cpp51 const MCFixupKindInfo &getFixupKindInfo(MCFixupKind Kind) const override;
158 MCFixupKind Kind) const { in getFixupKindInfo()

12