1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
//! Original PTX specification:
//!
//! // direct call to named function, func is a symbol
//! call{.uni} (ret-param), func, (param-list);
//! call{.uni} func, (param-list);
//! call{.uni} func;
//! // indirect call via pointer, with full list of call targets
//! call{.uni} (ret-param), fptr, (param-list), flist;
//! call{.uni} fptr, (param-list), flist;
//! call{.uni} fptr, flist;
//! // indirect call via pointer, with no knowledge of call targets
//! call{.uni} (ret-param), fptr, (param-list), fproto;
//! call{.uni} fptr, (param-list), fproto;
//! call{.uni} fptr, fproto;
#![allow(unused)]
use crate::r#type::common::*;
pub mod section_0 {
use crate::r#type::common::*;
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni {
pub uni: bool, // {.uni}
pub ret_param: GeneralOperand, // (ret-param)
pub func: GeneralOperand, // func
pub param_list: Vec<GeneralOperand>, // (param-list)
}
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni1 {
pub uni: bool, // {.uni}
pub func: GeneralOperand, // func
pub param_list: Vec<GeneralOperand>, // (param-list)
}
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni2 {
pub uni: bool, // {.uni}
pub func: GeneralOperand, // func
}
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni3 {
pub uni: bool, // {.uni}
pub ret_param: GeneralOperand, // (ret-param)
pub fptr: GeneralOperand, // fptr
pub param_list: Vec<GeneralOperand>, // (param-list)
pub flist: GeneralOperand, // flist
}
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni4 {
pub uni: bool, // {.uni}
pub fptr: GeneralOperand, // fptr
pub param_list: Vec<GeneralOperand>, // (param-list)
pub flist: GeneralOperand, // flist
}
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni5 {
pub uni: bool, // {.uni}
pub fptr: GeneralOperand, // fptr
pub flist: GeneralOperand, // flist
}
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni6 {
pub uni: bool, // {.uni}
pub ret_param: GeneralOperand, // (ret-param)
pub fptr: GeneralOperand, // fptr
pub param_list: Vec<GeneralOperand>, // (param-list)
pub fproto: GeneralOperand, // fproto
}
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni7 {
pub uni: bool, // {.uni}
pub fptr: GeneralOperand, // fptr
pub param_list: Vec<GeneralOperand>, // (param-list)
pub fproto: GeneralOperand, // fproto
}
#[derive(Debug, Clone, PartialEq)]
pub struct CallUni8 {
pub uni: bool, // {.uni}
pub fptr: GeneralOperand, // fptr
pub fproto: GeneralOperand, // fproto
}
}