Lines Matching refs:Ref
1169 DataRefImpl Ref; in symbol_begin() local
1170 Ref.d.a = 0; in symbol_begin()
1171 return BasicSymbolRef(Ref, this); in symbol_begin()
1175 DataRefImpl Ref; in symbol_end() local
1176 Ref.d.a = Symbols.size(); in symbol_end()
1177 return BasicSymbolRef(Ref, this); in symbol_end()
1257 DataRefImpl Ref; in getSymbolSection() local
1260 Ref.d.a = CodeSection; in getSymbolSection()
1263 Ref.d.a = GlobalSection; in getSymbolSection()
1266 Ref.d.a = DataSection; in getSymbolSection()
1269 Ref.d.a = Sym.Info.ElementIndex; in getSymbolSection()
1272 Ref.d.a = EventSection; in getSymbolSection()
1277 return section_iterator(SectionRef(Ref, this)); in getSymbolSection()
1355 relocation_iterator WasmObjectFile::section_rel_begin(DataRefImpl Ref) const { in section_rel_begin()
1357 RelocRef.d.a = Ref.d.a; in section_rel_begin()
1362 relocation_iterator WasmObjectFile::section_rel_end(DataRefImpl Ref) const { in section_rel_end()
1363 const WasmSection &Sec = getWasmSection(Ref); in section_rel_end()
1365 RelocRef.d.a = Ref.d.a; in section_rel_end()
1372 uint64_t WasmObjectFile::getRelocationOffset(DataRefImpl Ref) const { in getRelocationOffset()
1373 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationOffset()
1377 symbol_iterator WasmObjectFile::getRelocationSymbol(DataRefImpl Ref) const { in getRelocationSymbol()
1378 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationSymbol()
1387 uint64_t WasmObjectFile::getRelocationType(DataRefImpl Ref) const { in getRelocationType()
1388 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationType()
1393 DataRefImpl Ref, SmallVectorImpl<char> &Result) const { in getRelocationTypeName() argument
1394 const wasm::WasmRelocation &Rel = getWasmRelocation(Ref); in getRelocationTypeName()
1412 DataRefImpl Ref; in section_begin() local
1413 Ref.d.a = 0; in section_begin()
1414 return section_iterator(SectionRef(Ref, this)); in section_begin()
1418 DataRefImpl Ref; in section_end() local
1419 Ref.d.a = Sections.size(); in section_end()
1420 return section_iterator(SectionRef(Ref, this)); in section_end()
1437 const WasmSection &WasmObjectFile::getWasmSection(DataRefImpl Ref) const { in getWasmSection()
1438 assert(Ref.d.a < Sections.size()); in getWasmSection()
1439 return Sections[Ref.d.a]; in getWasmSection()
1448 WasmObjectFile::getWasmRelocation(const RelocationRef &Ref) const { in getWasmRelocation()
1449 return getWasmRelocation(Ref.getRawDataRefImpl()); in getWasmRelocation()
1453 WasmObjectFile::getWasmRelocation(DataRefImpl Ref) const { in getWasmRelocation()
1454 assert(Ref.d.a < Sections.size()); in getWasmRelocation()
1455 const WasmSection &Sec = Sections[Ref.d.a]; in getWasmRelocation()
1456 assert(Ref.d.b < Sec.Relocations.size()); in getWasmRelocation()
1457 return Sec.Relocations[Ref.d.b]; in getWasmRelocation()