Optimize inlining small C functions and add -inline-cfuncs (#6815)

This commit is contained in:
Jose Drowne
2025-12-21 13:14:50 -05:00
committed by GitHub
parent e6877e83fd
commit c0a0f0dab9
22 changed files with 509 additions and 7 deletions
+2
View File
@@ -1528,6 +1528,8 @@ void V3Options::parseOptsList(FileLine* fl, const string& optdir, int argc,
}).notForRerun();
DECL_OPTION("-if-depth", Set, &m_ifDepth);
DECL_OPTION("-ignc", OnOff, &m_ignc).undocumented();
DECL_OPTION("-inline-cfuncs", Set, &m_inlineCFuncs);
DECL_OPTION("-inline-cfuncs-product", Set, &m_inlineCFuncsProduct);
DECL_OPTION("-inline-mult", Set, &m_inlineMult);
DECL_OPTION("-instr-count-dpi", CbVal, [this, fl](int val) {
m_instrCountDpi = val;