Home
last modified time | relevance | path

Searched refs:ICFLevel (Results 1 – 10 of 10) sorted by relevance

/freebsd-14.2/contrib/llvm-project/lld/MachO/
H A DConfig.h67 enum class ICFLevel { enum
194 ICFLevel icfLevel = ICFLevel::none;
H A DDriver.cpp810 static ICFLevel getICFLevel(const ArgList &args) { in getICFLevel()
812 auto icfLevel = StringSwitch<ICFLevel>(icfLevelStr) in getICFLevel()
813 .Cases("none", "", ICFLevel::none) in getICFLevel()
814 .Case("safe", ICFLevel::safe) in getICFLevel()
815 .Case("all", ICFLevel::all) in getICFLevel()
816 .Default(ICFLevel::unknown); in getICFLevel()
817 if (icfLevel == ICFLevel::unknown) { in getICFLevel()
820 icfLevel = ICFLevel::none; in getICFLevel()
1982 if (config->icfLevel != ICFLevel::none) { in link()
1983 if (config->icfLevel == ICFLevel::safe) in link()
H A DLTO.cpp44 c.Options.EmitAddrsig = config->icfLevel == ICFLevel::safe; in createConfig()
H A DInputFiles.cpp309 if (config->icfLevel == ICFLevel::none) in getRecordSize()
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DConfig.h98 enum class ICFLevel { enum
126 ICFLevel doICF = ICFLevel::None;
H A DDriver.cpp1856 std::optional<ICFLevel> icfLevel; in linkerMain()
1858 icfLevel = ICFLevel::None; in linkerMain()
1871 icfLevel = ICFLevel::All; in linkerMain()
1873 icfLevel = ICFLevel::Safe; in linkerMain()
1875 icfLevel = ICFLevel::None; in linkerMain()
1905 icfLevel = doGC ? ICFLevel::All : ICFLevel::None; in linkerMain()
1909 (tailMerge == 1 && config->doICF != ICFLevel::None) || tailMerge == 2; in linkerMain()
2039 !config->doGC && config->doICF == ICFLevel::None && in linkerMain()
2081 if (config->incremental && config->doICF != ICFLevel::None) { in linkerMain()
2643 if (config->doICF != ICFLevel::None) { in linkerMain()
H A DICF.cpp87 if ((ctx.config.doICF == ICFLevel::All) && in isEligible()
/freebsd-14.2/contrib/llvm-project/lld/ELF/
H A DConfig.h69 enum class ICFLevel { None, Safe, All }; enum
328 ICFLevel icf;
H A DDriver.cpp438 if (config->icf != ICFLevel::None) in checkOptions()
796 static ICFLevel getICF(opt::InputArgList &args) { in getICF()
799 return ICFLevel::None; in getICF()
801 return ICFLevel::Safe; in getICF()
802 return ICFLevel::All; in getICF()
2234 if (config->icf == ICFLevel::Safe || !(d->section->flags & SHF_EXECINSTR)) in markAddrsig()
2255 if (config->icf == ICFLevel::All && config->ignoreDataAddressEquality) in findKeepUniqueSections()
3038 if (config->icf != ICFLevel::None) { in link()
H A DInputFiles.cpp769 else if (config->icf == ICFLevel::Safe) in initializeSections()