Lines Matching refs:relocs
546 static bool relaxable(ArrayRef<Relocation> relocs, size_t i) { in relaxable() argument
547 return i + 1 != relocs.size() && relocs[i + 1].type == R_RISCV_RELAX; in relaxable()
601 const ArrayRef<Relocation> relocs = sec.relocs(); in relocateAlloc() local
602 for (size_t i = 0, size = relocs.size(); i != size; ++i) { in relocateAlloc()
603 const Relocation &rel = relocs[i]; in relocateAlloc()
628 tlsdescRelax = relaxable(relocs, i); in relocateAlloc()
639 tlsdescRelax = relaxable(relocs, i); in relocateAlloc()
659 const Relocation &rel1 = relocs[i + 1]; in relocateAlloc()
688 if (sec->relocs().size()) { in initSymbolAnchors()
690 std::make_unique<uint32_t[]>(sec->relocs().size()); in initSymbolAnchors()
692 std::make_unique<RelType[]>(sec->relocs().size()); in initSymbolAnchors()
816 const MutableArrayRef<Relocation> relocs = sec.relocs(); in relax() local
823 std::fill_n(aux.relocTypes.get(), relocs.size(), R_RISCV_NONE); in relax()
825 for (auto [i, r] : llvm::enumerate(relocs)) { in relax()
846 if (relaxable(relocs, i)) in relax()
853 if (relaxable(relocs, i)) in relax()
859 if (relaxable(relocs, i)) in relax()
864 tlsdescRelax = relaxable(relocs, i); in relax()
946 MutableArrayRef<Relocation> rels = sec->relocs(); in finalizeRelax()