Lines Matching refs:Ref

1481   DataRefImpl Ref;  in symbol_begin()  local
1482 Ref.d.a = 1; // Arbitrary non-zero value so that Ref.p is non-null in symbol_begin()
1483 Ref.d.b = 0; // Symbol index in symbol_begin()
1484 return BasicSymbolRef(Ref, this); in symbol_begin()
1488 DataRefImpl Ref; in symbol_end() local
1489 Ref.d.a = 1; // Arbitrary non-zero value so that Ref.p is non-null in symbol_end()
1490 Ref.d.b = Symbols.size(); // Symbol index in symbol_end()
1491 return BasicSymbolRef(Ref, this); in symbol_end()
1584 DataRefImpl Ref; in getSymbolSection() local
1585 Ref.d.a = getSymbolSectionIdImpl(Sym); in getSymbolSection()
1586 return section_iterator(SectionRef(Ref, this)); in getSymbolSection()
1681 relocation_iterator WasmObjectFile::section_rel_begin(DataRefImpl Ref) const { in section_rel_begin()
1683 RelocRef.d.a = Ref.d.a; in section_rel_begin()
1688 relocation_iterator WasmObjectFile::section_rel_end(DataRefImpl Ref) const { in section_rel_end()
1689 const WasmSection &Sec = getWasmSection(Ref); in section_rel_end()
1691 RelocRef.d.a = Ref.d.a; in section_rel_end()
1698 uint64_t WasmObjectFile::getRelocationOffset(DataRefImpl Ref) const { in getRelocationOffset()
1699 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset()
1703 symbol_iterator WasmObjectFile::getRelocationSymbol(DataRefImpl Ref) const { in getRelocationSymbol()
1704 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol()
1713 uint64_t WasmObjectFile::getRelocationType(DataRefImpl Ref) const { in getRelocationType()
1714 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType()
1719 DataRefImpl Ref, SmallVectorImpl<char> &Result) const { in getRelocationTypeName() argument
1720 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationTypeName()
1738 DataRefImpl Ref; in section_begin() local
1739 Ref.d.a = 0; in section_begin()
1740 return section_iterator(SectionRef(Ref, this)); in section_begin()
1744 DataRefImpl Ref; in section_end() local
1745 Ref.d.a = Sections.size(); in section_end()
1746 return section_iterator(SectionRef(Ref, this)); in section_end()
1767 const WasmSection &WasmObjectFile::getWasmSection(DataRefImpl Ref) const { in getWasmSection()
1768 assert(Ref.d.a < Sections.size()); in getWasmSection()
1769 return Sections[Ref.d.a]; in getWasmSection()
1778 WasmObjectFile::getWasmRelocation(const RelocationRef &Ref) const { in getWasmRelocation()
1779 return getWasmRelocation(Ref.getRawDataRefImpl()); in getWasmRelocation()
1783 WasmObjectFile::getWasmRelocation(DataRefImpl Ref) const { in getWasmRelocation()
1784 assert(Ref.d.a < Sections.size()); in getWasmRelocation()
1785 const WasmSection &Sec = Sections[Ref.d.a]; in getWasmRelocation()
1786 assert(Ref.d.b < Sec.Relocations.size()); in getWasmRelocation()
1787 return Sec.Relocations[Ref.d.b]; in getWasmRelocation()