diff options
author | Nathan Sidwell <nathan@acm.org> | 2020-12-01 11:39:38 -0800 |
---|---|---|
committer | Nathan Sidwell <nathan@acm.org> | 2020-12-01 11:39:38 -0800 |
commit | 6e3603e62ac3a811e0a1032821b8d045b020a9c1 (patch) | |
tree | 0159836e243d72d753a57ecd296f81ff5b202f09 /gcc | |
parent | 10ee6da64c574947e67205fa0c4d6a76bf83479b (diff) | |
download | gcc-6e3603e62ac3a811e0a1032821b8d045b020a9c1.zip gcc-6e3603e62ac3a811e0a1032821b8d045b020a9c1.tar.gz gcc-6e3603e62ac3a811e0a1032821b8d045b020a9c1.tar.bz2 |
C++ Module parameters & timers
Here is the new parameter and instrumentation timers for modules.
gcc/
* params.opt (lazy-modules): New.
* timevar.def (TV_MODULE_IMPORT, TV_MODULE_EXPORT)
(TV_MODULE_MAPPER): New.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/params.opt | 4 | ||||
-rw-r--r-- | gcc/timevar.def | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/params.opt b/gcc/params.opt index ec15357..54951f2 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -373,6 +373,10 @@ Maximal stack frame growth due to inlining (in percent). Common Joined UInteger Var(param_large_unit_insns) Optimization Init(10000) Param The size of translation unit to be considered large. +-param=lazy-modules= +C++ Joined UInteger Var(param_lazy_modules) Init(32768) Param +Maximum number of concurrently open C++ module files when lazy loading. + -param=lim-expensive= Common Joined UInteger Var(param_lim_expensive) Init(20) Param Optimization The minimum cost of an expensive expression in the loop invariant motion. diff --git a/gcc/timevar.def b/gcc/timevar.def index 1cf2300..1f85e2d 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -145,6 +145,9 @@ DEFTIMEVAR (TV_CONSTEXPR , "constant expression evaluation") DEFTIMEVAR (TV_CONSTRAINT_NORM , "constraint normalization") DEFTIMEVAR (TV_CONSTRAINT_SAT , "constraint satisfaction") DEFTIMEVAR (TV_CONSTRAINT_SUB , "constraint subsumption") +DEFTIMEVAR (TV_MODULE_IMPORT , "module import") +DEFTIMEVAR (TV_MODULE_EXPORT , "module export") +DEFTIMEVAR (TV_MODULE_MAPPER , "module mapper") DEFTIMEVAR (TV_FLATTEN_INLINING , "flatten inlining") DEFTIMEVAR (TV_EARLY_INLINING , "early inlining heuristics") DEFTIMEVAR (TV_INLINE_PARAMETERS , "inline parameters") |