rust/compiler/rustc_const_eval/src/transform
Bryan Garza 360db516cc Create stable metric to measure long computation in Const Eval
This patch adds a `MirPass` that tracks the number of back-edges and
function calls in the CFG, adds a new MIR instruction to increment a
counter every time they are encountered during Const Eval, and emit a
warning if a configured limit is breached.
2023-01-23 23:56:22 +00:00
..
check_consts Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00
mod.rs Don't re-export MirPass 2021-11-29 12:58:15 -08:00
promote_consts.rs tidy 2023-01-17 07:48:19 +00:00
validate.rs Create stable metric to measure long computation in Const Eval 2023-01-23 23:56:22 +00:00