Skip to main content

ptx_parser/type/instruction/
ret.rs

1//! Original PTX specification:
2//!
3//! ret{.uni};
4
5#![allow(unused)]
6use crate::r#type::common::*;
7
8pub mod section_0 {
9    use crate::Spanned;
10    use crate::parser::Span;
11    use crate::r#type::common::*;
12
13    use serde::Serialize;
14
15    #[derive(Debug, Clone, PartialEq, Spanned, Serialize)]
16    pub struct RetUni {
17        pub uni: bool, // {.uni}
18        pub span: Span,
19    }
20}
21
22// Re-export types with section suffixes to avoid naming conflicts
23// e.g., Type0 for section_0::Type, Type1 for section_1::Type
24pub use section_0::RetUni;