HomeSort by relevance Sort by last modified time
    Searched refs:Fixup (Results 1 - 25 of 218) sorted by null

1 2 3 4 5 6 7 8 9

  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ipf/
PeCoffLoaderEx.c 78 IN OUT CHAR8 *Fixup,
86 Performs an Itanium-based specific relocation fixup
92 Fixup - Pointer to the address to fix up
96 Adjust - The offset to adjust the fixup
116 Fixup = (CHAR8 *)((UINTN) Fixup & (UINTN) ~(15));
123 (UINT32 *)Fixup + IMM64_IMM7B_INST_WORD_X,
130 (UINT32 *)Fixup + IMM64_IMM9D_INST_WORD_X,
137 (UINT32 *)Fixup + IMM64_IMM5C_INST_WORD_X,
144 (UINT32 *)Fixup + IMM64_IC_INST_WORD_X,
    [all...]
PeCoffLoaderEx.h 32 IN OUT CHAR8 *Fixup,
40 Performs an Itanium-based specific relocation fixup
46 Fixup - Pointer to the address to fix up
50 Adjust - The offset to adjust the fixup
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/Ipf/
PeCoffLoaderEx.c 75 Performs an Itanium-based specific relocation fixup.
78 @param Fixup Pointer to the address to fix up.
80 @param Adjust The offset to adjust the fixup.
88 IN OUT CHAR8 *Fixup,
104 Fixup = (CHAR8 *)((UINTN) Fixup & (UINTN) ~(15));
111 (UINT32 *)Fixup + IMM64_IMM7B_INST_WORD_X,
118 (UINT32 *)Fixup + IMM64_IMM9D_INST_WORD_X,
125 (UINT32 *)Fixup + IMM64_IMM5C_INST_WORD_X,
132 (UINT32 *)Fixup + IMM64_IC_INST_WORD_X,
    [all...]
  /device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/Ipf/
PeCoffLoaderEx.c 67 Performs an Itanium-based specific relocation fixup.
70 @param Fixup The pointer to the address to fix up.
72 @param Adjust The offset to adjust the fixup.
81 IN OUT CHAR8 *Fixup,
97 Fixup = (CHAR8 *)((UINTN) Fixup & (UINTN) ~(15));
104 (UINT32 *)Fixup + IMM64_IMM7B_INST_WORD_X,
111 (UINT32 *)Fixup + IMM64_IMM9D_INST_WORD_X,
118 (UINT32 *)Fixup + IMM64_IMM5C_INST_WORD_X,
125 (UINT32 *)Fixup + IMM64_IC_INST_WORD_X,
    [all...]
  /external/llvm/lib/Target/BPF/MCTargetDesc/
