Home | History | Annotate | Download | only in gold

Lines Matching refs:icf

0 // icf.cc -- Identical Code Folding.
107 // ICF in safe mode folds only ctors and dtors if their function pointers can
135 // How to run : --icf=[safe|all|none]
136 // Optional parameters : --icf-iterations <num> --print-icf-sections
144 #include "icf.h"
164 // first time before the first iteration of icf.
265 // to ICF sections.
267 // SECTION_CONTENTS : Store the section's text and relocs to non-ICF
298 Icf::Reloc_info_list& reloc_info_list =
299 symtab->icf()->reloc_info_list();
301 Icf::Reloc_info_list::iterator it_reloc_info_list =
311 Icf::Sections_reachable_info &v =
314 const Icf::Symbol_info &s = (it_reloc_info_list->second).symbol_info;
316 Icf::Addend_info &a = (it_reloc_info_list->second).addend_info;
318 const Icf::Offset_info &o = (it_reloc_info_list->second).offset_info;
319 const Icf::Reloc_addend_size_info &reloc_addend_size_info =
321 Icf::Sections_reachable_info::iterator it_v = v.begin();
322 Icf::Symbol_info::const_iterator it_s = s.begin();
323 Icf::Addend_info::iterator it_a = a.begin();
324 Icf::Offset_info::const_iterator it_o = o.begin();
325 Icf::Reloc_addend_size_info::const_iterator it_addend_size =
394 Icf::Uniq_secn_id_map& section_id_map =
395 symtab->icf()->section_to_int_map();
396 Icf::Uniq_secn_id_map::iterator section_id_map_it =
579 // to ICF sections.
584 // SECTION_CONTENTS : Store the section's text and relocs to non-ICF
727 // During safe icf (--icf=safe), only fold functions that are ctors or dtors.
745 // This is the main ICF function called in gold.cc. This does the
750 Icf::find_identical_sections(const Input_objects* input_objects,
782 // With --icf=safe, check if the mangled function name is a ctor
805 // Default number of iterations to run ICF is 2.
824 gold_info(_("%s: ICF
827 gold_info(_("%s: ICF stopped after %u iteration(s)"),
863 Icf::unfold_section(Object* obj, unsigned int shndx)
880 Icf::is_section_folded(Object* obj, unsigned int shndx)
894 Icf::get_folded_section(Object* dup_obj, unsigned int dup_shndx)