oxilean_codegen/opt_vectorize/
vectorizationreport_traits.rs1use super::types::VectorizationReport;
12use std::fmt;
13
14impl fmt::Display for VectorizationReport {
15 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
16 write!(
17 f,
18 "VectorizationReport {{ analyzed={}, vectorized={}, rejected=(dep={}, trip={}, other={}), avg_speedup={:.2}x }}",
19 self.loops_analyzed, self.loops_vectorized, self.rejected_dep, self
20 .rejected_trip_count, self.rejected_other, self.avg_estimated_speedup,
21 )
22 }
23}