oxilean_codegen/mlir_backend/
cmpfpred_traits.rs1use super::types::CmpfPred;
12use std::fmt;
13
14impl fmt::Display for CmpfPred {
15 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
16 match self {
17 CmpfPred::Oeq => write!(f, "oeq"),
18 CmpfPred::One => write!(f, "one"),
19 CmpfPred::Olt => write!(f, "olt"),
20 CmpfPred::Ole => write!(f, "ole"),
21 CmpfPred::Ogt => write!(f, "ogt"),
22 CmpfPred::Oge => write!(f, "oge"),
23 CmpfPred::Ueq => write!(f, "ueq"),
24 CmpfPred::Une => write!(f, "une"),
25 }
26 }
27}