Lines Matching refs:const_expr
36 input_types, is_conversion, algebraic_properties, const_expr): argument
76 assert isinstance(const_expr, str)
91 self.const_expr = const_expr
154 is_conversion, algebraic_properties, const_expr): argument
158 const_expr)
160 def unop_convert(name, out_type, in_type, const_expr): argument
161 opcode(name, 0, out_type, [0], [in_type], False, "", const_expr)
163 def unop(name, ty, const_expr): argument
164 opcode(name, 0, ty, [0], [ty], False, "", const_expr)
167 const_expr): argument
169 False, "", const_expr)
190 def unop_numeric_convert(name, out_type, in_type, const_expr): argument
191 opcode(name, 0, out_type, [0], [in_type], True, "", const_expr)
275 unop_numeric_convert("f2fmp", tfloat16, tfloat32, opcodes["f2f16"].const_expr)
276 unop_numeric_convert("i2imp", tint16, tint32, opcodes["i2i16"].const_expr)
278 unop_numeric_convert("f2imp", tint16, tfloat32, opcodes["f2i16"].const_expr)
279 unop_numeric_convert("f2ump", tuint16, tfloat32, opcodes["f2u16"].const_expr)
280 unop_numeric_convert("i2fmp", tfloat16, tint32, opcodes["i2f16"].const_expr)
281 unop_numeric_convert("u2fmp", tfloat16, tuint32, opcodes["u2f16"].const_expr)
513 def binop_convert(name, out_type, in_type, alg_props, const_expr): argument
515 False, alg_props, const_expr)
517 def binop(name, ty, alg_props, const_expr): argument
518 binop_convert(name, ty, ty, alg_props, const_expr)
520 def binop_compare(name, ty, alg_props, const_expr): argument
521 binop_convert(name, tbool1, ty, alg_props, const_expr)
523 def binop_compare8(name, ty, alg_props, const_expr): argument
524 binop_convert(name, tbool8, ty, alg_props, const_expr)
526 def binop_compare16(name, ty, alg_props, const_expr): argument
527 binop_convert(name, tbool16, ty, alg_props, const_expr)
529 def binop_compare32(name, ty, alg_props, const_expr): argument
530 binop_convert(name, tbool32, ty, alg_props, const_expr)
532 def binop_compare_all_sizes(name, ty, alg_props, const_expr): argument
533 binop_compare(name, ty, alg_props, const_expr)
534 binop_compare8(name + "8", ty, alg_props, const_expr)
535 binop_compare16(name + "16", ty, alg_props, const_expr)
536 binop_compare32(name + "32", ty, alg_props, const_expr)
539 src2_type, const_expr): argument
541 False, "", const_expr)
932 def triop(name, ty, alg_props, const_expr): argument
933 opcode(name, 0, ty, [0, 0, 0], [ty, ty, ty], False, alg_props, const_expr)
934 def triop_horiz(name, output_size, src1_size, src2_size, src3_size, const_expr): argument
937 [tuint, tuint, tuint], False, "", const_expr)
1055 src4_size, const_expr): argument
1059 False, "", const_expr)