]> git.lizzy.rs Git - rust.git/commit
add polonius activities to -Z self-profile
authorRemy Rakic <remy.rakic@gmail.com>
Mon, 9 Dec 2019 18:16:48 +0000 (19:16 +0100)
committerRemy Rakic <remy.rakic@gmail.com>
Tue, 10 Dec 2019 10:44:44 +0000 (11:44 +0100)
commite0481d1d40913e0d074d6681d2354385055590c6
tree4b38552121ca39a8715c7b6be382757943927221
parent72579c944446465f0f6042725f112485d04b9f6d
add polonius activities to -Z self-profile

- "polonius_fact_generation" is dedicated to profiling the Polonius fact generation, from the MIR and NLL constraints
- "polonius_analysis" is dedicated to profiling the duration of the Polonius computations themselves: move/init analysis, liveness, borrowck-ing
src/librustc_mir/borrow_check/nll/constraint_generation.rs
src/librustc_mir/borrow_check/nll/invalidation.rs
src/librustc_mir/borrow_check/nll/mod.rs
src/librustc_mir/borrow_check/nll/type_check/liveness/polonius.rs
src/librustc_mir/borrow_check/nll/type_check/mod.rs