def make_anonymous_struct(builder, values, struct_type=None):
 if (struct_type is None):
  struct_type = ir.LiteralStructType([v.type for v in values])
 struct_val = struct_type(ir.Undefined)
 for (i, v) in enumerate(values):
  struct_val = builder.insert_value(struct_val, v, i)
 return struct_val

def make_anonymous_struct ( builder , values , struct_type = None ) : if ( struct_type is None ) : struct_type = ir . LiteralStructType ( [ v . type for v in values ] ) struct_val = struct_type ( ir . Undefined ) for ( i , v ) in enumerate ( values ) : struct_val = builder . insert_value ( struct_val , v , i ) return struct_val
create an anonymous struct containing the given llvm *values* .