pub fn generate( ir: &CanonicalIr, options: &GenerateOptions, ) -> Result<BTreeMap<String, String>, GenerateError>