/external/llvm/lib/Target/BPF/MCTargetDesc/ |
H A D | 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, argument 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 [all...] |
H A D | BPFELFObjectWriter.cpp | 26 const MCFixup &Fixup, bool IsPCRel) const override; 37 const MCFixup &Fixup, 40 switch ((unsigned)Fixup.getKind()) { 36 getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const argument
|
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
H A D | WebAssemblyELFObjectWriter.cpp | 29 const MCFixup &Fixup, bool IsPCRel) const override; 40 const MCFixup &Fixup, 45 dyn_cast<MCSymbolRefExpr>(Fixup.getValue())) 49 switch (Fixup.getKind()) { 38 getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const argument
|
H A D | 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, argument 76 const MCFixupKindInfo &Info = getFixupKindInfo(Fixup.getKind()); 86 unsigned Offset = Fixup.getOffset();
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
H A D | 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; 38 getRelocType(const MCValue &Target, const MCFixup &Fixup, bool IsCrossSection, const MCAsmBackend &MAB) const argument
|
H A D | ARMAsmBackend.h | 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,
|
H A D | ARMMachObjectWriter.cpp | 33 const MCFixup &Fixup, 42 const MCFixup &Fixup, MCValue Target, 56 const MCFixup &Fixup, MCValue Target, 143 const MCFixup &Fixup, 146 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); 147 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); 154 Asm.getContext().reportError(Fixup.getLoc(), 169 Asm.getContext().reportError(Fixup.getLoc(), 197 switch ((unsigned)Fixup.getKind()) { 247 const MCFixup &Fixup, 139 RecordARMScatteredHalfRelocation(MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument 243 RecordARMScatteredRelocation(MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, unsigned Type, unsigned Log2Size, uint64_t &FixedValue) argument 348 recordRelocation(MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument [all...] |
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
H A D | 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 43 getAArch64FixupKindMachOInfo( const MCFixup &Fixup, unsigned &RelocType, const MCSymbolRefExpr *Sym, unsigned &Log2Size, const MCAssembler &Asm) argument 144 recordRelocation( MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument [all...] |
H A D | AArch64AsmBackend.cpp | 74 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 78 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 139 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value, argument 141 unsigned Kind = Fixup.getKind(); 148 Ctx->reportError(Fixup.getLoc(), "fixup value out of range"); 156 if (Ctx) Ctx->reportError(Fixup.getLoc(), "fixup value out of range"); 158 Ctx->reportError(Fixup.getLoc(), "fixup not sufficiently aligned"); 165 Ctx->reportError(Fixup.getLoc(), "fixup value out of range"); 170 Ctx->reportError(Fixup.getLoc(), "fixup value out of range"); 172 Ctx->reportError(Fixup 264 applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, uint64_t Value, bool IsPCRel) const argument 305 fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, const MCRelaxableFragment *DF, const MCAsmLayout &Layout) const argument 546 processFixupValue( const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFixup &Fixup, const MCFragment *DF, const MCValue &Target, uint64_t &Value, bool &IsResolved) argument [all...] |
H A D | 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(), 150 Ctx.reportError(Fixup 47 getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const argument [all...] |
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
H A D | AMDGPUELFObjectWriter.cpp | 24 const MCFixup &Fixup, bool IsPCRel) const override; 39 const MCFixup &Fixup, 55 switch (Fixup.getKind()) { 37 getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const argument
|
H A D | AMDGPUAsmBackend.cpp | 33 const MCFragment *Fragment, const MCFixup &Fixup, 49 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 51 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 95 void AMDGPUAsmBackend::applyFixup(const MCFixup &Fixup, char *Data, argument 99 switch ((unsigned)Fixup.getKind()) { 105 uint16_t *Dst = (uint16_t*)(Data + Fixup.getOffset()); 112 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); 115 MCFixupKindInfo Info = getFixupKindInfo(Fixup.getKind()); 120 unsigned Offset = Fixup.getOffset();
|
/external/llvm/lib/MC/ |
H A D | MCAsmBackend.cpp | 47 const MCFixup &Fixup, bool Resolved, uint64_t Value, 51 return fixupNeedsRelaxation(Fixup, Value, DF, Layout); 46 fixupNeedsRelaxationAdvanced( const MCFixup &Fixup, bool Resolved, uint64_t Value, const MCRelaxableFragment *DF, const MCAsmLayout &Layout) const argument
|
/external/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | 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, 104 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, 106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); 107 unsigned IsRIPRel = isFixupKindRIPRel(Fixup 102 RecordX86_64Relocation( MachObjectWriter *Writer, MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument 365 recordScatteredRelocation(MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, unsigned Log2Size, uint64_t &FixedValue) argument 465 recordTLVPRelocation(MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument 507 RecordX86Relocation(MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument [all...] |
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
H A D | MipsAsmBackend.cpp | 36 static unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value, argument 39 unsigned Kind = Fixup.getKind(); 72 Ctx->reportError(Fixup.getLoc(), "out of range PC16 fixup"); 82 Ctx->reportError(Fixup.getLoc(), "out of range PC19 fixup"); 119 Ctx->reportError(Fixup.getLoc(), "out of range PC7 fixup"); 129 Ctx->reportError(Fixup.getLoc(), "out of range PC10 fixup"); 139 Ctx->reportError(Fixup.getLoc(), "out of range PC16 fixup"); 148 Ctx->reportError(Fixup.getLoc(), "out of range PC18 fixup"); 155 Ctx->reportError(Fixup.getLoc(), "out of range PC18 fixup"); 161 Ctx->reportError(Fixup 232 applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, uint64_t Value, bool IsPCRel) const argument 466 processFixupValue(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFixup &Fixup, const MCFragment *DF, const MCValue &Target, uint64_t &Value, bool &IsResolved) argument [all...] |
H A D | MipsAsmBackend.h | 41 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 64 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 86 const MCFixup &Fixup, const MCFragment *DF,
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
H A D | ARMMachObjectWriter.cpp | 31 const MCFixup &Fixup, 39 const MCFixup &Fixup, MCValue Target, 50 const MCFragment *Fragment, const MCFixup &Fixup, 126 const MCFixup &Fixup, 129 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); 130 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); 176 switch ((unsigned)Fixup.getKind()) { 223 const MCFixup &Fixup, 227 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); 228 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup 122 RecordARMMovwMovtRelocation(MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument 219 RecordARMScatteredRelocation(MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, unsigned Log2Size, uint64_t &FixedValue) argument 280 RecordRelocation(MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument [all...] |
/external/llvm/lib/Target/Lanai/MCTargetDesc/ |
H A D | LanaiMCExpr.cpp | 52 const MCFixup *Fixup) const { 53 if (!getSubExpr()->evaluateAsRelocatable(Res, Layout, Fixup))
|
H A D | LanaiELFObjectWriter.cpp | 29 const MCFixup &Fixup, bool IsPCRel) const override; 43 const MCFixup &Fixup, 46 unsigned Kind = static_cast<unsigned>(Fixup.getKind()); 41 getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const argument
|
H A D | LanaiAsmBackend.cpp | 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, argument 91 MCFixupKind Kind = Fixup.getKind(); 99 unsigned Offset = Fixup.getOffset();
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
H A D | SparcELFObjectWriter.cpp | 33 const MCFixup &Fixup, bool IsPCRel) const override; 43 const MCFixup &Fixup, 46 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Fixup.getValue())) { 52 switch((unsigned)Fixup.getKind()) { 68 switch((unsigned)Fixup.getKind()) { 72 case FK_Data_2: return ((Fixup.getOffset() % 2) 75 case FK_Data_4: return ((Fixup.getOffset() % 4) 78 case FK_Data_8: return ((Fixup.getOffset() % 8) 41 getRelocType(MCContext &Ctx, const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const argument
|
/external/llvm/include/llvm/MC/ |
H A D | MCAsmBackend.h | 52 /// \name Target Fixup Interfaces 69 const MCFixup &Fixup, const MCFragment *DF, 73 /// Apply the \p Value for given \p Fixup into the provided data fragment, at 76 virtual void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 91 virtual bool fixupNeedsRelaxationAdvanced(const MCFixup &Fixup, bool Resolved, 97 virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 67 processFixupValue(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFixup &Fixup, const MCFragment *DF, const MCValue &Target, uint64_t &Value, bool &IsResolved) argument
|
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
H A D | AMDGPUAsmBackend.cpp | 32 const MCFixup &Fixup, 48 virtual void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, argument 50 virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, argument 29 RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
H A D | 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, 85 // Fixup.getKind() 178 const MCFixup &Fixup) { 179 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment) + Fixup.getOffset(); 182 if (unsigned(Fixup.getKind()) == PPC::fixup_ppc_half16) 193 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, 196 const uint32_t FixupOffset = getFixupOffset(Layout, Fragment, Fixup); 176 getFixupOffset(const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup) argument 191 recordScatteredRelocation( MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, unsigned Log2Size, uint64_t &FixedValue) argument 301 RecordPPCRelocation( MachObjectWriter *Writer, const MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, uint64_t &FixedValue) argument [all...] |
/external/llvm/lib/Target/SystemZ/MCTargetDesc/ |
H A D | SystemZMCAsmBackend.cpp | 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, argument 91 MCFixupKind Kind = Fixup.getKind(); 92 unsigned Offset = Fixup.getOffset();
|