llvm.org GIT mirror llvm / f8f7746
Fix MIPS DSP Rev1 intrinsics memory properties. The patch reviewed by Akira Hatanaka. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161332 91177308-0d34-0410-b5e6-96231b3b80d8 Simon Atanasyan 7 years ago
1 changed file(s) with 56 addition(s) and 78 deletion(s). Raw diff Collapse all Expand all
2121 // Addition/subtraction
2222
2323 def int_mips_addu_qb : GCCBuiltin<"__builtin_mips_addu_qb">,
24 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
25 [IntrNoMem, Commutative]>;
24 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
2625 def int_mips_addu_s_qb : GCCBuiltin<"__builtin_mips_addu_s_qb">,
27 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
28 [IntrNoMem, Commutative]>;
26 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
2927 def int_mips_subu_qb : GCCBuiltin<"__builtin_mips_subu_qb">,
30 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem]>;
28 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], []>;
3129 def int_mips_subu_s_qb : GCCBuiltin<"__builtin_mips_subu_s_qb">,
32 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem]>;
30 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], []>;
3331
3432 def int_mips_addq_ph : GCCBuiltin<"__builtin_mips_addq_ph">,
35 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty],
36 [IntrNoMem, Commutative]>;
33 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
3734 def int_mips_addq_s_ph : GCCBuiltin<"__builtin_mips_addq_s_ph">,
38 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty],
39 [IntrNoMem, Commutative]>;
35 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
4036 def int_mips_subq_ph : GCCBuiltin<"__builtin_mips_subq_ph">,
41 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
37 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], []>;
4238 def int_mips_subq_s_ph : GCCBuiltin<"__builtin_mips_subq_s_ph">,
43 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
39 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], []>;
4440
4541 def int_mips_madd: GCCBuiltin<"__builtin_mips_madd">,
4642 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, llvm_i32_ty, llvm_i32_ty],
5753 [IntrNoMem]>;
5854
5955 def int_mips_addq_s_w: GCCBuiltin<"__builtin_mips_addq_s_w">,
60 Intrinsic<[mips_q31_ty], [mips_q31_ty, mips_q31_ty],
61 [IntrNoMem, Commutative]>;
56 Intrinsic<[mips_q31_ty], [mips_q31_ty, mips_q31_ty], [Commutative]>;
6257 def int_mips_subq_s_w: GCCBuiltin<"__builtin_mips_subq_s_w">,
63 Intrinsic<[mips_q31_ty], [mips_q31_ty, mips_q31_ty], [IntrNoMem]>;
58 Intrinsic<[mips_q31_ty], [mips_q31_ty, mips_q31_ty], []>;
6459
6560 def int_mips_addsc: GCCBuiltin<"__builtin_mips_addsc">,
66 Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty],
67 [IntrNoMem, Commutative]>;
61 Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [Commutative]>;
6862 def int_mips_addwc: GCCBuiltin<"__builtin_mips_addwc">,
69 Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty],
70 [IntrNoMem, Commutative]>;
63 Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [Commutative]>;
7164
7265 def int_mips_modsub: GCCBuiltin<"__builtin_mips_modsub">,
7366 Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>;
7972 // Absolute value
8073
8174 def int_mips_absq_s_ph: GCCBuiltin<"__builtin_mips_absq_s_ph">,
82 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty], [IntrNoMem]>;
75 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty], []>;
8376 def int_mips_absq_s_w: GCCBuiltin<"__builtin_mips_absq_s_w">,
84 Intrinsic<[mips_q31_ty], [mips_q31_ty], [IntrNoMem]>;
77 Intrinsic<[mips_q31_ty], [mips_q31_ty], []>;
8578
8679 //===----------------------------------------------------------------------===//
8780 // Precision reduce/expand
8982 def int_mips_precrq_qb_ph: GCCBuiltin<"__builtin_mips_precrq_qb_ph">,
9083 Intrinsic<[llvm_v4i8_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
9184 def int_mips_precrqu_s_qb_ph: GCCBuiltin<"__builtin_mips_precrqu_s_qb_ph">,
92 Intrinsic<[llvm_v4i8_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
85 Intrinsic<[llvm_v4i8_ty], [mips_v2q15_ty, mips_v2q15_ty], []>;
9386 def int_mips_precrq_ph_w: GCCBuiltin<"__builtin_mips_precrq_ph_w">,
9487 Intrinsic<[mips_v2q15_ty], [mips_q31_ty, mips_q31_ty], [IntrNoMem]>;
9588 def int_mips_precrq_rs_ph_w: GCCBuiltin<"__builtin_mips_precrq_rs_ph_w">,
96 Intrinsic<[mips_v2q15_ty], [mips_q31_ty, mips_q31_ty], [IntrNoMem]>;
89 Intrinsic<[mips_v2q15_ty], [mips_q31_ty, mips_q31_ty], []>;
9790 def int_mips_preceq_w_phl: GCCBuiltin<"__builtin_mips_preceq_w_phl">,
9891 Intrinsic<[mips_q31_ty], [mips_v2q15_ty], [IntrNoMem]>;
9992 def int_mips_preceq_w_phr: GCCBuiltin<"__builtin_mips_preceq_w_phr">,
119112 // Shift
120113
121114 def int_mips_shll_qb: GCCBuiltin<"__builtin_mips_shll_qb">,
122 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], [IntrNoMem]>;
115 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], []>;
123116 def int_mips_shrl_qb: GCCBuiltin<"__builtin_mips_shrl_qb">,
124117 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_i32_ty], [IntrNoMem]>;
125118 def int_mips_shll_ph: GCCBuiltin<"__builtin_mips_shll_ph">,
126 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], [IntrNoMem]>;
119 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], []>;
127120 def int_mips_shll_s_ph: GCCBuiltin<"__builtin_mips_shll_s_ph">,
128 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], [IntrNoMem]>;
121 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], []>;
129122 def int_mips_shra_ph: GCCBuiltin<"__builtin_mips_shra_ph">,
130123 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], [IntrNoMem]>;
131124 def int_mips_shra_r_ph: GCCBuiltin<"__builtin_mips_shra_r_ph">,
132125 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, llvm_i32_ty], [IntrNoMem]>;
133126 def int_mips_shll_s_w: GCCBuiltin<"__builtin_mips_shll_s_w">,
134 Intrinsic<[mips_q31_ty], [mips_q31_ty, llvm_i32_ty], [IntrNoMem]>;
127 Intrinsic<[mips_q31_ty], [mips_q31_ty, llvm_i32_ty], []>;
135128 def int_mips_shra_r_w: GCCBuiltin<"__builtin_mips_shra_r_w">,
136129 Intrinsic<[mips_q31_ty], [mips_q31_ty, llvm_i32_ty], [IntrNoMem]>;
137130 def int_mips_shilo: GCCBuiltin<"__builtin_mips_shilo">,
141134 // Multiplication
142135
143136 def int_mips_muleu_s_ph_qbl: GCCBuiltin<"__builtin_mips_muleu_s_ph_qbl">,
144 Intrinsic<[mips_v2q15_ty], [llvm_v4i8_ty, mips_v2q15_ty], [IntrNoMem]>;
137 Intrinsic<[mips_v2q15_ty], [llvm_v4i8_ty, mips_v2q15_ty], []>;
145138 def int_mips_muleu_s_ph_qbr: GCCBuiltin<"__builtin_mips_muleu_s_ph_qbr">,
146 Intrinsic<[mips_v2q15_ty], [llvm_v4i8_ty, mips_v2q15_ty], [IntrNoMem]>;
139 Intrinsic<[mips_v2q15_ty], [llvm_v4i8_ty, mips_v2q15_ty], []>;
147140 def int_mips_mulq_rs_ph: GCCBuiltin<"__builtin_mips_mulq_rs_ph">,
148 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty],
149 [IntrNoMem, Commutative]>;
141 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
150142 def int_mips_muleq_s_w_phl: GCCBuiltin<"__builtin_mips_muleq_s_w_phl">,
151 Intrinsic<[mips_q31_ty], [mips_v2q15_ty, mips_v2q15_ty],
152 [IntrNoMem, Commutative]>;
143 Intrinsic<[mips_q31_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
153144 def int_mips_muleq_s_w_phr: GCCBuiltin<"__builtin_mips_muleq_s_w_phr">,
154 Intrinsic<[mips_q31_ty], [mips_v2q15_ty, mips_v2q15_ty],
155 [IntrNoMem, Commutative]>;
145 Intrinsic<[mips_q31_ty], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
156146 def int_mips_mulsaq_s_w_ph: GCCBuiltin<"__builtin_mips_mulsaq_s_w_ph">,
157 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
158 [IntrNoMem]>;
147 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
159148 def int_mips_maq_s_w_phl: GCCBuiltin<"__builtin_mips_maq_s_w_phl">,
160 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
161 [IntrNoMem]>;
149 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
162150 def int_mips_maq_s_w_phr: GCCBuiltin<"__builtin_mips_maq_s_w_phr">,
163 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
164 [IntrNoMem]>;
151 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
165152 def int_mips_maq_sa_w_phl: GCCBuiltin<"__builtin_mips_maq_sa_w_phl">,
166 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
167 [IntrNoMem]>;
153 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
168154 def int_mips_maq_sa_w_phr: GCCBuiltin<"__builtin_mips_maq_sa_w_phr">,
169 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
170 [IntrNoMem]>;
155 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
171156 def int_mips_mult: GCCBuiltin<"__builtin_mips_mult">,
172157 Intrinsic<[llvm_i64_ty], [llvm_i32_ty, llvm_i32_ty],
173158 [IntrNoMem, Commutative]>;
191176 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, llvm_v4i8_ty, llvm_v4i8_ty],
192177 [IntrNoMem]>;
193178 def int_mips_dpaq_s_w_ph: GCCBuiltin<"__builtin_mips_dpaq_s_w_ph">,
194 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
195 [IntrNoMem]>;
179 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
196180 def int_mips_dpsq_s_w_ph: GCCBuiltin<"__builtin_mips_dpsq_s_w_ph">,
197 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty],
198 [IntrNoMem]>;
181 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_v2q15_ty, mips_v2q15_ty], []>;
199182 def int_mips_dpaq_sa_l_w: GCCBuiltin<"__builtin_mips_dpaq_sa_l_w">,
200 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_q31_ty, mips_q31_ty],
201 [IntrNoMem]>;
183 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_q31_ty, mips_q31_ty], []>;
202184 def int_mips_dpsq_sa_l_w: GCCBuiltin<"__builtin_mips_dpsq_sa_l_w">,
203 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_q31_ty, mips_q31_ty],
204 [IntrNoMem]>;
185 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, mips_q31_ty, mips_q31_ty], []>;
205186
206187 //===----------------------------------------------------------------------===//
207188 // Comparison
208189
209190 def int_mips_cmpu_eq_qb: GCCBuiltin<"__builtin_mips_cmpu_eq_qb">,
210 Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem, Commutative]>;
191 Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
211192 def int_mips_cmpu_lt_qb: GCCBuiltin<"__builtin_mips_cmpu_lt_qb">,
212 Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem, Commutative]>;
193 Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
213194 def int_mips_cmpu_le_qb: GCCBuiltin<"__builtin_mips_cmpu_le_qb">,
214 Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem, Commutative]>;
195 Intrinsic<[], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
215196 def int_mips_cmpgu_eq_qb: GCCBuiltin<"__builtin_mips_cmpgu_eq_qb">,
216 Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
217 [IntrNoMem, Commutative]>;
197 Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
218198 def int_mips_cmpgu_lt_qb: GCCBuiltin<"__builtin_mips_cmpgu_lt_qb">,
219 Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
220 [IntrNoMem, Commutative]>;
199 Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
221200 def int_mips_cmpgu_le_qb: GCCBuiltin<"__builtin_mips_cmpgu_le_qb">,
222 Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty],
223 [IntrNoMem, Commutative]>;
201 Intrinsic<[llvm_i32_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [Commutative]>;
224202 def int_mips_cmp_eq_ph: GCCBuiltin<"__builtin_mips_cmp_eq_ph">,
225 Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem, Commutative]>;
203 Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
226204 def int_mips_cmp_lt_ph: GCCBuiltin<"__builtin_mips_cmp_lt_ph">,
227 Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem, Commutative]>;
205 Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
228206 def int_mips_cmp_le_ph: GCCBuiltin<"__builtin_mips_cmp_le_ph">,
229 Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem, Commutative]>;
207 Intrinsic<[], [mips_v2q15_ty, mips_v2q15_ty], [Commutative]>;
230208
231209 //===----------------------------------------------------------------------===//
232210 // Extracting
233211
234212 def int_mips_extr_s_h: GCCBuiltin<"__builtin_mips_extr_s_h">,
235 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
213 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
236214 def int_mips_extr_w: GCCBuiltin<"__builtin_mips_extr_w">,
237 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
215 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
238216 def int_mips_extr_rs_w: GCCBuiltin<"__builtin_mips_extr_rs_w">,
239 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
217 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
240218 def int_mips_extr_r_w: GCCBuiltin<"__builtin_mips_extr_r_w">,
241 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
219 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
242220 def int_mips_extp: GCCBuiltin<"__builtin_mips_extp">,
243 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
221 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
244222 def int_mips_extpdp: GCCBuiltin<"__builtin_mips_extpdp">,
245 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
223 Intrinsic<[llvm_i32_ty], [llvm_i64_ty, llvm_i32_ty], []>;
246224
247225 //===----------------------------------------------------------------------===//
248226 // Misc
249227
250228 def int_mips_wrdsp: GCCBuiltin<"__builtin_mips_wrdsp">,
251 Intrinsic<[], [llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>;
229 Intrinsic<[], [llvm_i32_ty, llvm_i32_ty], []>;
252230 def int_mips_rddsp: GCCBuiltin<"__builtin_mips_rddsp">,
253 Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [IntrNoMem]>;
231 Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [IntrReadMem]>;
254232
255233 def int_mips_insv: GCCBuiltin<"__builtin_mips_insv">,
256 Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [IntrNoMem]>;
234 Intrinsic<[llvm_i32_ty], [llvm_i32_ty, llvm_i32_ty], [IntrReadMem]>;
257235 def int_mips_bitrev: GCCBuiltin<"__builtin_mips_bitrev">,
258236 Intrinsic<[llvm_i32_ty], [llvm_i32_ty], [IntrNoMem]>;
259237
266244 Intrinsic<[mips_v2q15_ty], [llvm_i32_ty], [IntrNoMem]>;
267245
268246 def int_mips_pick_qb: GCCBuiltin<"__builtin_mips_pick_qb">,
269 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrNoMem]>;
247 Intrinsic<[llvm_v4i8_ty], [llvm_v4i8_ty, llvm_v4i8_ty], [IntrReadMem]>;
270248 def int_mips_pick_ph: GCCBuiltin<"__builtin_mips_pick_ph">,
271 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrNoMem]>;
249 Intrinsic<[mips_v2q15_ty], [mips_v2q15_ty, mips_v2q15_ty], [IntrReadMem]>;
272250
273251 def int_mips_mthlip: GCCBuiltin<"__builtin_mips_mthlip">,
274 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, llvm_i32_ty], [IntrNoMem]>;
252 Intrinsic<[llvm_i64_ty], [llvm_i64_ty, llvm_i32_ty], []>;
275253
276254 def int_mips_bposge32: GCCBuiltin<"__builtin_mips_bposge32">,
277 Intrinsic<[llvm_i32_ty], [], [IntrNoMem]>;
255 Intrinsic<[llvm_i32_ty], [], [IntrReadMem]>;
278256
279257 def int_mips_lbux: GCCBuiltin<"__builtin_mips_lbux">,
280258 Intrinsic<[llvm_i32_ty], [llvm_ptr_ty, llvm_i32_ty], [IntrReadArgMem]>;