pub fn is_ub_check(tcx: TyCtxt<'_>, callee: DefId) -> bool
Identify standard-library UB and precondition checks. The path builder skips their costly MIR, while the VM handles them as check calls.