def set_range_metadata(builder, load, lower_bound, upper_bound):
 range_operands = [Constant.int(load.type, lower_bound), Constant.int(load.type, upper_bound)]
 md = builder.module.add_metadata(range_operands)
 load.set_metadata('range', md)

def set_range_metadata ( builder , load , lower_bound , upper_bound ) : range_operands = [ Constant . int ( load . type , lower_bound ) , Constant . int ( load . type , upper_bound ) ] md = builder . module . add_metadata ( range_operands ) load . set_metadata ( 'range' , md )
set the "range" metadata on a load instruction .