def _define_nrt_meminfo_data(module):
 fn = module.get_or_insert_function(meminfo_data_ty, name='NRT_MemInfo_data_fast')
 builder = ir.IRBuilder(fn.append_basic_block())
 [ptr] = fn.args
 struct_ptr = builder.bitcast(ptr, _meminfo_struct_type.as_pointer())
 data_ptr = builder.load(cgutils.gep(builder, struct_ptr, 0, 3))
 builder.ret(data_ptr)

def _define_nrt_meminfo_data ( module ) : fn = module . get_or_insert_function ( meminfo_data_ty , name = 'NRT_MemInfo_data_fast' ) builder = ir . IRBuilder ( fn . append_basic_block ( ) ) [ ptr ] = fn . args struct_ptr = builder . bitcast ( ptr , _meminfo_struct_type . as_pointer ( ) ) data_ptr = builder . load ( cgutils . gep ( builder , struct_ptr , 0 , 3 ) ) builder . ret ( data_ptr )
implement nrt_meminfo_data_fast in the module .