Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/MachO/
H A DConfig.h67 enum class ICFLevel { enum
195 ICFLevel icfLevel = ICFLevel::none;
H A DDriver.cpp845 static ICFLevel getICFLevel(const ArgList &args) { in getICFLevel()
847 auto icfLevel = StringSwitch<ICFLevel>(icfLevelStr) in getICFLevel()
848 .Cases("none", "", ICFLevel::none) in getICFLevel()
849 .Case("safe", ICFLevel::safe) in getICFLevel()
850 .Case("all", ICFLevel::all) in getICFLevel()
851 .Default(ICFLevel::unknown); in getICFLevel()
852 if (icfLevel == ICFLevel::unknown) { in getICFLevel()
855 icfLevel = ICFLevel::none; in getICFLevel()
2066 if (config->icfLevel != ICFLevel::none) { in link()
2067 if (config->icfLevel == ICFLevel::safe) in link()
H A DLTO.cpp44 c.Options.EmitAddrsig = config->icfLevel == ICFLevel::safe; in openFile()
H A DInputFiles.cpp309 if (config->icfLevel == ICFLevel::none) in getRecordSize()
H A DSyntheticSections.cpp824 if (config->icfLevel == ICFLevel::none) in initialize()
/freebsd/contrib/llvm-project/lld/COFF/
H A DConfig.h98 enum class ICFLevel { enum
126 ICFLevel doICF = ICFLevel::None;
H A DDriver.cpp1848 std::optional<ICFLevel> icfLevel; in linkerMain()
1850 icfLevel = ICFLevel::None; in linkerMain()
1863 icfLevel = ICFLevel::All; in linkerMain()
1865 icfLevel = ICFLevel::Safe; in linkerMain()
1867 icfLevel = ICFLevel::None; in linkerMain()
1897 icfLevel = doGC ? ICFLevel::All : ICFLevel::None; in linkerMain()
1901 (tailMerge == 1 && config->doICF != ICFLevel::None) || tailMerge == 2; in linkerMain()
2032 !config->doGC && config->doICF == ICFLevel::None && in linkerMain()
2074 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/contrib/llvm-project/lld/ELF/
H A DConfig.h69 enum class ICFLevel { None, Safe, All }; enum
344 ICFLevel icf;
H A DDriver.cpp440 if (config->icf != ICFLevel::None) in checkOptions()
825 static ICFLevel getICF(opt::InputArgList &args) { in getICF()
828 return ICFLevel::None; in getICF()
830 return ICFLevel::Safe; in getICF()
831 return ICFLevel::All; in getICF()
2366 if (config->icf == ICFLevel::Safe || !(d->section->flags & SHF_EXECINSTR)) in markAddrsig()
2387 if (config->icf == ICFLevel::All && config->ignoreDataAddressEquality) in findKeepUniqueSections()
3174 if (config->icf != ICFLevel::None) { in link()
H A DInputFiles.cpp802 else if (config->icf == ICFLevel::Safe) in initializeSections()