/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | ELF.h | 52 template <class ELFT> 55 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT) 56 using uintX_t = typename ELFT::uint; 57 using Elf_Ehdr = typename ELFT::Ehdr; 58 using Elf_Shdr = typename ELFT::Shdr; 59 using Elf_Sym = typename ELFT::Sym; 60 using Elf_Dyn = typename ELFT::Dyn; 61 using Elf_Phdr = typename ELFT::Phdr; 62 using Elf_Rel = typename ELFT::Rel; 63 using Elf_Rela = typename ELFT::Rela; [all …]
|
D | ELFObjectFile.h | 204 template <class ELFT> class ELFObjectFile : public ELFObjectFileBase { 210 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT) 212 using uintX_t = typename ELFT::uint; 214 using Elf_Sym = typename ELFT::Sym; 215 using Elf_Shdr = typename ELFT::Shdr; 216 using Elf_Ehdr = typename ELFT::Ehdr; 217 using Elf_Rel = typename ELFT::Rel; 218 using Elf_Rela = typename ELFT::Rela; 219 using Elf_Dyn = typename ELFT::Dyn; 222 ELFObjectFile(MemoryBufferRef Object, ELFFile<ELFT> EF, [all …]
|
D | ELFTypes.h | 29 template <class ELFT> struct Elf_Ehdr_Impl; 30 template <class ELFT> struct Elf_Shdr_Impl; 31 template <class ELFT> struct Elf_Sym_Impl; 32 template <class ELFT> struct Elf_Dyn_Impl; 33 template <class ELFT> struct Elf_Phdr_Impl; 34 template <class ELFT, bool isRela> struct Elf_Rel_Impl; 35 template <class ELFT> struct Elf_Verdef_Impl; 36 template <class ELFT> struct Elf_Verdaux_Impl; 37 template <class ELFT> struct Elf_Verneed_Impl; 38 template <class ELFT> struct Elf_Vernaux_Impl; [all …]
|
/external/llvm/include/llvm/Object/ |
D | ELF.h | 36 template <class ELFT> 39 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT) 40 typedef typename std::conditional<ELFT::Is64Bits, 43 typedef Elf_Ehdr_Impl<ELFT> Elf_Ehdr; 44 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; 45 typedef Elf_Sym_Impl<ELFT> Elf_Sym; 46 typedef Elf_Dyn_Impl<ELFT> Elf_Dyn; 47 typedef Elf_Phdr_Impl<ELFT> Elf_Phdr; 48 typedef Elf_Rel_Impl<ELFT, false> Elf_Rel; 49 typedef Elf_Rel_Impl<ELFT, true> Elf_Rela; [all …]
|
D | ELFObjectFile.h | 185 template <class ELFT> class ELFObjectFile : public ELFObjectFileBase { 190 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT) 192 typedef typename ELFFile<ELFT>::uintX_t uintX_t; 194 typedef typename ELFFile<ELFT>::Elf_Sym Elf_Sym; 195 typedef typename ELFFile<ELFT>::Elf_Shdr Elf_Shdr; 196 typedef typename ELFFile<ELFT>::Elf_Ehdr Elf_Ehdr; 197 typedef typename ELFFile<ELFT>::Elf_Rel Elf_Rel; 198 typedef typename ELFFile<ELFT>::Elf_Rela Elf_Rela; 199 typedef typename ELFFile<ELFT>::Elf_Dyn Elf_Dyn; 202 ELFFile<ELFT> EF; [all …]
|
D | ELFTypes.h | 24 template <class ELFT> struct Elf_Ehdr_Impl; 25 template <class ELFT> struct Elf_Shdr_Impl; 26 template <class ELFT> struct Elf_Sym_Impl; 27 template <class ELFT> struct Elf_Dyn_Impl; 28 template <class ELFT> struct Elf_Phdr_Impl; 29 template <class ELFT, bool isRela> struct Elf_Rel_Impl; 30 template <class ELFT> struct Elf_Verdef_Impl; 31 template <class ELFT> struct Elf_Verdaux_Impl; 32 template <class ELFT> struct Elf_Verneed_Impl; 33 template <class ELFT> struct Elf_Vernaux_Impl; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 80 #define TYPEDEF_ELF_TYPES(ELFT) \ argument 81 using ELFO = ELFFile<ELFT>; \ 82 using Elf_Addr = typename ELFT::Addr; \ 83 using Elf_Shdr = typename ELFT::Shdr; \ 84 using Elf_Sym = typename ELFT::Sym; \ 85 using Elf_Dyn = typename ELFT::Dyn; \ 86 using Elf_Dyn_Range = typename ELFT::DynRange; \ 87 using Elf_Rel = typename ELFT::Rel; \ 88 using Elf_Rela = typename ELFT::Rela; \ 89 using Elf_Relr = typename ELFT::Relr; \ [all …]
|
D | DwarfCFIEHPrinter.h | 31 template <typename ELFT> 34 const object::ELFFile<ELFT> *Obj; 38 void printEHFrame(const typename ELFT::Shdr *EHFrameShdr) const; 41 PrinterContext(ScopedPrinter &W, const object::ELFFile<ELFT> *Obj) in PrinterContext() 60 template <typename ELFT> 61 void PrinterContext<ELFT>::printUnwindInformation() const { in printUnwindInformation() 62 const typename ELFT::Phdr *EHFramePhdr = nullptr; in printUnwindInformation() 95 template <typename ELFT> 96 void PrinterContext<ELFT>::printEHFrameHdr(uint64_t EHFrameHdrOffset, in printEHFrameHdr() 116 ELFT::TargetEndianness == support::endianness::little, in printEHFrameHdr() [all …]
|
/external/llvm/tools/llvm-readobj/ |
D | ELFDumper.cpp | 51 #define TYPEDEF_ELF_TYPES(ELFT) \ argument 52 typedef ELFFile<ELFT> ELFO; \ 70 template <class ELFT> class DumpStyle; 97 template<typename ELFT> 100 ELFDumper(const ELFFile<ELFT> *Obj, ScopedPrinter &Writer); 130 std::unique_ptr<DumpStyle<ELFT>> ELFDumperStyle; 131 typedef ELFFile<ELFT> ELFO; 246 template <class ELFT> 247 void ELFDumper<ELFT>::printSymbolsHelper(bool IsDynamic) const { in printSymbolsHelper() 272 template <typename ELFT> class DumpStyle { [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 22 template <class ELFT> 24 typedef object::Elf_Sym_Impl<ELFT> Elf_Sym; 25 typedef typename ELFT::Shdr Elf_Shdr; 26 typedef typename ELFT::Word Elf_Word; 27 typedef typename ELFT::Rel Elf_Rel; 28 typedef typename ELFT::Rela Elf_Rela; 41 const object::ELFFile<ELFT> &Obj; 64 ELFDumper(const object::ELFFile<ELFT> &O); 70 template <class ELFT> 71 ELFDumper<ELFT>::ELFDumper(const object::ELFFile<ELFT> &O) in ELFDumper() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 109 template <class ELFT> 111 typedef typename ELFT::Ehdr Elf_Ehdr; 112 typedef typename ELFT::Phdr Elf_Phdr; 113 typedef typename ELFT::Shdr Elf_Shdr; 114 typedef typename ELFT::Sym Elf_Sym; 115 typedef typename ELFT::Rel Elf_Rel; 116 typedef typename ELFT::Rela Elf_Rela; 117 typedef typename ELFT::Relr Elf_Relr; 118 typedef typename ELFT::Dyn Elf_Dyn; 186 template <class ELFT> [all …]
|
/external/llvm/tools/obj2yaml/ |
D | elf2yaml.cpp | 22 template <class ELFT> 24 typedef object::Elf_Sym_Impl<ELFT> Elf_Sym; 25 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; 26 typedef typename object::ELFFile<ELFT>::Elf_Word Elf_Word; 28 const object::ELFFile<ELFT> &Obj; 49 ELFDumper(const object::ELFFile<ELFT> &O); 55 template <class ELFT> 56 ELFDumper<ELFT>::ELFDumper(const object::ELFFile<ELFT> &O) in ELFDumper() 59 template <class ELFT> 60 ErrorOr<ELFYAML::Object *> ELFDumper<ELFT>::dump() { in dump() [all …]
|
/external/llvm/tools/yaml2obj/ |
D | yaml2elf.cpp | 99 template <class ELFT> 101 typedef typename object::ELFFile<ELFT>::Elf_Ehdr Elf_Ehdr; 102 typedef typename object::ELFFile<ELFT>::Elf_Shdr Elf_Shdr; 103 typedef typename object::ELFFile<ELFT>::Elf_Sym Elf_Sym; 104 typedef typename object::ELFFile<ELFT>::Elf_Rel Elf_Rel; 105 typedef typename object::ELFFile<ELFT>::Elf_Rela Elf_Rela; 158 template <class ELFT> 159 void ELFState<ELFT>::initELFHeader(Elf_Ehdr &Header) { in initELFHeader() 166 Header.e_ident[EI_CLASS] = ELFT::Is64Bits ? ELFCLASS64 : ELFCLASS32; in initELFHeader() 167 bool IsLittleEndian = ELFT::TargetEndianness == support::little; in initELFHeader() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objcopy/ |
D | Object.cpp | 65 template <class ELFT> void ELFWriter<ELFT>::writePhdr(const Segment &Seg) { in writePhdr() 66 using Elf_Phdr = typename ELFT::Phdr; in writePhdr() 87 template <class ELFT> void ELFWriter<ELFT>::writeShdr(const SectionBase &Sec) { in writeShdr() 90 typename ELFT::Shdr &Shdr = *reinterpret_cast<typename ELFT::Shdr *>(B); in writeShdr() 162 template <class ELFT> 163 void ELFSectionWriter<ELFT>::visit(const SectionIndexSection &Sec) { in visit() 165 auto *IndexesBuffer = reinterpret_cast<typename ELFT::Word *>(Buf); in visit() 343 template <class ELFT> 344 void ELFSectionWriter<ELFT>::visit(const SymbolTableSection &Sec) { in visit() 347 typename ELFT::Sym *Sym = reinterpret_cast<typename ELFT::Sym *>(Buf); in visit() [all …]
|
D | Object.h | 102 template <class ELFT> class ELFSectionWriter : public SectionWriter { 104 using Elf_Word = typename ELFT::Word; 105 using Elf_Rel = typename ELFT::Rel; 106 using Elf_Rela = typename ELFT::Rela; 121 template <class ELFT> friend class ELFSectionWriter; 191 template <class ELFT> class ELFWriter : public Writer { 193 using Elf_Shdr = typename ELFT::Shdr; 194 using Elf_Phdr = typename ELFT::Phdr; 195 using Elf_Ehdr = typename ELFT::Ehdr; 207 std::unique_ptr<ELFSectionWriter<ELFT>> SecWriter; [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/ |
D | ELF.cpp | 260 template <class ELFT> 261 Expected<std::vector<typename ELFT::Rela>> 262 ELFFile<ELFT>::decode_relrs(Elf_Relr_Range relrs) const { in decode_relrs() 300 typedef typename ELFT::uint Word; in decode_relrs() 339 template <class ELFT> 340 Expected<std::vector<typename ELFT::Rela>> 341 ELFFile<ELFT>::android_relas(const Elf_Shdr *Sec) const { in android_relas() 423 template <class ELFT> 424 const char *ELFFile<ELFT>::getDynamicTagAsString(unsigned Arch, in getDynamicTagAsString() 474 template <class ELFT> [all …]
|
D | ELFObjectFile.cpp | 40 template <class ELFT> 41 static Expected<std::unique_ptr<ELFObjectFile<ELFT>>> 43 auto Ret = ELFObjectFile<ELFT>::create(Object); in createPtr() 46 return make_unique<ELFObjectFile<ELFT>>(std::move(*Ret)); in createPtr()
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 24 template <class ELFT> 25 Expected<StringRef> getDynamicStrTab(const ELFFile<ELFT> *Elf) { in getDynamicStrTab() 26 typedef ELFFile<ELFT> ELFO; in getDynamicStrTab() 54 template <class ELFT> 55 void printDynamicSection(const ELFFile<ELFT> *Elf, StringRef Filename) { in printDynamicSection() 80 ELFT::Is64Bits ? "0x%016" PRIx64 "\n" : "0x%08" PRIx64 "\n"; in printDynamicSection() 95 template <class ELFT> void printProgramHeaders(const ELFFile<ELFT> *o) { in printProgramHeaders() 96 typedef ELFFile<ELFT> ELFO; in printProgramHeaders() 144 const char *Fmt = ELFT::Is64Bits ? "0x%016" PRIx64 " " : "0x%08" PRIx64 " "; in printProgramHeaders()
|
D | llvm-objdump.cpp | 445 template <class ELFT> 446 static std::error_code getRelocationValueString(const ELFObjectFile<ELFT> *Obj, in getRelocationValueString() 451 typedef typename ELFObjectFile<ELFT>::Elf_Sym Elf_Sym; in getRelocationValueString() 452 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr; in getRelocationValueString() 453 typedef typename ELFObjectFile<ELFT>::Elf_Rela Elf_Rela; in getRelocationValueString() 455 const ELFFile<ELFT> &EF = *Obj->getELFFile(); in getRelocationValueString() 1192 template <class ELFT> static void 1193 addDynamicElfSymbols(const ELFObjectFile<ELFT> *Obj, in addDynamicElfSymbols()
|
/external/llvm/tools/llvm-objdump/ |
D | ELFDump.cpp | 24 template <class ELFT> void printProgramHeaders(const ELFFile<ELFT> *o) { in printProgramHeaders() 25 typedef ELFFile<ELFT> ELFO; in printProgramHeaders() 54 const char *Fmt = ELFT::Is64Bits ? "0x%016" PRIx64 " " : "0x%08" PRIx64 " "; in printProgramHeaders()
|
D | llvm-objdump.cpp | 486 template <class ELFT> 487 static std::error_code getRelocationValueString(const ELFObjectFile<ELFT> *Obj, in getRelocationValueString() 492 typedef typename ELFObjectFile<ELFT>::Elf_Sym Elf_Sym; in getRelocationValueString() 493 typedef typename ELFObjectFile<ELFT>::Elf_Shdr Elf_Shdr; in getRelocationValueString() 494 typedef typename ELFObjectFile<ELFT>::Elf_Rela Elf_Rela; in getRelocationValueString() 496 const ELFFile<ELFT> &EF = *Obj->getELFFile(); in getRelocationValueString()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 58 template <class ELFT> class DyldELFObject : public ELFObjectFile<ELFT> { 59 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT) 61 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; 62 typedef Elf_Sym_Impl<ELFT> Elf_Sym; 63 typedef Elf_Rel_Impl<ELFT, false> Elf_Rel; 64 typedef Elf_Rel_Impl<ELFT, true> Elf_Rela; 66 typedef Elf_Ehdr_Impl<ELFT> Elf_Ehdr; 68 typedef typename ELFT::uint addr_type; 70 DyldELFObject(ELFObjectFile<ELFT> &&Obj); 82 return (isa<ELFObjectFile<ELFT>>(v) && in classof() [all …]
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldELF.cpp | 35 template <class ELFT> class DyldELFObject : public ELFObjectFile<ELFT> { 36 LLVM_ELF_IMPORT_TYPES_ELFT(ELFT) 38 typedef Elf_Shdr_Impl<ELFT> Elf_Shdr; 39 typedef Elf_Sym_Impl<ELFT> Elf_Sym; 40 typedef Elf_Rel_Impl<ELFT, false> Elf_Rel; 41 typedef Elf_Rel_Impl<ELFT, true> Elf_Rela; 43 typedef Elf_Ehdr_Impl<ELFT> Elf_Ehdr; 45 typedef typename ELFDataTypeTypedefHelper<ELFT>::value_type addr_type; 56 return (isa<ELFObjectFile<ELFT>>(v) && in classof() 57 classof(cast<ELFObjectFile<ELFT>>(v))); in classof() [all …]
|
/external/clang/test/CodeGenCXX/ |
D | crash.cpp | 26 template <class ELFT> void finalizeDefaultAtomValues() { in finalizeDefaultAtomValues()
|