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