Home
last modified time | relevance | path

Searched refs:DataRefImpl (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachO.h42 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
43 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
44 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const;
45 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
46 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
47 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
48 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const;
49 virtual error_code isSymbolGlobal(DataRefImpl Symb, bool &Res) const;
50 virtual error_code getSymbolType(DataRefImpl Symb, SymbolRef::SymbolType &Res) const;
52 virtual error_code getSectionNext(DataRefImpl Sec, SectionRef &Res) const;
[all …]
DCOFF.h90 const coff_symbol *toSymb(DataRefImpl Symb) const;
91 const coff_section *toSec(DataRefImpl Sec) const;
92 const coff_relocation *toRel(DataRefImpl Rel) const;
95 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
96 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
97 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const;
98 virtual error_code getSymbolAddress(DataRefImpl Symb, uint64_t &Res) const;
99 virtual error_code getSymbolSize(DataRefImpl Symb, uint64_t &Res) const;
100 virtual error_code getSymbolNMTypeChar(DataRefImpl Symb, char &Res) const;
101 virtual error_code isSymbolInternal(DataRefImpl Symb, bool &Res) const;
[all …]
DObjectFile.h29 union DataRefImpl { union
75 static bool operator ==(const DataRefImpl &a, const DataRefImpl &b) {
78 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0;
85 DataRefImpl SymbolPimpl;
100 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
124 DataRefImpl getRawDataRefImpl() const;
131 DataRefImpl RelocationPimpl;
139 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
167 DataRefImpl SectionPimpl;
175 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
[all …]
/external/llvm/include/llvm/Object/
DObjectFile.h41 DataRefImpl RelocationPimpl;
47 RelocationRef(DataRefImpl RelocationP, const ObjectFile *Owner);
62 DataRefImpl getRawDataRefImpl() const;
71 DataRefImpl SectionPimpl;
77 SectionRef(DataRefImpl SectionP, const ObjectFile *Owner);
109 DataRefImpl getRawDataRefImpl() const;
130 SymbolRef(DataRefImpl SymbolP, const ObjectFile *Owner);
198 virtual Expected<StringRef> getSymbolName(DataRefImpl Symb) const = 0;
200 DataRefImpl Symb) const override;
201 virtual Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const = 0;
[all …]
DELFObjectFile.h56 virtual uint64_t getSymbolSize(DataRefImpl Symb) const = 0;
57 virtual uint8_t getSymbolOther(DataRefImpl Symb) const = 0;
58 virtual uint8_t getSymbolELFType(DataRefImpl Symb) const = 0;
60 virtual uint32_t getSectionType(DataRefImpl Sec) const = 0;
61 virtual uint64_t getSectionFlags(DataRefImpl Sec) const = 0;
63 virtual ErrorOr<int64_t> getRelocationAddend(DataRefImpl Rel) const = 0;
187 uint64_t getSymbolSize(DataRefImpl Sym) const override;
208 void moveSymbolNext(DataRefImpl &Symb) const override;
209 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
210 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
[all …]
DMachO.h30 DataRefImpl DicePimpl;
36 DiceRef(DataRefImpl DiceP, const ObjectFile *Owner);
47 DataRefImpl getRawDataRefImpl() const;
199 void moveSymbolNext(DataRefImpl &Symb) const override;
201 uint64_t getNValue(DataRefImpl Sym) const;
202 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
205 std::error_code getIndirectName(DataRefImpl Symb, StringRef &Res) const;
208 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
209 uint32_t getSymbolAlignment(DataRefImpl Symb) const override;
210 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
[all …]
DSymbolicFile.h24 union DataRefImpl { union
31 DataRefImpl() { std::memset(this, 0, sizeof(DataRefImpl)); } in DataRefImpl() function
35 OStream& operator<<(OStream &OS, const DataRefImpl &D) {
40 inline bool operator==(const DataRefImpl &a, const DataRefImpl &b) {
43 return std::memcmp(&a, &b, sizeof(DataRefImpl)) == 0;
46 inline bool operator!=(const DataRefImpl &a, const DataRefImpl &b) {
50 inline bool operator<(const DataRefImpl &a, const DataRefImpl &b) {
53 return std::memcmp(&a, &b, sizeof(DataRefImpl)) < 0;
87 DataRefImpl SymbolPimpl;
109 BasicSymbolRef(DataRefImpl SymbolP, const SymbolicFile *Owner);
[all …]
DCOFFImportFile.h36 void moveSymbolNext(DataRefImpl &Symb) const override { ++Symb.p; } in moveSymbolNext()
39 DataRefImpl Symb) const override { in printSymbolName()
46 uint32_t getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags()
51 return BasicSymbolRef(DataRefImpl(), this); in symbol_begin_impl()
55 DataRefImpl Symb; in symbol_end_impl()
DCOFF.h648 const coff_symbol_type *toSymb(DataRefImpl Symb) const;
649 const coff_section *toSec(DataRefImpl Sec) const;
650 const coff_relocation *toRel(DataRefImpl Rel) const;
722 void moveSymbolNext(DataRefImpl &Symb) const override;
723 Expected<StringRef> getSymbolName(DataRefImpl Symb) const override;
724 Expected<uint64_t> getSymbolAddress(DataRefImpl Symb) const override;
725 uint64_t getSymbolValueImpl(DataRefImpl Symb) const override;
726 uint64_t getCommonSymbolSizeImpl(DataRefImpl Symb) const override;
727 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
728 Expected<SymbolRef::Type> getSymbolType(DataRefImpl Symb) const override;
[all …]
DIRObjectFile.h36 void moveSymbolNext(DataRefImpl &Symb) const override;
38 DataRefImpl Symb) const override;
39 uint32_t getSymbolFlags(DataRefImpl Symb) const override;
40 GlobalValue *getSymbolGV(DataRefImpl Symb);
41 const GlobalValue *getSymbolGV(DataRefImpl Symb) const { in getSymbolGV()
DModuleSummaryIndexObjectFile.h41 void moveSymbolNext(DataRefImpl &Symb) const override { in moveSymbolNext()
45 DataRefImpl Symb) const override { in printSymbolName()
49 uint32_t getSymbolFlags(DataRefImpl Symb) const override { in getSymbolFlags()
/external/swiftshader/third_party/LLVM/lib/Object/
DCOFFObjectFile.cpp54 const coff_symbol *COFFObjectFile::toSymb(DataRefImpl Symb) const { in toSymb()
72 const coff_section *COFFObjectFile::toSec(DataRefImpl Sec) const { in toSec()
89 error_code COFFObjectFile::getSymbolNext(DataRefImpl Symb, in getSymbolNext()
98 error_code COFFObjectFile::getSymbolName(DataRefImpl Symb, in getSymbolName()
118 error_code COFFObjectFile::getSymbolOffset(DataRefImpl Symb, in getSymbolOffset()
136 error_code COFFObjectFile::getSymbolAddress(DataRefImpl Symb, in getSymbolAddress()
156 error_code COFFObjectFile::getSymbolType(DataRefImpl Symb, in getSymbolType()
178 error_code COFFObjectFile::isSymbolGlobal(DataRefImpl Symb, in isSymbolGlobal()
185 error_code COFFObjectFile::getSymbolSize(DataRefImpl Symb, in getSymbolSize()
206 error_code COFFObjectFile::getSymbolNMTypeChar(DataRefImpl Symb, in getSymbolNMTypeChar()
[all …]
DMachOObjectFile.cpp35 DataRefImpl DRI; in MachOObjectFile()
58 void MachOObjectFile::moveToNextSymbol(DataRefImpl &DRI) const { in moveToNextSymbol()
74 void MachOObjectFile::getSymbolTableEntry(DataRefImpl DRI, in getSymbolTableEntry()
89 void MachOObjectFile::getSymbol64TableEntry(DataRefImpl DRI, in getSymbol64TableEntry()
105 error_code MachOObjectFile::getSymbolNext(DataRefImpl DRI, in getSymbolNext()
113 error_code MachOObjectFile::getSymbolName(DataRefImpl DRI, in getSymbolName()
127 error_code MachOObjectFile::getSymbolOffset(DataRefImpl DRI, in getSymbolOffset()
148 error_code MachOObjectFile::getSymbolAddress(DataRefImpl DRI, in getSymbolAddress()
162 error_code MachOObjectFile::getSymbolSize(DataRefImpl DRI, in getSymbolSize()
168 error_code MachOObjectFile::getSymbolNMTypeChar(DataRefImpl DRI, in getSymbolNMTypeChar()
[all …]
DELFObjectFile.cpp306 const Elf_Shdr *getRelSection(DataRefImpl Rel) const { in getRelSection()
310 void validateSymbol(DataRefImpl Symb) const;
311 bool isRelocationHasAddend(DataRefImpl Rel) const;
316 const Elf_Sym *getSymbol(DataRefImpl Symb) const;
317 const Elf_Shdr *getSection(DataRefImpl index) const;
319 const Elf_Rel *getRel(DataRefImpl Rel) const;
320 const Elf_Rela *getRela(DataRefImpl Rela) const;
326 virtual error_code getSymbolNext(DataRefImpl Symb, SymbolRef &Res) const;
327 virtual error_code getSymbolName(DataRefImpl Symb, StringRef &Res) const;
328 virtual error_code getSymbolOffset(DataRefImpl Symb, uint64_t &Res) const;
[all …]
/external/llvm/lib/Object/
DMachOObjectFile.cpp95 getSymbolTableEntryBase(const MachOObjectFile *O, DataRefImpl DRI) { in getSymbolTableEntryBase()
162 DataRefImpl Sec) { in getSectionFlags()
442 void MachOObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
449 Expected<StringRef> MachOObjectFile::getSymbolName(DataRefImpl Symb) const { in getSymbolName()
461 DataRefImpl DRI = Sec.getRawDataRefImpl(); in getSectionType()
466 uint64_t MachOObjectFile::getNValue(DataRefImpl Sym) const { in getNValue()
477 std::error_code MachOObjectFile::getIndirectName(DataRefImpl Symb, in getIndirectName()
491 uint64_t MachOObjectFile::getSymbolValueImpl(DataRefImpl Sym) const { in getSymbolValueImpl()
495 Expected<uint64_t> MachOObjectFile::getSymbolAddress(DataRefImpl Sym) const { in getSymbolAddress()
499 uint32_t MachOObjectFile::getSymbolAlignment(DataRefImpl DRI) const { in getSymbolAlignment()
[all …]
DCOFFObjectFile.cpp100 const coff_symbol_type *COFFObjectFile::toSymb(DataRefImpl Ref) const { in toSymb()
116 const coff_section *COFFObjectFile::toSec(DataRefImpl Ref) const { in toSec()
132 void COFFObjectFile::moveSymbolNext(DataRefImpl &Ref) const { in moveSymbolNext()
147 Expected<StringRef> COFFObjectFile::getSymbolName(DataRefImpl Ref) const { in getSymbolName()
156 uint64_t COFFObjectFile::getSymbolValueImpl(DataRefImpl Ref) const { in getSymbolValueImpl()
160 Expected<uint64_t> COFFObjectFile::getSymbolAddress(DataRefImpl Ref) const { in getSymbolAddress()
181 Expected<SymbolRef::Type> COFFObjectFile::getSymbolType(DataRefImpl Ref) const { in getSymbolType()
204 uint32_t COFFObjectFile::getSymbolFlags(DataRefImpl Ref) const { in getSymbolFlags()
232 uint64_t COFFObjectFile::getCommonSymbolSizeImpl(DataRefImpl Ref) const { in getCommonSymbolSizeImpl()
238 COFFObjectFile::getSymbolSection(DataRefImpl Ref) const { in getSymbolSection()
[all …]
DIRObjectFile.cpp128 static GlobalValue *getGV(DataRefImpl &Symb) { in getGV()
156 static unsigned getAsmSymIndex(DataRefImpl Symb) { in getAsmSymIndex()
163 void IRObjectFile::moveSymbolNext(DataRefImpl &Symb) const { in moveSymbolNext()
201 DataRefImpl Symb) const { in printSymbolName()
221 uint32_t IRObjectFile::getSymbolFlags(DataRefImpl Symb) const { in getSymbolFlags()
259 GlobalValue *IRObjectFile::getSymbolGV(DataRefImpl Symb) { return getGV(Symb); } in getSymbolGV()
265 DataRefImpl Ret; in symbol_begin_impl()
271 DataRefImpl Ret; in symbol_end_impl()
DObjectFile.cpp41 uint64_t ObjectFile::getSymbolValue(DataRefImpl Ref) const { in getSymbolValue()
51 DataRefImpl Symb) const { in printSymbolName()
59 uint32_t ObjectFile::getSymbolAlignment(DataRefImpl DRI) const { return 0; } in getSymbolAlignment()
61 bool ObjectFile::isSectionBitcode(DataRefImpl Sec) const { in isSectionBitcode()
68 section_iterator ObjectFile::getRelocatedSection(DataRefImpl Sec) const { in getRelocatedSection()
/external/llvm/tools/llvm-objdump/
Dllvm-objdump.cpp490 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getRelocationValueString()
722 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getRelocationValueString()
749 DataRefImpl RelNext = Rel; in getRelocationValueString()
798 DataRefImpl RelNext = Rel; in getRelocationValueString()
820 DataRefImpl RelNext = Rel; in getRelocationValueString()
860 DataRefImpl RelNext = Rel; in getRelocationValueString()
918 DataRefImpl Rel = RelRef.getRawDataRefImpl(); in getHidden()
930 DataRefImpl RelPrev = Rel; in getHidden()
1104 DataRefImpl DR = Section.getRawDataRefImpl(); in DisassembleObject()
1464 DataRefImpl DR = Section->getRawDataRefImpl(); in PrintSymbolTable()
DMachODump.cpp807 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpLiteralPointerSection()
829 DataRefImpl Rel; in DumpLiteralPointerSection()
898 DataRefImpl Ref = Sect->getRawDataRefImpl(); in DumpLiteralPointerSection()
1079 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpSectionContents()
1175 DataRefImpl Ref = Section.getRawDataRefImpl(); in DumpInfoPlistSectionContents()
1843 DataRefImpl Rel; in SymbolizerGetOpInfo()
1860 DataRefImpl RelNext = Rel; in SymbolizerGetOpInfo()
1931 DataRefImpl Rel; in SymbolizerGetOpInfo()
1967 DataRefImpl RelNext = Rel; in SymbolizerGetOpInfo()
2011 DataRefImpl Rel; in SymbolizerGetOpInfo()
[all …]
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp329 DataRefImpl SymDRI = I->Sym.getRawDataRefImpl(); in darwinPrintSymbol()
430 DataRefImpl Ref = Sec->getRawDataRefImpl(); in darwinPrintSymbol()
574 DataRefImpl SymDRI = I->Sym.getRawDataRefImpl(); in darwinPrintStab()
843 DataRefImpl Symb = I->getRawDataRefImpl(); in getSymbolNMTypeChar()
862 DataRefImpl Ref = Sec->getRawDataRefImpl(); in getSymbolNMTypeChar()
940 DataRefImpl Ref = S.getRawDataRefImpl(); in getNsectForSegSect()
957 DataRefImpl Symb = Sym.getRawDataRefImpl(); in getNsectInMachO()
/external/llvm/tools/llvm-readobj/
DMachODumper.cpp305 DataRefImpl Sec, in getSection()
366 DataRefImpl DRI, in getSymbol()
442 DataRefImpl DR = Section.getRawDataRefImpl(); in printSections()
534 DataRefImpl DR = Reloc.getRawDataRefImpl(); in printRelocation()
/external/llvm/tools/dsymutil/
DMachODebugMapParser.cpp151 const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); in parseOneBinary()
275 const DataRefImpl &DRI = Symbol.getRawDataRefImpl(); in dumpOneBinaryStab()
DMachOUtils.cpp187 object::DataRefImpl DRI = Symbol.getRawDataRefImpl(); in transferSymbols()
194 object::DataRefImpl DRI = Symbol.getRawDataRefImpl(); in transferSymbols()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldELF.cpp78 DataRefImpl ShdrRef = Sec.getRawDataRefImpl(); in updateSectionAddress()
127 DataRefImpl ShdrRef = Sec.getRawDataRefImpl(); in createRTDyldELFObject()

12