HomeSort by relevance Sort by last modified time
    Searched refs:Fixup (Results 51 - 75 of 230) sorted by null

1 23 4 5 6 7 8 910

  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64ELFObjectWriter.cpp 34 const MCFixup &Fixup, bool IsPCRel) const override;
49 const MCFixup &Fixup,
65 switch ((unsigned)Fixup.getKind()) {
67 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported");
87 Ctx.reportError(Fixup.getLoc(),
103 Ctx.reportError(Fixup.getLoc(), "Unsupported pc-relative fixup kind");
107 switch ((unsigned)Fixup.getKind()) {
109 Ctx.reportError(Fixup.getLoc(), "1-byte data relocations not supported");
135 Ctx.reportError(Fixup.getLoc()
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/MC/
MCAsmBackend.h 72 /// \name Target Fixup Interfaces
75 /// Get the number of target specific fixup kinds.
78 /// Map a relocation name used in .reloc to a fixup kind.
81 /// Get information on a fixup kind.
86 const MCFixup &Fixup,
91 /// Apply the \p Value for given \p Fixup into the provided data fragment, at
92 /// the offset specified by the fixup and following the fixup kind as
93 /// appropriate. Errors (such as an out of range fixup value) should be
97 virtual void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/RISCV/MCTargetDesc/
RISCVAsmBackend.cpp 45 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
53 // If linker relaxation is enabled, always emit relocations even if the fixup
56 bool shouldForceRelocation(const MCAssembler &Asm, const MCFixup &Fixup,
61 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
67 bool fixupNeedsRelaxationAdvanced(const MCFixup &Fixup, bool Resolved,
97 "Not all fixup kinds added to Infos array");
119 bool RISCVAsmBackend::fixupNeedsRelaxationAdvanced(const MCFixup &Fixup,
133 switch ((unsigned)Fixup.getKind()) {
226 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
228 unsigned Kind = Fixup.getKind()
    [all...]
RISCVELFObjectWriter.cpp 37 const MCFixup &Fixup, bool IsPCRel) const override;
49 const MCFixup &Fixup,
52 switch ((unsigned)Fixup.getKind()) {
54 llvm_unreachable("invalid fixup kind!");
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/MCTargetDesc/
X86WinCOFFObjectWriter.cpp 31 const MCFixup &Fixup, bool IsCrossSection,
43 const MCFixup &Fixup,
46 unsigned FixupKind = Fixup.getKind();
49 Ctx.reportError(Fixup.getLoc(), "Cannot represent this expression");
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64AsmBackend.cpp 74 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
81 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
94 bool shouldForceRelocation(const MCAssembler &Asm, const MCFixup &Fixup,
100 /// The number of bytes the fixup may change.
104 llvm_unreachable("Unknown fixup kind!");
147 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
150 unsigned Kind = Fixup.getKind();
154 llvm_unreachable("Unknown fixup kind!");
157 Ctx.reportError(Fixup.getLoc(), "fixup value out of range")
    [all...]
  /external/llvm/lib/Target/Lanai/MCTargetDesc/
LanaiELFObjectWriter.cpp 29 const MCFixup &Fixup, bool IsPCRel) const override;
43 const MCFixup &Fixup,
46 unsigned Kind = static_cast<unsigned>(Fixup.getKind());
72 llvm_unreachable("Invalid fixup kind!");
LanaiAsmBackend.cpp 40 llvm_unreachable("Unknown fixup kind!");
52 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
58 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
88 void LanaiAsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
91 MCFixupKind Kind = Fixup.getKind();
99 unsigned Offset = Fixup.getOffset();
140 // no bits are set in the fixup range.
  /external/llvm/lib/Target/Mips/MCTargetDesc/
MipsAsmBackend.h 41 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
63 /// fixup requires the associated instruction to be relaxed.
64 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
86 const MCFixup &Fixup, const MCFragment *DF,
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/MCTargetDesc/
AMDGPUELFObjectWriter.cpp 30 const MCFixup &Fixup, bool IsPCRel) const override;
44 const MCFixup &Fixup,
73 switch (Fixup.getKind()) {
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Lanai/MCTargetDesc/
LanaiELFObjectWriter.cpp 29 const MCFixup &Fixup, bool IsPCRel) const override;
42 const MCFixup &Fixup,
45 unsigned Kind = static_cast<unsigned>(Fixup.getKind());
71 llvm_unreachable("Invalid fixup kind!");
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Mips/MCTargetDesc/
MipsAsmBackend.h 44 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
69 /// fixup requires the associated instruction to be relaxed.
70 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
91 bool shouldForceRelocation(const MCAssembler &Asm, const MCFixup &Fixup,
MipsAsmBackend.cpp 39 static unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
42 unsigned Kind = Fixup.getKind();
83 Ctx.reportError(Fixup.getLoc(), "out of range PC16 fixup");
93 Ctx.reportError(Fixup.getLoc(), "out of range PC19 fixup");
132 Ctx.reportError(Fixup.getLoc(), "out of range PC7 fixup");
142 Ctx.reportError(Fixup.getLoc(), "out of range PC10 fixup");
    [all...]
  /external/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCMachObjectWriter.cpp 31 const MCFixup &Fixup, MCValue Target,
36 const MCFragment *Fragment, const MCFixup &Fixup,
45 const MCFixup &Fixup, MCValue Target,
50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target,
61 report_fatal_error("log2size(FixupKind): Unhandled fixup kind!");
81 /// Translates generic PPC fixup kind to Mach-O/PPC relocation type enum.
85 // Fixup.getKind()
95 report_fatal_error("Unimplemented fixup kind (relative)");
105 llvm_unreachable("Unsupported modifier for half16 fixup");
121 report_fatal_error("Unimplemented fixup kind (absolute)!")
    [all...]
PPCAsmBackend.cpp 30 llvm_unreachable("Unknown fixup kind!");
53 llvm_unreachable("Unknown fixup kind!");
116 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
118 Value = adjustFixupValue(Fixup.getKind(), Value);
121 unsigned Offset = Fixup.getOffset();
122 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind());
124 // For each byte of the fragment that the fixup touches, mask in the bits
125 // from the fixup value. The Value has been "split up" into the appropriate
134 const MCFixup &Fixup, const MCFragment *DF,
137 switch ((PPC::Fixups)Fixup.getKind())
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCMachObjectWriter.cpp 31 const MCFixup &Fixup, MCValue Target,
36 const MCFragment *Fragment, const MCFixup &Fixup,
45 const MCFixup &Fixup, MCValue Target,
50 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target,
61 report_fatal_error("log2size(FixupKind): Unhandled fixup kind!");
81 /// Translates generic PPC fixup kind to Mach-O/PPC relocation type enum.
85 // Fixup.getKind()
95 report_fatal_error("Unimplemented fixup kind (relative)");
105 llvm_unreachable("Unsupported modifier for half16 fixup");
121 report_fatal_error("Unimplemented fixup kind (absolute)!")
    [all...]
  /external/llvm/lib/Target/SystemZ/MCTargetDesc/
SystemZMCAsmBackend.cpp 22 // fixup kind Kind.
36 llvm_unreachable("Unknown fixup kind!");
51 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
56 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
88 void SystemZMCAsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
91 MCFixupKind Kind = Fixup.getKind();
92 unsigned Offset = Fixup.getOffset();
95 assert(Offset + Size <= DataSize && "Invalid fixup offset!");
  /external/swiftshader/third_party/LLVM/lib/Target/MBlaze/MCTargetDesc/
MBlazeAsmBackend.cpp 30 default: assert(0 && "invalid fixup kind!");
113 void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
122 void ELFMBlazeAsmBackend::ApplyFixup(const MCFixup &Fixup, char *Data,
124 unsigned Size = getFixupKindSize(Fixup.getKind());
126 assert(Fixup.getOffset() + Size <= DataSize &&
127 "Invalid fixup offset!");
129 char *data = Data + Fixup.getOffset();
131 default: llvm_unreachable("Cannot fixup unknown value.");
132 case 1: llvm_unreachable("Cannot fixup 1 byte value.");
133 case 8: llvm_unreachable("Cannot fixup 8 byte value.")
    [all...]
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/MCTargetDesc/
SystemZMCAsmBackend.cpp 23 // fixup kind Kind.
39 llvm_unreachable("Unknown fixup kind!");
54 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
62 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
98 const MCFixup &Fixup,
103 MCFixupKind Kind = Fixup.getKind();
104 unsigned Offset = Fixup.getOffset();
108 assert(Offset + Size <= Data.size() && "Invalid fixup offset!");
  /external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
WebAssemblyAsmBackend.cpp 47 void applyFixup(const MCAssembler &Asm, const MCFixup &Fixup,
56 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
102 const MCFixup &Fixup,
107 const MCFixupKindInfo &Info = getFixupKindInfo(Fixup.getKind());
117 unsigned Offset = Fixup.getOffset();
118 assert(Offset + NumBytes <= Data.size() && "Invalid fixup offset!");
120 // For each byte of the fragment that the fixup touches, mask in the
121 // bits from the fixup value.
WebAssemblyWasmObjectWriter.cpp 39 const MCFixup &Fixup) const override;
86 const MCFixup &Fixup) const {
89 bool IsFunction = IsFunctionExpr(Fixup.getValue());
91 switch (unsigned(Fixup.getKind())) {
110 GetFixupSection(Fixup.getValue()))) {
120 llvm_unreachable("unimplemented fixup kind");
  /external/swiftshader/third_party/LLVM/lib/Target/X86/MCTargetDesc/
X86MachObjectWriter.cpp 30 const MCFixup &Fixup,
38 const MCFixup &Fixup,
46 const MCFixup &Fixup,
53 const MCFixup &Fixup,
64 const MCFragment *Fragment, const MCFixup &Fixup,
67 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target,
70 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target,
84 llvm_unreachable("invalid fixup kind!");
103 const MCFixup &Fixup,
106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind())
    [all...]
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMAsmBackend.cpp 202 const char *ARMAsmBackend::reasonForFixupRelaxation(const MCFixup &Fixup,
204 switch ((unsigned)Fixup.getKind()) {
214 return "out of range pc-relative fixup value";
226 return "out of range pc-relative fixup value";
235 return "misaligned pc-relative fixup value";
237 return "out of range pc-relative fixup value";
250 llvm_unreachable("Unexpected fixup kind in reasonForFixupRelaxation()!");
255 bool ARMAsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
258 return reasonForFixupRelaxation(Fixup, Value);
336 // so we need to swap the fixup value here to map properly
    [all...]
  /external/llvm/lib/Target/X86/MCTargetDesc/
X86WinCOFFObjectWriter.cpp 30 unsigned getRelocType(const MCValue &Target, const MCFixup &Fixup,
43 const MCFixup &Fixup,
46 unsigned FixupKind = IsCrossSection ? FK_PCRel_4 : Fixup.getKind();
  /external/swiftshader/third_party/subzero/src/
IceELFSection.h 241 void addRelocation(const AssemblerFixup &Fixup) { Fixups.push_back(Fixup); }
359 for (const AssemblerFixup &Fixup : Fixups) {
361 if (Fixup.isNullSymbol()) {
363 } else if (Fixup.valueIsSymbol()) {
364 Symbol = Fixup.getSymbolValue();
366 GlobalString Name = Fixup.symbol();
374 Rela.r_offset = Fixup.position();
375 Rela.setSymbolAndType(Symbol->getNumber(), Fixup.kind());
376 Rela.r_addend = Fixup.offset()
    [all...]

Completed in 855 milliseconds

1 23 4 5 6 7 8 910