1  #include <libgccjit.h>
       2  #include "harness.h"
       3  
       4  void
       5  create_code (gcc_jit_context *ctxt, void * user_data)
       6  {
       7    gcc_jit_type *type_void = gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_VOID);
       8    gcc_jit_type *type_int = gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_INT);
       9    gcc_jit_type *type_unsigned_char = gcc_jit_context_get_type (ctxt, GCC_JIT_TYPE_UNSIGNED_CHAR);
      10    gcc_jit_type *type_void_ptr =
      11      gcc_jit_type_get_pointer (type_void);
      12    gcc_jit_type *type_void_ptr_ptr =
      13      gcc_jit_type_get_pointer (type_void_ptr);
      14    gcc_jit_type *type_unsigned_char__ =
      15      gcc_jit_type_get_pointer (type_unsigned_char);
      16    gcc_jit_field *field_x =
      17      gcc_jit_context_new_field (ctxt,
      18                                 NULL, /* gcc_jit_location *loc */
      19                                 type_int, /* gcc_jit_type *type, */
      20                                 "x"); /* const char *name */
      21    gcc_jit_field *field_y =
      22      gcc_jit_context_new_field (ctxt,
      23                                 NULL, /* gcc_jit_location *loc */
      24                                 type_int, /* gcc_jit_type *type, */
      25                                 "y"); /* const char *name */
      26    gcc_jit_struct *struct_struct_ip_coord =
      27      gcc_jit_context_new_opaque_struct (ctxt,
      28                                         NULL, /* gcc_jit_location *loc */
      29                                         "ip_coord"); /* const char *name */
      30    gcc_jit_field *fields_fields_0x18dc9d0[2] = {
      31      field_x,
      32      field_y,
      33    };
      34    gcc_jit_struct_set_fields (struct_struct_ip_coord, /* gcc_jit_struct *struct_type */
      35                               NULL, /* gcc_jit_location *loc */
      36                               2, /* int num_fields */
      37                               fields_fields_0x18dc9d0); /* gcc_jit_field **fields */
      38    gcc_jit_field *field_size =
      39      gcc_jit_context_new_field (ctxt,
      40                                 NULL, /* gcc_jit_location *loc */
      41                                 gcc_jit_struct_as_type (struct_struct_ip_coord), /* gcc_jit_type *type, */
      42                                 "size"); /* const char *name */
      43    gcc_jit_field *field_imrow =
      44      gcc_jit_context_new_field (ctxt,
      45                                 NULL, /* gcc_jit_location *loc */
      46                                 type_void_ptr_ptr, /* gcc_jit_type *type, */
      47                                 "imrow"); /* const char *name */
      48    gcc_jit_struct *struct_struct_ip_image =
      49      gcc_jit_context_new_opaque_struct (ctxt,
      50                                         NULL, /* gcc_jit_location *loc */
      51                                         "ip_image"); /* const char *name */
      52    gcc_jit_field *fields_fields_0x18dd310[] = {
      53      field_size,
      54      field_imrow
      55    };
      56    gcc_jit_struct_set_fields (struct_struct_ip_image, /* gcc_jit_struct *struct_type */
      57                               NULL, /* gcc_jit_location *loc */
      58                               2, /* int num_fields */
      59                               fields_fields_0x18dd310); /* gcc_jit_field **fields */
      60    gcc_jit_type *type_struct_ip_image__ =
      61      gcc_jit_type_get_pointer (gcc_jit_struct_as_type (struct_struct_ip_image));
      62    gcc_jit_param *param_dest =
      63      gcc_jit_context_new_param (ctxt,
      64                                 NULL, /* gcc_jit_location *loc */
      65                                 type_struct_ip_image__, /*gcc_jit_type *type */
      66                                 "dest"); /* const char *name */
      67    gcc_jit_param *param_src =
      68      gcc_jit_context_new_param (ctxt,
      69                                 NULL, /* gcc_jit_location *loc */
      70                                 type_struct_ip_image__, /*gcc_jit_type *type */
      71                                 "src"); /* const char *name */
      72    gcc_jit_param *params_for_func_ip_jit_im_add_clip_UBYTE[2] = {
      73      param_dest,
      74      param_src,
      75    };
      76    gcc_jit_function *func_ip_jit_im_add_clip_UBYTE =
      77      gcc_jit_context_new_function (ctxt, /* gcc_jit_context *ctxt */
      78                                    NULL, /* gcc_jit_location *loc */
      79                                    GCC_JIT_FUNCTION_EXPORTED, /* enum gcc_jit_function_kind kind */
      80                                    type_void, /* gcc_jit_type *return_type */
      81                                    "ip_jit_im_add_clip_UBYTE", /* const char *name */
      82                                    2, /* int num_params */
      83                                    params_for_func_ip_jit_im_add_clip_UBYTE, /* gcc_jit_param **params */
      84                                    0); /* int is_variadic */
      85    gcc_jit_lvalue *local_rowlen =
      86      gcc_jit_function_new_local (func_ip_jit_im_add_clip_UBYTE, /* gcc_jit_function *func */
      87                                  NULL, /* gcc_jit_location *loc */
      88                                  type_int, /* gcc_jit_type *type */
      89                                  "rowlen"); /* const char *name */
      90    gcc_jit_lvalue *local_numrows =
      91      gcc_jit_function_new_local (func_ip_jit_im_add_clip_UBYTE, /* gcc_jit_function *func */
      92                                  NULL, /* gcc_jit_location *loc */
      93                                  type_int, /* gcc_jit_type *type */
      94                                  "numrows"); /* const char *name */
      95    gcc_jit_lvalue *local_j =
      96      gcc_jit_function_new_local (func_ip_jit_im_add_clip_UBYTE, /* gcc_jit_function *func */
      97                                  NULL, /* gcc_jit_location *loc */
      98                                  type_int, /* gcc_jit_type *type */
      99                                  "j"); /* const char *name */
     100    gcc_jit_lvalue *local_dptr =
     101      gcc_jit_function_new_local (func_ip_jit_im_add_clip_UBYTE, /* gcc_jit_function *func */
     102                                  NULL, /* gcc_jit_location *loc */
     103                                  type_unsigned_char__, /* gcc_jit_type *type */
     104                                  "dptr"); /* const char *name */
     105    gcc_jit_lvalue *local_sptr =
     106      gcc_jit_function_new_local (func_ip_jit_im_add_clip_UBYTE, /* gcc_jit_function *func */
     107                                  NULL, /* gcc_jit_location *loc */
     108                                  type_unsigned_char__, /* gcc_jit_type *type */
     109                                  "sptr"); /* const char *name */
     110    gcc_jit_lvalue *local_i =
     111      gcc_jit_function_new_local (func_ip_jit_im_add_clip_UBYTE, /* gcc_jit_function *func */
     112                                  NULL, /* gcc_jit_location *loc */
     113                                  type_int, /* gcc_jit_type *type */
     114                                  "i"); /* const char *name */
     115    gcc_jit_block *block_F1 =
     116      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "F1");
     117    gcc_jit_block *block_C1 =
     118      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "C1");
     119    gcc_jit_block *block_L1 =
     120      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "L1");
     121    gcc_jit_block *block_C2 =
     122      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "C2");
     123    gcc_jit_block *block_L2 =
     124      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "L2");
     125    gcc_jit_block *block_A2 =
     126      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "A2");
     127    gcc_jit_block *block_A1 =
     128      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "A1");
     129    gcc_jit_lvalue *lvalue_dest__size=
     130      gcc_jit_rvalue_dereference_field (gcc_jit_param_as_rvalue (param_dest), /* gcc_jit_rvalue *ptr */
     131                                        NULL, /* gcc_jit_location *loc */
     132                                        field_size); /* gcc_jit_field *field */
     133    gcc_jit_rvalue *rvalue_dest__size_x = 
     134      gcc_jit_rvalue_access_field (gcc_jit_lvalue_as_rvalue (lvalue_dest__size), /*gcc_jit_rvalue *struct_or_union */
     135                                   NULL, /*gcc_jit_location *loc */
     136                                   field_x);
     137    gcc_jit_block_add_assignment (block_F1, /*gcc_jit_block *block */
     138                                  NULL, /* gcc_jit_location *loc */
     139                                  local_rowlen, /* gcc_jit_lvalue *lvalue */
     140                                  rvalue_dest__size_x); /* gcc_jit_rvalue *rvalue */
     141    gcc_jit_rvalue *rvalue_dest__size_y = 
     142      gcc_jit_rvalue_access_field (gcc_jit_lvalue_as_rvalue (lvalue_dest__size), /*gcc_jit_rvalue *struct_or_union */
     143                                   NULL, /*gcc_jit_location *loc */
     144                                   field_y);
     145    gcc_jit_block_add_assignment (block_F1, /*gcc_jit_block *block */
     146                                  NULL, /* gcc_jit_location *loc */
     147                                  local_numrows, /* gcc_jit_lvalue *lvalue */
     148                                  rvalue_dest__size_y); /* gcc_jit_rvalue *rvalue */
     149    gcc_jit_rvalue *rvalue__int_0 =
     150      gcc_jit_context_new_rvalue_from_int (ctxt, /* gcc_jit_context *ctxt */
     151                                           type_int, /* gcc_jit_type *numeric_type */
     152                                           0); /* int value */
     153    gcc_jit_block_add_assignment (block_F1, /*gcc_jit_block *block */
     154                                  NULL, /* gcc_jit_location *loc */
     155                                  local_j, /* gcc_jit_lvalue *lvalue */
     156                                  rvalue__int_0); /* gcc_jit_rvalue *rvalue */
     157    gcc_jit_block_end_with_jump (block_F1, /*gcc_jit_block *block */
     158                                 NULL, /* gcc_jit_location *loc */
     159                                 block_C1); /* gcc_jit_block *target */
     160    gcc_jit_rvalue *rvalue_j___numrows =
     161      gcc_jit_context_new_comparison (ctxt,
     162                                      NULL, /* gcc_jit_location *loc */
     163                                      GCC_JIT_COMPARISON_LT, /* enum gcc_jit_comparison op */
     164                                      gcc_jit_lvalue_as_rvalue (local_j), /* gcc_jit_rvalue *a */
     165                                      gcc_jit_lvalue_as_rvalue (local_numrows)); /* gcc_jit_rvalue *b */
     166    gcc_jit_block_end_with_conditional (block_C1, /*gcc_jit_block *block */
     167                                        NULL, /* gcc_jit_location *loc */
     168                                        rvalue_j___numrows, /* gcc_jit_rvalue *boolval */
     169                                        block_L1, /* gcc_jit_block *on_true */
     170                                        block_A1); /* gcc_jit_block *on_false */
     171    gcc_jit_lvalue *lvalue_dest__imrow=
     172      gcc_jit_rvalue_dereference_field (gcc_jit_param_as_rvalue (param_dest), /* gcc_jit_rvalue *ptr */
     173                                        NULL, /* gcc_jit_location *loc */
     174                                        field_imrow); /* gcc_jit_field *field */
     175    gcc_jit_lvalue *lvalue_dest__imrow_j_ = 
     176      gcc_jit_context_new_array_access (ctxt, /* gcc_jit_context *ctxt */
     177                                        NULL, /*gcc_jit_location *loc */
     178                                        gcc_jit_lvalue_as_rvalue (lvalue_dest__imrow), /* gcc_jit_rvalue *ptr */
     179                                        gcc_jit_lvalue_as_rvalue (local_j)); /* gcc_jit_rvalue *index */
     180    gcc_jit_rvalue *rvalue__unsigned_char___dest__imrow_j_ =
     181      gcc_jit_context_new_cast (ctxt,
     182                                NULL, /* gcc_jit_location *loc */
     183                                gcc_jit_lvalue_as_rvalue (lvalue_dest__imrow_j_), /* gcc_jit_rvalue *rvalue */
     184                                type_unsigned_char__); /* gcc_jit_type *type */
     185    gcc_jit_block_add_assignment (block_L1, /*gcc_jit_block *block */
     186                                  NULL, /* gcc_jit_location *loc */
     187                                  local_dptr, /* gcc_jit_lvalue *lvalue */
     188                                  rvalue__unsigned_char___dest__imrow_j_); /* gcc_jit_rvalue *rvalue */
     189    gcc_jit_lvalue *lvalue_src__imrow=
     190      gcc_jit_rvalue_dereference_field (gcc_jit_param_as_rvalue (param_src), /* gcc_jit_rvalue *ptr */
     191                                        NULL, /* gcc_jit_location *loc */
     192                                        field_imrow); /* gcc_jit_field *field */
     193    gcc_jit_lvalue *lvalue_src__imrow_j_ = 
     194      gcc_jit_context_new_array_access (ctxt, /* gcc_jit_context *ctxt */
     195                                        NULL, /*gcc_jit_location *loc */
     196                                        gcc_jit_lvalue_as_rvalue (lvalue_src__imrow), /* gcc_jit_rvalue *ptr */
     197                                        gcc_jit_lvalue_as_rvalue (local_j)); /* gcc_jit_rvalue *index */
     198    gcc_jit_rvalue *rvalue__unsigned_char___src__imrow_j_ =
     199      gcc_jit_context_new_cast (ctxt,
     200                                NULL, /* gcc_jit_location *loc */
     201                                gcc_jit_lvalue_as_rvalue (lvalue_src__imrow_j_), /* gcc_jit_rvalue *rvalue */
     202                                type_unsigned_char__); /* gcc_jit_type *type */
     203    gcc_jit_block_add_assignment (block_L1, /*gcc_jit_block *block */
     204                                  NULL, /* gcc_jit_location *loc */
     205                                  local_sptr, /* gcc_jit_lvalue *lvalue */
     206                                  rvalue__unsigned_char___src__imrow_j_); /* gcc_jit_rvalue *rvalue */
     207    gcc_jit_rvalue *rvalue__int_0_0x18dd890 =
     208      gcc_jit_context_new_rvalue_from_int (ctxt, /* gcc_jit_context *ctxt */
     209                                           type_int, /* gcc_jit_type *numeric_type */
     210                                           0); /* int value */
     211    gcc_jit_block_add_assignment (block_L1, /*gcc_jit_block *block */
     212                                  NULL, /* gcc_jit_location *loc */
     213                                  local_i, /* gcc_jit_lvalue *lvalue */
     214                                  rvalue__int_0_0x18dd890); /* gcc_jit_rvalue *rvalue */
     215    gcc_jit_block_end_with_jump (block_L1, /*gcc_jit_block *block */
     216                                 NULL, /* gcc_jit_location *loc */
     217                                 block_C2); /* gcc_jit_block *target */
     218    gcc_jit_rvalue *rvalue_i___rowlen =
     219      gcc_jit_context_new_comparison (ctxt,
     220                                      NULL, /* gcc_jit_location *loc */
     221                                      GCC_JIT_COMPARISON_LT, /* enum gcc_jit_comparison op */
     222                                      gcc_jit_lvalue_as_rvalue (local_i), /* gcc_jit_rvalue *a */
     223                                      gcc_jit_lvalue_as_rvalue (local_rowlen)); /* gcc_jit_rvalue *b */
     224    gcc_jit_block_end_with_conditional (block_C2, /*gcc_jit_block *block */
     225                                        NULL, /* gcc_jit_location *loc */
     226                                        rvalue_i___rowlen, /* gcc_jit_rvalue *boolval */
     227                                        block_L2, /* gcc_jit_block *on_true */
     228                                        block_A2); /* gcc_jit_block *on_false */
     229    gcc_jit_lvalue *dereference__dptr =
     230      gcc_jit_rvalue_dereference (gcc_jit_lvalue_as_rvalue (local_dptr), /* gcc_jit_rvalue *rvalue */
     231                                  NULL); /* gcc_jit_location *loc */
     232    gcc_jit_lvalue *dereference__sptr =
     233      gcc_jit_rvalue_dereference (gcc_jit_lvalue_as_rvalue (local_sptr), /* gcc_jit_rvalue *rvalue */
     234                                  NULL); /* gcc_jit_location *loc */
     235    gcc_jit_block *block_p_C1_true =
     236      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "p_C1_true");
     237    gcc_jit_block *block_p_C1_end =
     238      gcc_jit_function_new_block (func_ip_jit_im_add_clip_UBYTE, "p_C1_end");
     239    gcc_jit_lvalue *local_ival =
     240      gcc_jit_function_new_local (func_ip_jit_im_add_clip_UBYTE, /* gcc_jit_function *func */
     241                                  NULL, /* gcc_jit_location *loc */
     242                                  type_int, /* gcc_jit_type *type */
     243                                  "ival"); /* const char *name */
     244    gcc_jit_rvalue *rvalue__int__dptr =
     245      gcc_jit_context_new_cast (ctxt,
     246                                NULL, /* gcc_jit_location *loc */
     247                                gcc_jit_lvalue_as_rvalue (dereference__dptr), /* gcc_jit_rvalue *rvalue */
     248                                type_int); /* gcc_jit_type *type */
     249    gcc_jit_rvalue *rvalue__int__sptr =
     250      gcc_jit_context_new_cast (ctxt,
     251                                NULL, /* gcc_jit_location *loc */
     252                                gcc_jit_lvalue_as_rvalue (dereference__sptr), /* gcc_jit_rvalue *rvalue */
     253                                type_int); /* gcc_jit_type *type */
     254    gcc_jit_rvalue *rvalue__int__dptr____int__sptr =
     255      gcc_jit_context_new_binary_op (ctxt,
     256                                     NULL, /* gcc_jit_location *loc */
     257                                     GCC_JIT_BINARY_OP_PLUS, /* enum gcc_jit_binary_op op */
     258                                     type_int, /* gcc_jit_type *result_type */
     259                                     rvalue__int__dptr, /* gcc_jit_rvalue *a */
     260                                     rvalue__int__sptr); /* gcc_jit_rvalue *b */
     261    gcc_jit_block_add_assignment (block_L2, /*gcc_jit_block *block */
     262                                  NULL, /* gcc_jit_location *loc */
     263                                  local_ival, /* gcc_jit_lvalue *lvalue */
     264                                  rvalue__int__dptr____int__sptr); /* gcc_jit_rvalue *rvalue */
     265    gcc_jit_rvalue *rvalue__int_255 =
     266      gcc_jit_context_new_rvalue_from_int (ctxt, /* gcc_jit_context *ctxt */
     267                                           type_int, /* gcc_jit_type *numeric_type */
     268                                           255); /* int value */
     269    gcc_jit_rvalue *rvalue_ival____int_255 =
     270      gcc_jit_context_new_comparison (ctxt,
     271                                      NULL, /* gcc_jit_location *loc */
     272                                      GCC_JIT_COMPARISON_GT, /* enum gcc_jit_comparison op */
     273                                      gcc_jit_lvalue_as_rvalue (local_ival), /* gcc_jit_rvalue *a */
     274                                      rvalue__int_255); /* gcc_jit_rvalue *b */
     275    gcc_jit_block_end_with_conditional (block_L2, /*gcc_jit_block *block */
     276                                        NULL, /* gcc_jit_location *loc */
     277                                        rvalue_ival____int_255, /* gcc_jit_rvalue *boolval */
     278                                        block_p_C1_true, /* gcc_jit_block *on_true */
     279                                        block_p_C1_end); /* gcc_jit_block *on_false */
     280    gcc_jit_block_add_assignment (block_p_C1_true, /*gcc_jit_block *block */
     281                                  NULL, /* gcc_jit_location *loc */
     282                                  local_ival, /* gcc_jit_lvalue *lvalue */
     283                                  rvalue__int_255); /* gcc_jit_rvalue *rvalue */
     284    gcc_jit_block_end_with_jump (block_p_C1_true, /*gcc_jit_block *block */
     285                                 NULL, /* gcc_jit_location *loc */
     286                                 block_p_C1_end); /* gcc_jit_block *target */
     287    gcc_jit_rvalue *rvalue__unsigned_char_ival =
     288      gcc_jit_context_new_cast (ctxt,
     289                                NULL, /* gcc_jit_location *loc */
     290                                gcc_jit_lvalue_as_rvalue (local_ival), /* gcc_jit_rvalue *rvalue */
     291                                type_unsigned_char); /* gcc_jit_type *type */
     292    gcc_jit_lvalue *dereference__dptr_0x18df2e0 =
     293      gcc_jit_rvalue_dereference (gcc_jit_lvalue_as_rvalue (local_dptr), /* gcc_jit_rvalue *rvalue */
     294                                  NULL); /* gcc_jit_location *loc */
     295    gcc_jit_block_add_assignment (block_p_C1_end, /*gcc_jit_block *block */
     296                                  NULL, /* gcc_jit_location *loc */
     297                                  dereference__dptr_0x18df2e0, /* gcc_jit_lvalue *lvalue */
     298                                  rvalue__unsigned_char_ival); /* gcc_jit_rvalue *rvalue */
     299    gcc_jit_rvalue *rvalue__int_1 =
     300      gcc_jit_context_new_rvalue_from_int (ctxt, /* gcc_jit_context *ctxt */
     301                                           type_int, /* gcc_jit_type *numeric_type */
     302                                           1); /* int value */
     303    gcc_jit_lvalue *lvalue_dptr__int_1_ = 
     304      gcc_jit_context_new_array_access (ctxt, /* gcc_jit_context *ctxt */
     305                                        NULL, /*gcc_jit_location *loc */
     306                                        gcc_jit_lvalue_as_rvalue (local_dptr), /* gcc_jit_rvalue *ptr */
     307                                        rvalue__int_1); /* gcc_jit_rvalue *index */
     308    gcc_jit_rvalue *address_of__dptr__int_1_ =
     309      gcc_jit_lvalue_get_address (lvalue_dptr__int_1_, /* gcc_jit_lvalue *lvalue */
     310                                  NULL); /* gcc_jit_location *loc */
     311    gcc_jit_block_add_assignment (block_p_C1_end, /*gcc_jit_block *block */
     312                                  NULL, /* gcc_jit_location *loc */
     313                                  local_dptr, /* gcc_jit_lvalue *lvalue */
     314                                  address_of__dptr__int_1_); /* gcc_jit_rvalue *rvalue */
     315    gcc_jit_rvalue *rvalue__int_1_0x18df500 =
     316      gcc_jit_context_new_rvalue_from_int (ctxt, /* gcc_jit_context *ctxt */
     317                                           type_int, /* gcc_jit_type *numeric_type */
     318                                           1); /* int value */
     319    gcc_jit_lvalue *lvalue_sptr__int_1_ = 
     320      gcc_jit_context_new_array_access (ctxt, /* gcc_jit_context *ctxt */
     321                                        NULL, /*gcc_jit_location *loc */
     322                                        gcc_jit_lvalue_as_rvalue (local_sptr), /* gcc_jit_rvalue *ptr */
     323                                        rvalue__int_1_0x18df500); /* gcc_jit_rvalue *index */
     324    gcc_jit_rvalue *address_of__sptr__int_1_ =
     325      gcc_jit_lvalue_get_address (lvalue_sptr__int_1_, /* gcc_jit_lvalue *lvalue */
     326                                  NULL); /* gcc_jit_location *loc */
     327    gcc_jit_block_add_assignment (block_p_C1_end, /*gcc_jit_block *block */
     328                                  NULL, /* gcc_jit_location *loc */
     329                                  local_sptr, /* gcc_jit_lvalue *lvalue */
     330                                  address_of__sptr__int_1_); /* gcc_jit_rvalue *rvalue */
     331    gcc_jit_rvalue *rvalue__int_1_0x18df650 =
     332      gcc_jit_context_new_rvalue_from_int (ctxt, /* gcc_jit_context *ctxt */
     333                                           type_int, /* gcc_jit_type *numeric_type */
     334                                           1); /* int value */
     335    gcc_jit_rvalue *rvalue_i____int_1 =
     336      gcc_jit_context_new_binary_op (ctxt,
     337                                     NULL, /* gcc_jit_location *loc */
     338                                     GCC_JIT_BINARY_OP_PLUS, /* enum gcc_jit_binary_op op */
     339                                     type_int, /* gcc_jit_type *result_type */
     340                                     gcc_jit_lvalue_as_rvalue (local_i), /* gcc_jit_rvalue *a */
     341                                     rvalue__int_1_0x18df650); /* gcc_jit_rvalue *b */
     342    gcc_jit_block_add_assignment (block_p_C1_end, /*gcc_jit_block *block */
     343                                  NULL, /* gcc_jit_location *loc */
     344                                  local_i, /* gcc_jit_lvalue *lvalue */
     345                                  rvalue_i____int_1); /* gcc_jit_rvalue *rvalue */
     346    gcc_jit_block_end_with_jump (block_p_C1_end, /*gcc_jit_block *block */
     347                                 NULL, /* gcc_jit_location *loc */
     348                                 block_C2); /* gcc_jit_block *target */
     349    gcc_jit_rvalue *rvalue__int_1_0x18df7e0 =
     350      gcc_jit_context_new_rvalue_from_int (ctxt, /* gcc_jit_context *ctxt */
     351                                           type_int, /* gcc_jit_type *numeric_type */
     352                                           1); /* int value */
     353    gcc_jit_rvalue *rvalue_j____int_1 =
     354      gcc_jit_context_new_binary_op (ctxt,
     355                                     NULL, /* gcc_jit_location *loc */
     356                                     GCC_JIT_BINARY_OP_PLUS, /* enum gcc_jit_binary_op op */
     357                                     type_int, /* gcc_jit_type *result_type */
     358                                     gcc_jit_lvalue_as_rvalue (local_j), /* gcc_jit_rvalue *a */
     359                                     rvalue__int_1_0x18df7e0); /* gcc_jit_rvalue *b */
     360    gcc_jit_block_add_assignment (block_A2, /*gcc_jit_block *block */
     361                                  NULL, /* gcc_jit_location *loc */
     362                                  local_j, /* gcc_jit_lvalue *lvalue */
     363                                  rvalue_j____int_1); /* gcc_jit_rvalue *rvalue */
     364    gcc_jit_block_end_with_jump (block_A2, /*gcc_jit_block *block */
     365                                 NULL, /* gcc_jit_location *loc */
     366                                 block_C1); /* gcc_jit_block *target */
     367    gcc_jit_block_end_with_void_return (block_A1, /*gcc_jit_block *block */
     368                                        NULL); /* gcc_jit_location *loc */
     369  }
     370  
     371  void
     372  verify_code (gcc_jit_context *ctxt, gcc_jit_result *result)
     373  {
     374    /* empty */
     375  }