/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldCOFFX86_64.h | 85 switch (RE.RelType) { 96 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); 133 uint64_t Offset, uint64_t RelType, uint64_t Addend, 159 // FIXME: If RelType == COFF::IMAGE_REL_AMD64_ADDR32NB we should be able 166 const RelocationEntry RE(SectionID, Offset, RelType, Addend); 172 RelType = COFF::IMAGE_REL_AMD64_ADDR64; 174 return std::make_tuple(Offset, RelType, Addend); 196 uint64_t RelType = RelI->getType(); 207 switch (RelType) { 220 std::tie(Offset, RelType, Addend) = generateRelocationStub [all...] |
RuntimeDyldMachOARM.h | 66 switch (RE.RelType) { 108 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); 133 if (RelType == MachO::ARM_RELOC_HALF_SECTDIFF) 136 else if (RelType == MachO::GENERIC_RELOC_VANILLA) 144 switch (RelType) { 152 if (RelType > MachO::ARM_RELOC_HALF_SECTDIFF) 154 Twine(RelType) + 175 if (RE.RelType == MachO::ARM_THUMB_RELOC_BR22) 180 (RE.RelType == MachO::ARM_THUMB_RELOC_BR22) ? 4 : 8); 184 if (!Value.SymbolName && (RelType == MachO::ARM_RELOC_BR24 | [all...] |
RuntimeDyldMachOI386.h | 43 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); 46 if (RelType == MachO::GENERIC_RELOC_SECTDIFF || 47 RelType == MachO::GENERIC_RELOC_LOCAL_SECTDIFF) 50 else if (RelType == MachO::GENERIC_RELOC_VANILLA) 53 "type: " + Twine(RelType)).str()); 56 switch (RelType) { 61 if (RelType > MachO::GENERIC_RELOC_TLV) 63 Twine(RelType) + 110 switch (RE.RelType) {
|
RuntimeDyldMachOAArch64.h | 41 switch (RE.RelType) { 47 << getRelocName(RE.RelType); 59 << getRelocName(RE.RelType); 77 switch (RE.RelType) { 157 MachO::RelocationInfoType RelType, int64_t Addend) const { 159 switch (RelType) { 177 switch (RelType) { 308 if (RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) { 334 if (RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) { 342 if (RE.RelType == MachO::ARM64_RELOC_GOT_LOAD_PAGE21 | [all...] |
RuntimeDyldCOFFThumb.h | 77 uint64_t RelType = RelI->getType(); 86 switch (RelType) { 101 << " RelType: " << RelTypeName << " TargetName: " 106 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 119 switch (RelType) { 126 SectionID, Offset, RelType, Addend, TargetSectionID, 133 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 140 RelocationEntry(TargetSectionID, Offset, RelType, 0); 145 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, 152 SectionID, Offset, RelType, Addend, TargetSectionID [all...] |
RuntimeDyldCOFFI386.h | 58 uint64_t RelType = RelI->getType(); 67 switch (RelType) { 84 << " RelType: " << RelTypeName << " TargetName: " 89 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 98 switch (RelType) { 106 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 113 RelocationEntry(TargetSectionID, Offset, RelType, 0); 118 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, 136 switch (RE.RelType) { 149 << " RelType: IMAGE_REL_I386_DIR32 [all...] |
RuntimeDyldMachOX86_64.h | 43 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); 45 if (RelType == MachO::X86_64_RELOC_SUBTRACTOR) 63 switch (RelType) { 66 if (RelType > MachO::X86_64_RELOC_TLV) 68 Twine(RelType) + 73 if (RE.RelType == MachO::X86_64_RELOC_GOT || 74 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) 101 switch (RE.RelType) {
|
RuntimeDyldELFMips.cpp | 19 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); 21 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, 24 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, 35 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, 47 RE.RelType); 282 // RelType is used to keep information for which relocation type we are 284 uint32_t RelType = r_type; 286 RelType, Addend, 289 RelType = r_type2; 290 CalculatedValue = evaluateMIPS64Relocation(Section, Offset, 0, RelType, [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
RuntimeDyldCOFFX86_64.h | 67 switch (RE.RelType) { 78 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); 128 uint64_t RelType = RelI->getType(); 134 switch (RelType) { 164 << " RelType: " << RelType << " TargetName: " << TargetName 168 RelocationEntry RE(SectionID, Offset, RelType, Addend); 179 RelocationEntry RE(SectionID, Offset, RelType, TargetOffset + Addend);
|
RuntimeDyldMachOI386.h | 43 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); 46 if (RelType == MachO::GENERIC_RELOC_SECTDIFF || 47 RelType == MachO::GENERIC_RELOC_LOCAL_SECTDIFF) 50 else if (RelType == MachO::GENERIC_RELOC_VANILLA) 53 "type: " + Twine(RelType)).str()); 56 switch (RelType) { 61 if (RelType > MachO::GENERIC_RELOC_TLV) 63 Twine(RelType) + 110 switch (RE.RelType) {
|
RuntimeDyldMachOAArch64.h | 41 switch (RE.RelType) { 58 switch (RE.RelType) { 134 MachO::RelocationInfoType RelType, int64_t Addend) const { 136 switch (RelType) { 153 switch (RelType) { 298 if (RE.RelType == MachO::ARM64_RELOC_GOT_LOAD_PAGE21 || 299 RE.RelType == MachO::ARM64_RELOC_GOT_LOAD_PAGEOFF12) 316 MachO::RelocationInfoType RelType = 317 static_cast<MachO::RelocationInfoType>(RE.RelType); 319 switch (RelType) { [all...] |
RuntimeDyldCOFFI386.h | 58 uint64_t RelType = RelI->getType(); 67 switch (RelType) { 84 << " RelType: " << RelTypeName << " TargetName: " << TargetName 89 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 98 switch (RelType) { 106 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 113 RelocationEntry(TargetSectionID, Offset, RelType, 0); 118 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, 136 switch (RE.RelType) { 152 << " RelType: IMAGE_REL_I386_DIR32 [all...] |
RuntimeDyldMachOX86_64.h | 43 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); 45 if (RelType == MachO::X86_64_RELOC_SUBTRACTOR) 63 switch (RelType) { 66 if (RelType > MachO::X86_64_RELOC_TLV) 68 Twine(RelType) + 73 if (RE.RelType == MachO::X86_64_RELOC_GOT || 74 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) 101 switch (RE.RelType) {
|
RuntimeDyldCOFFThumb.h | 57 uint64_t RelType = RelI->getType(); 66 switch (RelType) { 81 << " RelType: " << RelTypeName << " TargetName: " << TargetName 86 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 95 switch (RelType) { 103 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 110 RelocationEntry(TargetSectionID, Offset, RelType, 0); 115 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType, 122 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 131 RelocationEntry(SectionID, Offset, RelType, [all...] |
RuntimeDyldMachOARM.h | 41 switch (RE.RelType) { 62 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); 65 if (RelType == MachO::ARM_RELOC_HALF_SECTDIFF) 68 else if (RelType == MachO::GENERIC_RELOC_VANILLA) 75 switch (RelType) { 84 if (RelType > MachO::ARM_RELOC_HALF_SECTDIFF) 86 Twine(RelType) + 102 if ((RE.RelType & 0xf) == MachO::ARM_RELOC_BR24) 131 switch (RE.RelType) { 212 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, 0 [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.cpp | [all...] |
RuntimeDyldImpl.h | 41 #define UNIMPLEMENTED_RELOC(RelType) \ 42 case RelType: \ 43 return make_error<RuntimeDyldError>("Unimplemented relocation: " #RelType) 127 /// RelType - relocation type. 128 uint32_t RelType; 156 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 161 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 167 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 173 : SectionID(id), Offset(offset), RelType(type), 184 : SectionID(id), Offset(offset), RelType(type) [all...] |
RuntimeDyldMachO.h | 76 MachO::RelocationInfoType RelType = 79 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size);
|
RuntimeDyldELF.h | 126 void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value); 129 uint32_t getMatchingLoRelocation(uint32_t RelType,
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldELF.cpp | 608 // RelType is used to keep information for which relocation type we are 610 uint32_t RelType = r_type; 612 RelType, Addend, 615 RelType = r_type2; 616 CalculatedValue = evaluateMIPS64Relocation(Section, Offset, 0, RelType, 621 RelType = r_type3; 622 CalculatedValue = evaluateMIPS64Relocation(Section, Offset, 0, RelType, 627 RelType); [all...] |
RuntimeDyldImpl.h | 41 #define UNIMPLEMENTED_RELOC(RelType) \ 42 case RelType: \ 43 return make_error<RuntimeDyldError>("Unimplemented relocation: " #RelType) 127 /// RelType - relocation type. 128 uint32_t RelType; 153 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 158 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 163 : SectionID(id), Offset(offset), RelType(type), Addend(addend), 169 : SectionID(id), Offset(offset), RelType(type),
|
RuntimeDyldMachO.h | 76 MachO::RelocationInfoType RelType = 79 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size);
|
RuntimeDyldELF.h | 127 void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value); 130 uint32_t getMatchingLoRelocation(uint32_t RelType,
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
ELFWriter.cpp | 783 unsigned RelType = TEW->getRelocationType(MR.getRelocationType()); 784 unsigned RelTySize = TEW->getRelocationTySize(RelType); 800 Addend = TEW->getDefaultAddendForRelTy(RelType, GlobalOffset); 805 Addend = TEW->getDefaultAddendForRelTy(RelType); 817 if (S.SectionIdx == SectionIdx && TEW->isPCRelativeRel(RelType)) { 818 int64_t Value = TEW->computeRelocation(SymOffset, RelOffset, RelType); 823 Addend = TEW->getDefaultAddendForRelTy(RelType, SymOffset); 832 ELFRelocation Rel(RelOffset, SymIdx, RelType, HasRelA, Addend); [all...] |
/external/swiftshader/third_party/LLVM/lib/MC/ |
ELFObjectWriter.h | 96 unsigned RelType, const MCSymbol *Sym, 98 : r_offset(RelocOffset), Index(Idx), Type(RelType),
|