Template_token: <s> CTORS_SECTION_FUNCTION \ DTORS_SECTION_FUNCTION void \ ctors_section ( ) \ { \ if ( in_section != in_ctors ) \ { \ fputs ( CTORS_SECTION_ASM_OP , asm_out_file

ground_truth: ) ; \ in_section = in_ctors ; \ } \ }

File: mapip-mod

Target: mapip

Target_Clf: Virtual ISA

Compiler_Type: GCC


Template_token: <s> CTORS_SECTION_FUNCTION \ DTORS_SECTION_FUNCTION void \ ctors_section ( ) \ { \ if ( in_section != in_ctors ) \ { \

ground_truth: fputs ( CTORS_SECTION_ASM_OP , asm_out_file ) ; \ in_section = in_ctors ; \ } \ }


Template_token: <s> void \ dtors_section ( ) \ { \ if ( in_section != in_dtors ) \ { \ fputs ( DTORS_SECTION_ASM_OP , asm_out_file ) ; \

ground_truth: in_section = in_dtors ; \ } \ }


Template_token: <s> void \ dtors_section ( ) \ { \ if ( in_section != in_dtors ) \ {

ground_truth: \ fputs ( DTORS_SECTION_ASM_OP , asm_out_file ) ; \ in_section = in_dtors ; \ } \ }


