/frameworks/compile/mclinker/lib/Fragment/ |
Stub.cpp | 22 for (fixup_iterator fixup= fixup_begin(); fixup != fixup_end(); ++fixup) 23 delete(*fixup); 34 m_FixupList.push_back(new Fixup(pOffset, pAddend, pType)); 37 void Stub::addFixup(const Fixup& pFixup) 40 m_FixupList.push_back(new Fixup(pFixup));
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
ARMWinCOFFObjectWriter.cpp | 28 unsigned getRelocType(const MCValue &Target, const MCFixup &Fixup, 35 const MCFixup &Fixup, 43 switch (static_cast<unsigned>(Fixup.getKind())) { 71 bool ARMWinCOFFObjectWriter::recordRelocation(const MCFixup &Fixup) const { 72 return static_cast<unsigned>(Fixup.getKind()) != ARM::fixup_t2_movt_hi16;
|
ARMMachObjectWriter.cpp | 33 const MCFixup &Fixup, 42 const MCFixup &Fixup, MCValue Target, 59 const MCFragment *Fragment, const MCFixup &Fixup, 151 const MCFixup &Fixup, 154 uint32_t FixupOffset = Layout.getFragmentOffset(Fragment)+Fixup.getOffset(); 155 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); 163 Asm.getContext().FatalError(Fixup.getLoc(), 177 Asm.getContext().FatalError(Fixup.getLoc(), 203 switch ((unsigned)Fixup.getKind()) { 253 const MCFixup &Fixup, [all...] |
ARMELFObjectWriter.cpp | 28 const MCFixup &Fixup, 37 unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 65 // Need to examine the Fixup when determining whether to 69 const MCFixup &Fixup, 71 return GetRelocTypeInner(Target, Fixup, IsPCRel); 75 const MCFixup &Fixup, 81 switch ((unsigned)Fixup.getKind()) { 147 switch ((unsigned)Fixup.getKind()) { 148 default: llvm_unreachable("invalid fixup kind!");
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
AArch64MachObjectWriter.cpp | 27 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().FatalError(Fixup.getLoc(), 117 const MCFragment *Fragment, const MCFixup &Fixup, MCValue Target, 119 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); 128 unsigned Kind = Fixup.getKind(); 130 FixupOffset += Fixup.getOffset(); 146 Asm.getContext().FatalError(Fixup.getLoc() [all...] |
AArch64AsmBackend.cpp | 68 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 72 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 85 /// \brief The number of bytes the fixup may change. 89 llvm_unreachable("Unknown fixup kind!"); 134 assert(false && "Unknown fixup kind!"); 137 report_fatal_error("fixup value out of range"); 145 report_fatal_error("fixup value out of range"); 152 report_fatal_error("invalid imm12 fixup value"); 157 report_fatal_error("invalid imm12 fixup value"); 162 report_fatal_error("invalid imm12 fixup value") [all...] |
/external/llvm/lib/Target/R600/MCTargetDesc/ |
AMDGPUAsmBackend.cpp | 31 const MCFragment *Fragment, const MCFixup &Fixup, 47 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 49 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 72 void AMDGPUAsmBackend::applyFixup(const MCFixup &Fixup, char *Data, 76 uint16_t *Dst = (uint16_t*)(Data + Fixup.getOffset()); 77 assert(Fixup.getKind() == FK_PCRel_4);
|
AMDGPUELFObjectWriter.cpp | 22 unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
|
/external/llvm/include/llvm/MC/ |
MCWinCOFFObjectWriter.h | 31 const MCFixup &Fixup,
|
MCAsmBackend.h | 78 /// @name Target Fixup Interfaces 81 /// getNumFixupKinds - Get the number of target specific fixup kinds. 84 /// getFixupKindInfo - Get information on a fixup kind. 87 /// processFixupValue - Target hook to adjust the literal value of a fixup 92 const MCFixup &Fixup, const MCFragment *DF, 96 /// applyFixup - Apply the \p Value for given \p Fixup into the provided 97 /// data fragment, at the offset specified by the fixup and following the 98 /// fixup kind as appropriate. 99 virtual void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 114 /// fixup requires the associated instruction to be relaxed [all...] |
/frameworks/compile/mclinker/include/mcld/Fragment/ |
Stub.h | 32 class Fixup 35 Fixup(DWord pOffset, SWord pAddend, Type pType) 39 ~Fixup() 55 typedef std::vector<Fixup*> FixupListType; 93 /// ----- Fixup ----- /// 113 /// addFixup - add a fixup for this stub to build a relocation 116 /// addFixup - add a fixup from a existing fixup of the prototype 117 void addFixup(const Fixup& pFixup);
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
MipsAsmBackend.cpp | 33 static unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value, 36 unsigned Kind = Fixup.getKind(); 71 Ctx->FatalError(Fixup.getLoc(), "out of range PC16 fixup"); 78 Ctx->FatalError(Fixup.getLoc(), "out of range PC19 fixup"); 112 Ctx->FatalError(Fixup.getLoc(), "out of range PC16 fixup"); 119 Ctx->FatalError(Fixup.getLoc(), "out of range PC18 fixup"); [all...] |
MipsAsmBackend.h | 42 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, 85 const MCFixup &Fixup, const MCFragment *DF,
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
SparcELFObjectWriter.cpp | 31 unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 37 const MCFixup &Fixup, 40 if (const SparcMCExpr *SExpr = dyn_cast<SparcMCExpr>(Fixup.getValue())) { 46 switch((unsigned)Fixup.getKind()) { 48 llvm_unreachable("Unimplemented fixup -> relocation"); 62 switch((unsigned)Fixup.getKind()) { 64 llvm_unreachable("Unimplemented fixup -> relocation"); 66 case FK_Data_2: return ((Fixup.getOffset() % 2) 69 case FK_Data_4: return ((Fixup.getOffset() % 4) 72 case FK_Data_8: return ((Fixup.getOffset() % 8 [all...] |
/art/compiler/ |
elf_fixup.h | 31 // Fixup an ELF file so that that oat header will be loaded at oat_begin. 33 static bool Fixup(File* file, uintptr_t oat_data_begin); 36 // Fixup .dynamic d_ptr values for the expected base_address. 39 // Fixup Elf32_Shdr p_vaddr to load at the desired address. 42 // Fixup Elf32_Phdr p_vaddr to load at the desired address. 45 // Fixup symbol table 48 // Fixup dynamic relocations
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/MCTargetDesc/ |
AMDGPUAsmBackend.cpp | 32 const MCFixup &Fixup, 48 virtual void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 50 virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
|
SIMCCodeEmitter.cpp | 88 SmallVectorImpl<MCFixup> &Fixup) const; 92 SmallVectorImpl<MCFixup> &Fixup) const; 97 SmallVectorImpl<MCFixup> &Fixup) const; 101 SmallVectorImpl<MCFixup> &Fixup) const; 169 SmallVectorImpl<MCFixup> &Fixup) const { 175 SmallVectorImpl<MCFixup> &Fixup) const { 181 SmallVectorImpl<MCFixup> &Fixup) const { 198 SmallVectorImpl<MCFixup> &Fixup) const { 207 (getMachineOpValue(MI, OffsetOp, Fixup) & SMRD_OFFSET_MASK) 209 | ((GPR2AlignEncode(MI, OpNo, Fixup) & SMRD_SBASE_MASK) << SMRD_SBASE_SHIFT [all...] |
/external/llvm/lib/Target/X86/MCTargetDesc/ |
X86WinCOFFObjectWriter.cpp | 30 unsigned getRelocType(const MCValue &Target, const MCFixup &Fixup, 42 const MCFixup &Fixup, 44 unsigned FixupKind = IsCrossSection ? FK_PCRel_4 : Fixup.getKind();
|
X86MachObjectWriter.cpp | 31 const MCFixup &Fixup, 39 const MCFixup &Fixup, 47 const MCFixup &Fixup, 54 const MCFixup &Fixup, 65 const MCFragment *Fragment, const MCFixup &Fixup, 68 RecordX86_64Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, 71 RecordX86Relocation(Writer, Asm, Layout, Fragment, Fixup, Target, 85 llvm_unreachable("invalid fixup kind!"); 104 const MCFixup &Fixup, 107 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()) [all...] |
/external/mesa3d/src/gallium/drivers/radeon/MCTargetDesc/ |
AMDGPUAsmBackend.cpp | 32 const MCFixup &Fixup, 48 virtual void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 50 virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
|
SIMCCodeEmitter.cpp | 88 SmallVectorImpl<MCFixup> &Fixup) const; 92 SmallVectorImpl<MCFixup> &Fixup) const; 97 SmallVectorImpl<MCFixup> &Fixup) const; 101 SmallVectorImpl<MCFixup> &Fixup) const; 169 SmallVectorImpl<MCFixup> &Fixup) const { 175 SmallVectorImpl<MCFixup> &Fixup) const { 181 SmallVectorImpl<MCFixup> &Fixup) const { 198 SmallVectorImpl<MCFixup> &Fixup) const { 207 (getMachineOpValue(MI, OffsetOp, Fixup) & SMRD_OFFSET_MASK) 209 | ((GPR2AlignEncode(MI, OpNo, Fixup) & SMRD_SBASE_MASK) << SMRD_SBASE_SHIFT [all...] |
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
PPCMachObjectWriter.cpp | 31 const MCFixup &Fixup, MCValue Target, 36 const MCFragment *Fragment, const MCFixup &Fixup, 46 const MCFixup &Fixup, MCValue Target, 51 RecordPPCRelocation(Writer, Asm, Layout, Fragment, Fixup, Target, 62 report_fatal_error("log2size(FixupKind): Unhandled fixup kind!"); 82 /// Translates generic PPC fixup kind to Mach-O/PPC relocation type enum. 86 // Fixup.getKind() 96 report_fatal_error("Unimplemented fixup kind (relative)"); 106 llvm_unreachable("Unsupported modifier for half16 fixup"); 122 report_fatal_error("Unimplemented fixup kind (absolute)!") [all...] |
PPCAsmBackend.cpp | 28 llvm_unreachable("Unknown fixup kind!"); 51 llvm_unreachable("Unknown fixup kind!"); 114 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 116 Value = adjustFixupValue(Fixup.getKind(), Value); 119 unsigned Offset = Fixup.getOffset(); 120 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); 122 // For each byte of the fragment that the fixup touches, mask in the bits 123 // from the fixup value. The Value has been "split up" into the appropriate 136 bool fixupNeedsRelaxation(const MCFixup &Fixup,
|
/external/llvm/lib/Target/SystemZ/MCTargetDesc/ |
SystemZMCAsmBackend.cpp | 22 // fixup kind Kind. 35 llvm_unreachable("Unknown fixup kind!"); 50 void applyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, 55 bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, 87 void SystemZMCAsmBackend::applyFixup(const MCFixup &Fixup, char *Data, 90 MCFixupKind Kind = Fixup.getKind(); 91 unsigned Offset = Fixup.getOffset(); 94 assert(Offset + Size <= DataSize && "Invalid fixup offset!");
|
SystemZMCObjectWriter.cpp | 27 unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup, 83 const MCFixup &Fixup, 86 unsigned Kind = Fixup.getKind();
|