Lines Matching refs:Ref
1644 DataRefImpl Ref; in symbol_begin() local
1645 Ref.d.a = 1; // Arbitrary non-zero value so that Ref.p is non-null in symbol_begin()
1646 Ref.d.b = 0; // Symbol index in symbol_begin()
1647 return BasicSymbolRef(Ref, this); in symbol_begin()
1651 DataRefImpl Ref; in symbol_end() local
1652 Ref.d.a = 1; // Arbitrary non-zero value so that Ref.p is non-null in symbol_end()
1653 Ref.d.b = Symbols.size(); // Symbol index in symbol_end()
1654 return BasicSymbolRef(Ref, this); in symbol_end()
1759 DataRefImpl Ref; in getSymbolSection() local
1760 Ref.d.a = getSymbolSectionIdImpl(Sym); in getSymbolSection()
1761 return section_iterator(SectionRef(Ref, this)); in getSymbolSection()
1838 relocation_iterator WasmObjectFile::section_rel_begin(DataRefImpl Ref) const { in section_rel_begin()
1840 RelocRef.d.a = Ref.d.a; in section_rel_begin()
1845 relocation_iterator WasmObjectFile::section_rel_end(DataRefImpl Ref) const { in section_rel_end()
1846 const WasmSection &Sec = getWasmSection(Ref); in section_rel_end()
1848 RelocRef.d.a = Ref.d.a; in section_rel_end()
1855 uint64_t WasmObjectFile::getRelocationOffset(DataRefImpl Ref) const { in getRelocationOffset()
1856 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset()
1860 symbol_iterator WasmObjectFile::getRelocationSymbol(DataRefImpl Ref) const { in getRelocationSymbol()
1861 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol()
1870 uint64_t WasmObjectFile::getRelocationType(DataRefImpl Ref) const { in getRelocationType()
1871 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType()
1876 DataRefImpl Ref, SmallVectorImpl<char> &Result) const { in getRelocationTypeName() argument
1877 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationTypeName()
1895 DataRefImpl Ref; in section_begin() local
1896 Ref.d.a = 0; in section_begin()
1897 return section_iterator(SectionRef(Ref, this)); in section_begin()
1901 DataRefImpl Ref; in section_end() local
1902 Ref.d.a = Sections.size(); in section_end()
1903 return section_iterator(SectionRef(Ref, this)); in section_end()
1924 const WasmSection &WasmObjectFile::getWasmSection(DataRefImpl Ref) const { in getWasmSection()
1925 assert(Ref.d.a < Sections.size()); in getWasmSection()
1926 return Sections[Ref.d.a]; in getWasmSection()
1935 WasmObjectFile::getWasmRelocation(const RelocationRef &Ref) const { in getWasmRelocation()
1936 return getWasmRelocation(Ref.getRawDataRefImpl()); in getWasmRelocation()
1940 WasmObjectFile::getWasmRelocation(DataRefImpl Ref) const { in getWasmRelocation()
1941 assert(Ref.d.a < Sections.size()); in getWasmRelocation()
1942 const WasmSection &Sec = Sections[Ref.d.a]; in getWasmRelocation()
1943 assert(Ref.d.b < Sec.Relocations.size()); in getWasmRelocation()
1944 return Sec.Relocations[Ref.d.b]; in getWasmRelocation()