| use super::argument::ArgumentList; | |
| use super::intrinsic_helpers::IntrinsicTypeDefinition; | |
| /// An intrinsic | |
| #[derive(Debug, PartialEq, Clone)] | |
| pub struct Intrinsic<T: IntrinsicTypeDefinition> { | |
| /// The function name of this intrinsic. | |
| pub name: String, | |
| /// Any arguments for this intrinsic. | |
| pub arguments: ArgumentList<T>, | |
| /// The return type of this intrinsic. | |
| pub results: T, | |
| /// Any architecture-specific tags. | |
| pub arch_tags: Vec<String>, | |
| } |