Template_token: <s> void abort_with_error ( const char * reason ) { error ( reason

File: mapip


Template_token: <s> error ( reason ) ; abort (


Template_token: <s> void mapip_asm_file_start ( ) { fprintf ( asm_out_file , <STR_LIT> ) ; if ( ! mapip_archscale_string ) { fprintf ( asm_out_file , <STR_LIT> ) ; return ; } fprintf ( asm_out_file , <STR_LIT>

ground_truth: , mapip_archscale_string ) ;


Template_token: <s> static void mapip_asm_out_constructor ( rtx symbol , int priority ATTRIBUTE_UNUSED


Template_token: <s> assemble_name ( asm_out_file , XSTR ( symbol ,

ground_truth: <NUM_LIT> ) ) ;


Template_token: <s> } if ( TARGET_NATIVE_CALLS ) { if ( GET_CODE ( addr ) == REG ) emit_call_insn ( gen_call_indirect_clobber ( operands [ <NUM_LIT> ] , operands [ <NUM_LIT> ] ) ) ; else if ( CONSTANT_ADDRESS_P ( addr ) ) emit_call_insn ( gen_call_direct_clobber ( operands [ <NUM_LIT> ] , operands [ <NUM_LIT> ] ) ) ; else return <NUM_LIT> ; } else { if ( GET_CODE ( addr ) == REG ) emit_call_insn ( gen_call_indirect ( operands [ <NUM_LIT> ] , operands [ <NUM_LIT> ] ) ) ; else if ( CONSTANT_ADDRESS_P ( addr ) ) emit_call_insn ( gen_call_direct ( operands [ <NUM_LIT> ] , operands [ <NUM_LIT> ] ) ) ; else return


Template_token: <s> else if ( CONSTANT_ADDRESS_P ( addr ) ) emit_call_insn ( gen_call_direct_clobber ( operands [ <NUM_LIT> ] , operands [ <NUM_LIT> ] ) ) ; else return <NUM_LIT> ; } else { if ( GET_CODE ( addr ) == REG ) emit_call_insn ( gen_call_indirect ( operands [ <NUM_LIT> ] , operands [ <NUM_LIT> ] ) ) ; else if ( CONSTANT_ADDRESS_P ( addr ) ) emit_call_insn ( gen_call_direct ( operands [ <NUM_LIT> ] , operands [ <NUM_LIT> ] ) ) ; else return <NUM_LIT> ; } return


Template_token: <s> rtx sp = NULL_RTX ; rtx fp = NULL_RTX ; framesize = ( frame_info . valid ? frame_info . total_size : compute_frame_size ( get_frame_size ( ) ) ) ; if ( framesize > <NUM_LIT> || frame_pointer_needed ) sp = gen_rtx_REG ( SImode , SP_REGNUM ) ; if ( frame_pointer_needed ) fp = gen_rtx_REG ( SImode , FP_REGNUM ) ; if ( SHOULD_COMBINE_STORE_RESTORE ) { emit_insn ( gen_store_regs ( gen_rtx_REG ( SImode , frame_info . first_reg ) , gen_rtx_REG ( SImode , frame_info . last_reg ) ) ) ; } else { int rmask =

ground_truth: frame_info . rmask ;


Template_token: <s> int mapip_get_return_regs (


Template_token: <s> int mapip_get_return_regs


Template_token: <s> void mapip_initialize_trampoline ( rtx tramp , rtx fnaddr , rtx cxt ) { error ( <STR_LIT>


Template_token: <s> int mapip_max_args_in_regs (


Template_token: <s> code1 = GET_CODE ( op1 ) ; } if ( GET_CODE ( operands [ <NUM_LIT> ] ) == SIGN_EXTEND && code1 != REG && code1 != CONST_INT && code1 != LABEL_REF && code1 != SYMBOL_REF && code1 != CONST ) abort ( ) ; if ( code0 == REG ) { int regno0 = REGNO ( op0 ) + subreg_word0 ; if ( code1 == REG ) { int regno1 = REGNO ( op1 ) + subreg_word1 ; if ( regno0 == regno1 ) return <STR_LIT> ; if ( regno0 != ( regno1 + <NUM_LIT> ) ) return <STR_LIT> ; return <STR_LIT> ; } if ( code1 == CONST_DOUBLE ) { if ( op1 != CONST0_RTX ( GET_MODE ( op1 ) ) ) { split_double ( op1 , operands + <NUM_LIT> , operands + <NUM_LIT> ) ; return <STR_LIT> ; } return <STR_LIT> ; } if ( code1 == CONST_INT && INTVAL ( op1 ) == <NUM_LIT> ) { return <STR_LIT> ; } if ( code1 == CONST_INT && GET_MODE ( op0 ) == DImode ) { if ( HOST_BITS_PER_WIDE_INT < <NUM_LIT> ) { operands [ <NUM_LIT> ] = GEN_INT ( INTVAL ( operands [ <NUM_LIT> ] ) >= <NUM_LIT> ? <NUM_LIT> : - <NUM_LIT> ) ; return <STR_LIT> ; } operands [ <NUM_LIT> ] = GEN_INT ( INTVAL ( operands [ <NUM_LIT> ] ) >> <NUM_LIT> >> <NUM_LIT> ) ; operands [ <NUM_LIT> ] = GEN_INT ( INTVAL ( operands [ <NUM_LIT> ] ) << <NUM_LIT> << <NUM_LIT> >> <NUM_LIT> >> <NUM_LIT> ) ; return <STR_LIT> ; } if ( code1 == MEM ) { if ( double_memory_operand ( op1 , GET_MODE ( op1 ) ) ) { operands [ <NUM_LIT> ] = adj_offsettable_operand ( op1 , <NUM_LIT> ) ; operands [ <NUM_LIT> ] = adjust_address ( op1 , DImode , <NUM_LIT> ) ; if ( reg_mentioned_p ( op0 , op1 ) ) return <STR_LIT> ; return <STR_LIT> ; } } if ( code1 == LABEL_REF ) return <STR_LIT> ; if ( code1 == SYMBOL_REF || code1 == CONST ) return <STR_LIT> ; } if ( code0 == MEM ) { if ( code1 == REG ) { int regno1 = REGNO ( op1 ) + subreg_word1 ; if ( double_memory_operand ( op0 , GET_MODE ( op0 ) ) ) { operands [ <NUM_LIT> ] = adj_offsettable_operand (


Template_token: <s> for ( regno = <NUM_LIT> ; regno < FIRST_PSEUDO_REGISTER ; regno

ground_truth: ++ ) reg_alloc_order [ regno ] = regno ;


Template_token: <s> frame_info . valid

ground_truth: = <NUM_LIT> ;


Template_token: <s> void mapip_output_labref ( char * Name ,

ground_truth: FILE * theFile ) {


Template_token: <s> assemble_name ( file , XSTR ( XEXP ( DECL_RTL ( funcdecl ) , <NUM_LIT> ) , <NUM_LIT> ) ) ; fputs ( <STR_LIT> ,

ground_truth: file ) ;


Template_token: <s> if ( TARGET_NATIVE_CALLS ) { for ( regno = P0_REGNUM ; regno < R0_REGNUM ; regno ++ ) call_used_regs

ground_truth: [ regno ] = <NUM_LIT> ;


Template_token: <s> rtx func_rtx = current_function_decl ; register enum rtx_code code ; char * mtype = <STR_LIT> ; if ( x ) { code = GET_CODE ( x ) ; if ( code == SIGN_EXTEND ) x = XEXP ( x , <NUM_LIT> ) , code = GET_CODE ( x ) ; switch ( GET_MODE ( x ) ) { case SFmode : mtype

ground_truth: = <STR_LIT> ; break ;


Template_token: <s> rtx x = current_function_return_rtx ; rtx func_rtx = current_function_decl ; register enum rtx_code code ; char * mtype = <STR_LIT> ; if ( x ) { code = GET_CODE ( x ) ; if ( code == SIGN_EXTEND ) x = XEXP ( x , <NUM_LIT> ) , code = GET_CODE ( x ) ; switch ( GET_MODE ( x ) ) { case SFmode : mtype = <STR_LIT> ; break ; case DFmode : mtype = <STR_LIT> ; break ; case SImode : mtype = <STR_LIT> ; break ; default : mtype = <STR_LIT> ; break ; } } fprintf ( file , <STR_LIT> ) ; assemble_name ( file , name ) ; fprintf ( file , <STR_LIT> , reg_count ) ; fprintf ( file , <STR_LIT> ,

ground_truth: mtype ) ;


Template_token: <s> } if ( strcmp ( Prefix , <STR_LIT> ) == <NUM_LIT> ) { fprintf ( theFile , <STR_LIT> , Num ) ; return ; } fprintf ( theFile , <STR_LIT> , Prefix , Num


Template_token: <s> case GTU : fputs ( <STR_LIT> , file ) ; return ; case GEU : fputs ( <STR_LIT> , file ) ; return ; case LTU : fputs ( <STR_LIT> , file ) ; return ; case LEU : fputs ( <STR_LIT> , file ) ; return ; default : abort_with_insn ( x , <STR_LIT> ) ; } return ; } if ( code == REG ) { int regno = REGNO ( x ) ; if ( letter == 'D' ) regno ++ ; fprintf ( file , <STR_LIT> , reg_names [ regno ] ) ; return ; } if ( code == MEM ) { output_address ( XEXP ( x , <NUM_LIT> ) ) ; return ; } if ( code == CONST_INT || code == CONST_DOUBLE ) { if ( GET_MODE ( x ) ==

ground_truth: SFmode ) {