BPFAsmBackend.cpp 34 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
40 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
66 void BPFAsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
70 if (Fixup.getKind() == FK_SecRel_4 || Fixup.getKind() == FK_SecRel_8) {
72 } else if (Fixup.getKind() == FK_Data_4 || Fixup.getKind() == FK_Data_8) {
73 unsigned Size = Fixup.getKind() == FK_Data_4 ? 4 : 8;
77 Data[Fixup.getOffset() + Idx] = uint8_t(Value >> (i * 8));
80 assert(Fixup.getKind() == FK_PCRel_2)
    [all...]
BPFELFObjectWriter.cpp 26 const MCFixup &Fixup, bool IsPCRel) const override;
37 const MCFixup &Fixup,
40 switch ((unsigned)Fixup.getKind()) {
42 llvm_unreachable("invalid fixup kind!");
  /external/llvm/lib/Target/WebAssembly/MCTargetDesc/
WebAssemblyELFObjectWriter.cpp 29 const MCFixup &Fixup, bool IsPCRel) const override;
40 const MCFixup &Fixup,
45 dyn_cast<MCSymbolRefExpr>(Fixup.getValue()))
49 switch (Fixup.getKind()) {
57 llvm_unreachable("unimplemented fixup kind");
WebAssemblyAsmBackend.cpp 38 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
44 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
73 void WebAssemblyAsmBackend::applyFixup(const MCFixup &Fixup, char *Data,
76 const MCFixupKindInfo &Info = getFixupKindInfo(Fixup.getKind());
86 unsigned Offset = Fixup.getOffset();
87 assert(Offset + NumBytes <= DataSize && "Invalid fixup offset!");
89 // For each byte of the fragment that the fixup touches, mask in the
90 // bits from the fixup value.
  /external/llvm/lib/Target/ARM/MCTargetDesc/
ARMWinCOFFObjectWriter.cpp 31 unsigned getRelocType(const MCValue &Target, const MCFixup &Fixup,
39 const MCFixup &Fixup,
48 switch (static_cast<unsigned>(Fixup.getKind())) {
50 const MCFixupKindInfo &Info = MAB.getFixupKindInfo(Fixup.getKind());
79 bool ARMWinCOFFObjectWriter::recordRelocation(const MCFixup &Fixup) const {
80 return static_cast<unsigned>(Fixup.getKind()) != ARM::fixup_t2_movt_hi16;
ARMAsmBackend.h 41 /// processFixupValue - Target hook to process the literal value of a fixup
44 const MCFixup &Fixup, const MCFragment *DF,
48 unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value, bool IsPCRel,
52 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
59 const char *reasonForFixupRelaxation(const MCFixup &Fixup,
62 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
  /device/linaro/bootloader/edk2/BaseTools/Source/C/Common/
PeCoffLoaderEx.c 73 IN OUT CHAR8 *Fixup,
81 Performs an IA-32 specific relocation fixup
87 Fixup - Pointer to the address to fix up
91 Adjust - The offset to adjust the fixup
105 IN OUT CHAR8 *Fixup,
113 Performs an Itanium-based specific relocation fixup
119 Fixup - Pointer to the address to fix up
123 Adjust - The offset to adjust the fixup
143 Fixup = (CHAR8 *)((UINTN) Fixup & (UINTN) ~(15));
    [all...]
  /external/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64MachObjectWriter.cpp 28 bool getAArch64FixupKindMachOInfo(const MCFixup &Fixup, unsigned &RelocType,
38 const MCFixup &Fixup, MCValue Target,
44 const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym,
49 switch ((unsigned)Fixup.getKind()) {
94 Asm.getContext().reportError(Fixup.getLoc(),
146 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target,
148 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
156 unsigned Kind = Fixup.getKind();
159 FixupOffset += Fixup.getOffset();
175 Asm.getContext().reportError(Fixup.getLoc()
    [all...]
AArch64AsmBackend.cpp 74 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
78 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
94 /// \brief The number of bytes the fixup may change.
98 llvm_unreachable("Unknown fixup kind!");
139 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value,
141 unsigned Kind = Fixup.getKind();
145 llvm_unreachable("Unknown fixup kind!");
148 Ctx->reportError(Fixup.getLoc(), "fixup value out of range");
156 if (Ctx) Ctx->reportError(Fixup.getLoc(), "fixup value out of range")
    [all...]
  /external/llvm/lib/Target/AMDGPU/MCTargetDesc/
AMDGPUELFObjectWriter.cpp 24 const MCFixup &Fixup, bool IsPCRel) const override;
39 const MCFixup &Fixup,
55 switch (Fixup.getKind()) {
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/Ebc/
PeCoffLoaderEx.c 26 Performs an EBC specific relocation fixup.
29 @param Fixup Pointer to the address to fix up.
31 @param Adjust The offset to adjust the fixup.
39 IN OUT CHAR8 *Fixup,
77 Performs an Itanium-based specific re-relocation fixup and is a no-op on other
82 @param Fixup Pointer to the address to fix up.
84 @param Adjust The offset to adjust the fixup.
92 IN OUT CHAR8 *Fixup,
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/Ia32/
PeCoffLoaderEx.c 26 Performs an IA-32 specific relocation fixup.
29 @param Fixup Pointer to the address to fix up.
31 @param Adjust The offset to adjust the fixup.
39 IN OUT CHAR8 *Fixup,
76 Performs an Itanium-based specific re-relocation fixup and is a no-op on other
81 @param Fixup Pointer to the address to fix up.
83 @param Adjust The offset to adjust the fixup.
91 IN OUT CHAR8 *Fixup,
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BasePeCoffLib/X64/
PeCoffLoaderEx.c 27 Performs an x64 specific relocation fixup.
30 @param Fixup Pointer to the address to fix up
32 @param Adjust The offset to adjust the fixup
40 IN OUT CHAR8 *Fixup,
78 Performs an X64 specific re-relocation fixup and is a no-op on other
83 @param Fixup Pointer to the address to fix up.
85 @param Adjust The offset to adjust the fixup.
93 IN OUT CHAR8 *Fixup,
  /device/linaro/bootloader/edk2/MdePkg/Library/BasePeCoffLib/
PeCoffLoaderEx.c 19 Performs an Itanium-based specific relocation fixup and is a no-op on other
23 @param Fixup The pointer to the address to fix up.
25 @param Adjust The offset to adjust the fixup.
33 IN OUT CHAR8 *Fixup,
68 Performs an Itanium-based specific re-relocation fixup and is a no-op on other
73 @param Fixup The pointer to the address to fix up.
75 @param Adjust The offset to adjust the fixup.
83 IN OUT CHAR8 *Fixup,
  /external/llvm/lib/MC/
MCAsmBackend.cpp 42 assert((size_t)Kind <= array_lengthof(Builtins) && "Unknown fixup kind");
47 const MCFixup &Fixup, bool Resolved, uint64_t Value,
51 return fixupNeedsRelaxation(Fixup, Value, DF, Layout);
  /external/llvm/lib/Target/X86/MCTargetDesc/
X86MachObjectWriter.cpp 32 const MCFixup &Fixup,
40 const MCFixup &Fixup,
48 const MCFixup &Fixup,
53 const MCFragment *Fragment, const MCFixup &Fixup,
62 const MCFixup &Fixup, MCValue Target,
65 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target,
68 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target,
84 llvm_unreachable("invalid fixup kind!");
104 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target,
106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind())
    [all...]
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/Ia32/
PeCoffLoaderEx.c 30 IN OUT CHAR8 *Fixup,
38 Performs an IA-32 specific relocation fixup
44 Fixup - Pointer to the address to fix up
48 Adjust - The offset to adjust the fixup
PeCoffLoaderEx.h 30 IN OUT CHAR8 *Fixup,
38 Performs an IA-32 specific relocation fixup
44 Fixup - Pointer to the address to fix up
48 Adjust - The offset to adjust the fixup
  /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Pei/PeiLib/X64/
PeCoffLoaderEx.c 31 IN OUT CHAR8 *Fixup,
38 Performs an x64 specific relocation fixup
42 Fixup - Pointer to the address to fix up
44 Adjust - The offset to adjust the fixup
PeCoffLoaderEx.h 30 IN OUT CHAR8 *Fixup,
38 Performs an x64 specific relocation fixup
44 Fixup - Pointer to the address to fix up
48 Adjust - The offset to adjust the fixup
  /external/llvm/include/llvm/MC/
MCAsmBackend.h 52 /// \name Target Fixup Interfaces
55 /// Get the number of target specific fixup kinds.
58 /// Map a relocation name used in .reloc to a fixup kind.
61 /// Get information on a fixup kind.
64 /// Target hook to adjust the literal value of a fixup if necessary.
69 const MCFixup &Fixup, const MCFragment *DF,
73 /// Apply the \p Value for given \p Fixup into the provided data fragment, at
74 /// the offset specified by the fixup and following the fixup kind as
76 virtual void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize
    [all...]

Completed in 467 milliseconds

1 2 3 4 5 6 7 8 9