{"Template_token": ["", "cfun", "->", "machine", "->", "total_size", "=", "total_size", ";", "cfun", "->", "machine", "->", "var_size", "=", "var_size", ";", "cfun", "->", "machine", "->", "args_size", "=", "args_size", ";", "cfun", "->", "machine", "->", "extra_size", "=", "extra_size", ";", "cfun", "->", "machine", "->", "gp_reg_size", "=", "gp_reg_size", ";", "cfun", "->", "machine", "->", "fp_reg_size", "=", "fp_reg_size", ";", "cfun", "->", "machine", "->", "mask", "=", "mask", ";", "cfun", "->", "machine", "->", "initialized", "=", "reload_completed", ";", "cfun", "->", "machine", "->", "num_gp", "=", "gp_reg_size", "/", "UNITS_PER_WORD", ";", "if", "(", "mask", ")", "{", "unsigned", "long", "offset", ";", "offset", "=", "(", "args_size", "+", "extra_size", "+", "var_size", "+", "gp_reg_size", "-", "GET_MODE_SIZE", "(", "gpr_mode", ")", ")", ";", "cfun", "->", "machine", "->", "gp_sp_offset", "=", "offset", ";", "cfun", "->", "machine", "->", "gp_save_offset", "=", "offset", "-", "total_size", ";", "}", "else", "{", "cfun", "->", "machine", "->", "gp_sp_offset", "=", "", ";", "cfun", "->", "machine", "->", "gp_save_offset", "=", "", ";", "}", "cfun", "->", "machine", "->", "fp_sp_offset", "=", "", ";"], "ground_truth": ["cfun", "->", "machine", "->", "fp_save_offset", "=", "", ";"], "File": "iq20002", "Func": "compute_frame_size", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255444, "Length": 154, "Cover_Rate": 0.38596491228070173} {"Template_token": ["", "long", "mask", ";", "int", "fp_inc", ";", "long", "fp_bits", ";", "gp_reg_size", "=", "", ";", "fp_reg_size", "=", "", ";", "mask", "=", "", ";", "extra_size", "=", "IQ2000_STACK_ALIGN", "(", "(", "", ")", ")", ";", "var_size", "=", "IQ2000_STACK_ALIGN", "(", "size", ")", ";", "args_size", "=", "IQ2000_STACK_ALIGN", "(", "current_function_outgoing_args_size", ")", ";", "if", "(", "args_size", "==", "", "&&", "current_function_calls_alloca", ")", "args_size", "=", "", "*", "UNITS_PER_WORD", ";", "total_size", "=", "var_size", "+", "args_size", "+", "extra_size", ";", "for", "(", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "regno", "++", ")", "{", "if", "(", "MUST_SAVE_REGISTER", "(", "regno", ")", ")", "{", "gp_reg_size", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "mask", "|=", "", "<<", "(", "regno", "-", "GP_REG_FIRST", ")", ";", "}", "}", "if", "(", "current_function_calls_eh_return", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "", ";", ";", "++", "i", ")", "{", "regno", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "regno", "==", "(", "int", ")", "INVALID_REGNUM", ")", "break", ";", "gp_reg_size", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "mask", "|=", "", "<<", "(", "regno", "-", "GP_REG_FIRST", ")", ";", "}", "}", "fp_inc", "=", "", ";", "fp_bits", "=", "", ";", "gp_reg_rounded", "=", "IQ2000_STACK_ALIGN", "(", "gp_reg_size", ")", ";", "total_size", "+=", "gp_reg_rounded", "+", "IQ2000_STACK_ALIGN", "(", "fp_reg_size", ")", ";", "if", "(", "total_size", "==", "extra_size", "&&", "!", "profile_flag", ")", "total_size", "=", "extra_size", "=", "", ";", "total_size", "+=", "IQ2000_STACK_ALIGN", "(", "current_function_pretend_args_size", ")", ";", "cfun", "->", "machine", "->", "total_size", "=", "total_size", ";", "cfun", "->", "machine", "->", "var_size", "=", "var_size", ";", "cfun", "->", "machine", "->", "args_size", "=", "args_size", ";", "cfun", "->", "machine", "->", "extra_size", "=", "extra_size", ";", "cfun", "->", "machine", "->", "gp_reg_size", "=", "gp_reg_size", ";", "cfun", "->", "machine", "->", "fp_reg_size", "=", "fp_reg_size", ";"], "ground_truth": ["cfun", "->", "machine", "->", "mask", "=", "mask", ";"], "File": "iq20002", "Func": "compute_frame_size", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255445, "Length": 266, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "if", "(", "code", "[", "i", "]", "==", "REG", "&&", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "i", "]", ".", "predicate", ")", "(", "op", "[", "i", "]", ",", "mode", "[", "i", "]", ")", ")", "op", "[", "i", "]", "=", "copy_to_mode_reg", "(", "mode", "[", "i", "]", ",", "op", "[", "i", "]", ")", ";", "}", "if", "(", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "constraint", "[", "", "]", "==", "'='", ")", "{", "if", "(", "target", "==", "", "||", "GET_MODE", "(", "target", ")", "!=", "mode", "[", "", "]", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "predicate", ")", "(", "target", ",", "mode", "[", "", "]", ")", ")", "target", "=", "gen_reg_rtx", "(", "mode", "[", "", "]", ")", ";", "}", "else", "target", "=", "", ";", "switch", "(", "argcount", ")", "{", "case", "", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ")", ";", "break", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "break", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";"], "ground_truth": ["break", ";"], "File": "iq20002", "Func": "expand_one_builtin", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255446, "Length": 293, "Cover_Rate": 0.5376146788990825} {"Template_token": ["", "iq2000_load_reg", "=", "", ";", "iq2000_load_reg2", "=", "", ";", "iq2000_load_reg3", "=", "", ";", "iq2000_load_reg4", "=", "", ";", "}", "if", "(", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "||", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", "||", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "RETURN", ")", ")", "&&", "NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "==", "insn", ")", "{", "rtx", "nop_insn", "=", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "insn", ")", ";", "INSN_ADDRESSES_NEW", "(", "nop_insn", ",", "-", "", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "final_prescan_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255447, "Length": 79, "Cover_Rate": 0.3495575221238938} {"Template_token": ["", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "BITS_PER_WORD", "&&", "host_integerp", "(", "bit_position", "(", "field", ")", ",", "", ")", "&&", "int_bit_position", "(", "field", ")", "%", "BITS_PER_WORD", "==", "", ")", "break", ";", "if", "(", "!", "field", "||", "mode", "==", "DFmode", ")", "ret", "=", "gen_rtx_REG", "(", "mode", ",", "regbase", "+", "*", "arg_words", "+", "bias", ")", ";", "else", "{", "unsigned", "int", "chunks", ";", "HOST_WIDE_INT", "bitpos", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "i", ";", "chunks", "=", "tree_low_cst", "(", "TYPE_SIZE_UNIT", "(", "type", ")", ",", "", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "chunks", "+", "*", "arg_words", "+", "bias", ">", "(", "unsigned", ")", "MAX_ARGS_IN_REGISTERS", ")", "chunks", "=", "MAX_ARGS_IN_REGISTERS", "-", "*", "arg_words", "-", "bias", ";", "ret", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "chunks", ")", ")", ";", "bitpos", "=", "", ";", "regno", "=", "regbase", "+", "*", "arg_words", "+", "bias", ";", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "chunks", ";", "i", "++", ")", "{", "rtx", "reg", ";", "for", "(", ";", "field", ";", "field", "=", "TREE_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "int_bit_position", "(", "field", ")", ">=", "bitpos", ")", "break", ";", "if", "(", "field", "&&", "int_bit_position", "(", "field", ")", "==", "bitpos", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "BITS_PER_WORD", ")", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "regno", "++", ")", ";", "else", "reg", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "XVECEXP", "(", "ret", ",", "", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "bitpos", "/", "BITS_PER_UNIT", ")", ")", ";", "bitpos", "+=", "", ";", "regno", "++", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "function_arg", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255448, "Length": 309, "Cover_Rate": 0.4204081632653061} {"Template_token": ["", "void", "function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ")", "{", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "", ",", "cum", "->", "gp_reg_found", ",", "cum", "->", "arg_number", ",", "cum", "->", "arg_words", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "(", "void", "*", ")", "type", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "named", ")", ";", "}", "cum", "->", "arg_number", "++", ";", "switch", "(", "mode", ")", "{", "case", "VOIDmode", ":", "break", ";", "default", ":", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", ";", "cum", "->", "gp_reg_found", "=", "", ";", "cum", "->", "arg_words", "+=", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "BLKmode", ":", "cum", "->", "gp_reg_found", "=", "", ";", "cum", "->", "arg_words", "+=", "(", "(", "int_size_in_bytes", "(", "type", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "SFmode", ":", "cum", "->", "arg_words", "++", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "", ")", "cum", "->", "fp_code", "+=", "", "<<", "(", "(", "cum", "->", "arg_number", "-", "", ")", "*", "", ")", ";", "break", ";", "case", "DFmode", ":", "cum", "->", "arg_words", "+=", "", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "", ")", "cum", "->", "fp_code", "+=", "", "<<", "(", "(", "cum", "->", "arg_number", "-", "", ")", "*", "", ")", ";", "break", ";", "case", "DImode", ":", "cum", "->", "gp_reg_found", "=", "", ";", "cum", "->", "arg_words", "+=", "", ";"], "ground_truth": ["break", ";"], "File": "iq20002", "Func": "function_arg_advance", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255449, "Length": 261, "Cover_Rate": 0.9157894736842105} {"Template_token": ["", "mode", "=", "type", "==", "CMP_SI", "?", "SImode", ":", "DImode", ";", "invert", "=", "", ";", "reg", "=", "gen_int_relational", "(", "test_code", ",", "NULL_RTX", ",", "cmp0", ",", "cmp1", ",", "&", "invert", ")", ";", "if", "(", "reg", ")", "{", "cmp0", "=", "reg", ";", "cmp1", "=", "const0_rtx", ";", "test_code", "=", "NE", ";", "}", "else", "if", "(", "GET_CODE", "(", "cmp1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "cmp1", ")", "!=", "", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "break", ";", "case", "CMP_SF", ":", "case", "CMP_DF", ":", "reg", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "gen_rtx_fmt_ee", "(", "test_code", "==", "NE", "?", "EQ", ":", "test_code", ",", "CCmode", ",", "cmp0", ",", "cmp1", ")", ")", ")", ";", "test_code", "=", "test_code", "==", "NE", "?", "EQ", ":", "NE", ";", "mode", "=", "CCmode", ";", "cmp0", "=", "reg", ";", "cmp1", "=", "const0_rtx", ";", "invert", "=", "", ";"], "ground_truth": ["break", ";"], "File": "iq20002", "Func": "gen_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255450, "Length": 144, "Cover_Rate": 0.5052631578947369} {"Template_token": ["", "reg", "=", "gen_reg_rtx", "(", "CCmode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "gen_rtx_fmt_ee", "(", "test_code", "==", "NE", "?", "EQ", ":", "test_code", ",", "CCmode", ",", "cmp0", ",", "cmp1", ")", ")", ")", ";", "test_code", "=", "test_code", "==", "NE", "?", "EQ", ":", "NE", ";", "mode", "=", "CCmode", ";", "cmp0", "=", "reg", ";", "cmp1", "=", "const0_rtx", ";", "invert", "=", "", ";", "break", ";", "default", ":", "abort_with_insn", "(", "gen_rtx_fmt_ee", "(", "test_code", ",", "VOIDmode", ",", "cmp0", ",", "cmp1", ")", ",", "", ")", ";", "}", "label1", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "", "]", ")", ";", "label2", "=", "pc_rtx", ";", "if", "(", "invert", ")", "{", "label2", "=", "label1", ";", "label1", "=", "pc_rtx", ";", "}"], "ground_truth": ["emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_fmt_ee", "(", "test_code", ",", "mode", ",", "cmp0", ",", "cmp1", ")", ",", "label1", ",", "label2", ")", ")", ")", ";"], "File": "iq20002", "Func": "gen_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255451, "Length": 141, "Cover_Rate": 0.49473684210526314} {"Template_token": ["", "int", "gp_reg_size", ";", "int", "fp_reg_size", ";", "long", "mask", ";", "long", "gp_save_offset", ";", "long", "fp_save_offset", ";", "long", "gp_sp_offset", ";", "long", "fp_sp_offset", ";", "int", "initialized", ";"], "ground_truth": ["int", "num_gp", ";"], "File": "iq20002", "Func": "GTY", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255453, "Length": 27, "Cover_Rate": 0.5625} {"Template_token": ["", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ")", "{", "static", "CUMULATIVE_ARGS", "zero_cum", ";", "tree", "param", ";", "tree", "next_param", ";", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "", ",", "(", "long", ")", "fntype", ")", ";", "if", "(", "!", "fntype", ")", "fputc", "(", "'\\n'", ",", "stderr", ")", ";", "else", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "fntype", ")", "]", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "ret_type", ")", "]", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "init_cumulative_args", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255454, "Length": 94, "Cover_Rate": 0.6266666666666667} {"Template_token": ["", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "", ",", "(", "long", ")", "fntype", ")", ";", "if", "(", "!", "fntype", ")", "fputc", "(", "'\\n'", ",", "stderr", ")", ";", "else", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "fntype", ")", "]", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "ret_type", ")", "]", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "init_cumulative_args", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255455, "Length": 69, "Cover_Rate": 0.46} {"Template_token": ["", "}", "case", "SYMBOL_REF", ":", "return", "SYMBOL_REF_FLAG", "(", "addr", ")", "?", "", ":", "", ";", "case", "PLUS", ":", "{", "rtx", "plus0", "=", "XEXP", "(", "addr", ",", "", ")", ";", "rtx", "plus1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", "&&", "GET_CODE", "(", "plus1", ")", "==", "REG", ")", "plus0", "=", "XEXP", "(", "addr", ",", "", ")", ",", "plus1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", ")", "break", ";", "switch", "(", "GET_CODE", "(", "plus1", ")", ")", "{", "case", "CONST_INT", ":", "return", "SMALL_INT", "(", "plus1", ")", "?", "", ":", "", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "case", "HIGH", ":", "case", "LO_SUM", ":", "return", "iq2000_address_cost", "(", "plus1", ")", "+", "", ";"], "ground_truth": ["default", ":"], "File": "iq20002", "Func": "iq2000_address_cost", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255456, "Length": 129, "Cover_Rate": 0.5633187772925764} {"Template_token": ["", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", "&&", "GET_CODE", "(", "plus1", ")", "==", "REG", ")", "plus0", "=", "XEXP", "(", "addr", ",", "", ")", ",", "plus1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", ")", "break", ";", "switch", "(", "GET_CODE", "(", "plus1", ")", ")", "{", "case", "CONST_INT", ":", "return", "SMALL_INT", "(", "plus1", ")", "?", "", ":", "", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "case", "HIGH", ":", "case", "LO_SUM", ":", "return", "iq2000_address_cost", "(", "plus1", ")", "+", "", ";", "default", ":", "break", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_address_cost", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255457, "Length": 94, "Cover_Rate": 0.4104803493449782} {"Template_token": ["", "int", "iq2000_adjust_insn_length", "(", "rtx", "insn", ",", "int", "length", ")", "{"], "ground_truth": ["if", "(", "simplejump_p", "(", "insn", ")", "||", "(", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "||", "GET_CODE", "(", "insn", ")", "==", "CALL_INSN", ")", ")", ")", "length", "+=", "", ";"], "File": "iq20002", "Func": "iq2000_adjust_insn_length", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255458, "Length": 39, "Cover_Rate": 0.9069767441860465} {"Template_token": ["", "static", "void", "iq2000_annotate_frame_insn", "(", "rtx", "insn", ",", "rtx", "dwarf_pattern", ")", "{", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";"], "ground_truth": ["REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";"], "File": "iq20002", "Func": "iq2000_annotate_frame_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255459, "Length": 35, "Cover_Rate": 0.9722222222222222} {"Template_token": ["", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_annotate_frame_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255460, "Length": 25, "Cover_Rate": 0.6944444444444444} {"Template_token": ["", "static", "int", "iq2000_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "mode", "==", "DImode", "&&", "cum", "->", "arg_words", "==", "MAX_ARGS_IN_REGISTERS", "-", "", ")", "{"], "ground_truth": ["if", "(", "TARGET_DEBUG_D_MODE", ")", "fprintf", "(", "stderr", ",", "", ",", "UNITS_PER_WORD", ")", ";"], "File": "iq20002", "Func": "iq2000_arg_partial_bytes", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255461, "Length": 49, "Cover_Rate": 0.8596491228070176} {"Template_token": ["", "static", "int", "iq2000_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "mode", "==", "DImode", "&&", "cum", "->", "arg_words", "==", "MAX_ARGS_IN_REGISTERS", "-", "", ")", "{"], "ground_truth": ["if", "(", "TARGET_DEBUG_D_MODE", ")", "fprintf", "(", "stderr", ",", "", ",", "UNITS_PER_WORD", ")", ";"], "File": "iq20002", "Func": "iq2000_arg_partial_bytes", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255462, "Length": 49, "Cover_Rate": 0.8596491228070176} {"Template_token": ["", "if", "(", "!", "reload_completed", ")", "return", "", ";", "if", "(", "regs_ever_live", "[", "", "]", "||", "profile_flag", ")", "return", "", ";", "if", "(", "cfun", "->", "machine", "->", "initialized", ")", "return", "cfun", "->", "machine", "->", "total_size", "==", "", ";"], "ground_truth": ["return", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", "==", "", ";"], "File": "iq20002", "Func": "iq2000_can_use_return_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255463, "Length": 47, "Cover_Rate": 0.8703703703703703} {"Template_token": ["", "int", "iq2000_can_use_return_insn", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "", ";"], "ground_truth": ["if", "(", "regs_ever_live", "[", "", "]", "||", "profile_flag", ")", "return", "", ";"], "File": "iq20002", "Func": "iq2000_can_use_return_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255464, "Length": 26, "Cover_Rate": 0.48148148148148145} {"Template_token": ["", "if", "(", "(", "GET_CODE", "(", "address", ")", "==", "SYMBOL_REF", ")", "||", "(", "GET_CODE", "(", "address", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "address", ",", "", ")", ",", "", ")", ")", "==", "SYMBOL_REF", ")", "||", "GET_CODE", "(", "address", ")", "==", "LABEL_REF", ")", "return", "", ";"], "ground_truth": ["return", "", ";"], "File": "iq20002", "Func": "iq2000_check_split", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255465, "Length": 50, "Cover_Rate": 0.6493506493506493} {"Template_token": ["", "static", "void", "iq2000_emit_frame_related_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "dwarf_address", "=", "plus_constant", "(", "stack_pointer_rtx", ",", "offset", ")", ";"], "ground_truth": ["rtx", "dwarf_mem", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "reg", ")", ",", "dwarf_address", ")", ";"], "File": "iq20002", "Func": "iq2000_emit_frame_related_store", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255467, "Length": 37, "Cover_Rate": 0.6166666666666667} {"Template_token": ["", "rtx", "scratch", ";", "scratch", "=", "plus_constant", "(", "stack_pointer_rtx", ",", "gp_offset", ")", ";"], "ground_truth": ["emit_move_insn", "(", "gen_rtx_MEM", "(", "GET_MODE", "(", "address", ")", ",", "scratch", ")", ",", "address", ")", ";"], "File": "iq20002", "Func": "iq2000_expand_eh_return", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255469, "Length": 27, "Cover_Rate": 0.6136363636363636} {"Template_token": ["", "void", "iq2000_expand_eh_return", "(", "rtx", "address", ")", "{"], "ground_truth": ["HOST_WIDE_INT", "gp_offset", "=", "cfun", "->", "machine", "->", "gp_sp_offset", ";"], "File": "iq20002", "Func": "iq2000_expand_eh_return", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255470, "Length": 16, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "HOST_WIDE_INT", "tsize", "=", "cfun", "->", "machine", "->", "total_size", ";", "rtx", "tsize_rtx", "=", "GEN_INT", "(", "tsize", ")", ";", "rtx", "tmp_rtx", "=", "(", "rtx", ")", "", ";", "if", "(", "iq2000_can_use_return_insn", "(", ")", ")", "{", "emit_jump_insn", "(", "gen_return", "(", ")", ")", ";", "return", ";", "}", "if", "(", "tsize", ">", "", ")", "{", "tmp_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "IQ2000_TEMP1_REGNUM", ")", ";", "emit_move_insn", "(", "tmp_rtx", ",", "tsize_rtx", ")", ";", "tsize_rtx", "=", "tmp_rtx", ";", "}", "if", "(", "tsize", ">", "", ")", "{", "if", "(", "frame_pointer_needed", ")", "{", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "emit_insn", "(", "gen_movsi", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ")", ")", ";", "}", "save_restore_insns", "(", "", ")", ";", "if", "(", "current_function_calls_eh_return", ")", "{", "rtx", "eh_ofs", "=", "EH_RETURN_STACKADJ_RTX", ";", "emit_insn", "(", "gen_addsi3", "(", "eh_ofs", ",", "eh_ofs", ",", "tsize_rtx", ")", ")", ";", "tsize_rtx", "=", "eh_ofs", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_expand_epilogue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255471, "Length": 132, "Cover_Rate": 0.5866666666666667} {"Template_token": ["", "}", "}", "else", "{", "regno", "=", "GP_ARG_LAST", "+", "", ";", "break", ";", "}", "}", "next_arg_reg", "=", "FUNCTION_ARG", "(", "args_so_far", ",", "VOIDmode", ",", "void_type_node", ",", "", ")", ";", "if", "(", "next_arg_reg", "!=", "", "&&", "GET_CODE", "(", "next_arg_reg", ")", "==", "PARALLEL", ")", "{", "rtvec", "adjust", "=", "XVEC", "(", "next_arg_reg", ",", "", ")", ";", "int", "num", "=", "GET_NUM_ELEM", "(", "adjust", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "num", ";", "i", "++", ")", "{", "rtx", "insn", ",", "pattern", ";", "pattern", "=", "RTVEC_ELT", "(", "adjust", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "ASHIFT", ")", "abort_with_insn", "(", "pattern", ",", "", ")", ";", "PUT_CODE", "(", "SET_SRC", "(", "pattern", ")", ",", "ASHIFTRT", ")", ";", "insn", "=", "emit_insn", "(", "pattern", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_MAYBE_DEAD", ",", "NULL_RTX", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "}", "tsize", "=", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "store_args_on_stack", "&&", "(", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", "!=", "", "&&", "(", "TREE_VALUE", "(", "tree_last", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ")", "!=", "void_type_node", ")", ")", "||", "last_arg_is_vararg_marker", ")", ")", "{", "int", "offset", "=", "(", "regno", "-", "GP_ARG_FIRST", ")", "*", "UNITS_PER_WORD", ";", "rtx", "ptr", "=", "stack_pointer_rtx", ";", "for", "(", ";", "regno", "<=", "GP_ARG_LAST", ";", "regno", "++", ")", "{", "if", "(", "offset", "!=", "", ")", "ptr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ";"], "ground_truth": ["emit_move_insn", "(", "gen_rtx_MEM", "(", "gpr_mode", ",", "ptr", ")", ",", "gen_rtx_REG", "(", "gpr_mode", ",", "regno", ")", ")", ";"], "File": "iq20002", "Func": "iq2000_expand_prologue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255472, "Length": 255, "Cover_Rate": 0.3337696335078534} {"Template_token": ["", "next_arg_reg", "=", "FUNCTION_ARG", "(", "args_so_far", ",", "VOIDmode", ",", "void_type_node", ",", "", ")", ";", "if", "(", "next_arg_reg", "!=", "", "&&", "GET_CODE", "(", "next_arg_reg", ")", "==", "PARALLEL", ")", "{", "rtvec", "adjust", "=", "XVEC", "(", "next_arg_reg", ",", "", ")", ";", "int", "num", "=", "GET_NUM_ELEM", "(", "adjust", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "num", ";", "i", "++", ")", "{", "rtx", "insn", ",", "pattern", ";", "pattern", "=", "RTVEC_ELT", "(", "adjust", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "ASHIFT", ")", "abort_with_insn", "(", "pattern", ",", "", ")", ";", "PUT_CODE", "(", "SET_SRC", "(", "pattern", ")", ",", "ASHIFTRT", ")", ";", "insn", "=", "emit_insn", "(", "pattern", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_MAYBE_DEAD", ",", "NULL_RTX", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "}", "tsize", "=", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "store_args_on_stack", "&&", "(", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", "!=", "", "&&", "(", "TREE_VALUE", "(", "tree_last", "(", "TYPE_ARG_TYPES", "(", "fntype", ")", ")", ")", "!=", "void_type_node", ")", ")", "||", "last_arg_is_vararg_marker", ")", ")", "{", "int", "offset", "=", "(", "regno", "-", "GP_ARG_FIRST", ")", "*", "UNITS_PER_WORD", ";", "rtx", "ptr", "=", "stack_pointer_rtx", ";", "for", "(", ";", "regno", "<=", "GP_ARG_LAST", ";", "regno", "++", ")", "{", "if", "(", "offset", "!=", "", ")", "ptr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "gpr_mode", ",", "ptr", ")", ",", "gen_rtx_REG", "(", "gpr_mode", ",", "regno", ")", ")", ";", "offset", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "}", "}", "if", "(", "tsize", ">", "", ")", "{", "rtx", "tsize_rtx", "=", "GEN_INT", "(", "tsize", ")", ";", "rtx", "adjustment_rtx", ",", "insn", ",", "dwarf_pattern", ";", "if", "(", "tsize", ">", "", ")", "{", "adjustment_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "IQ2000_TEMP1_REGNUM", ")", ";", "emit_move_insn", "(", "adjustment_rtx", ",", "tsize_rtx", ")", ";", "}", "else", "adjustment_rtx", "=", "tsize_rtx", ";", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "adjustment_rtx", ")", ")", ";", "dwarf_pattern", "=", "gen_rtx_SET", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "stack_pointer_rtx", ",", "-", "tsize", ")", ")", ";", "iq2000_annotate_frame_insn", "(", "insn", ",", "dwarf_pattern", ")", ";", "save_restore_insns", "(", "", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "rtx", "insn", "=", "", ";", "insn", "=", "emit_insn", "(", "gen_movsi", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ")", ";", "if", "(", "insn", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_expand_prologue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255473, "Length": 378, "Cover_Rate": 0.49476439790575916} {"Template_token": ["", "dslots_load_total", "+=", "num_nops", ";", "if", "(", "TARGET_DEBUG_C_MODE", "||", "type", "==", "DELAY_NONE", "||", "operands", "==", "", "||", "cur_insn", "==", "", "||", "next_insn", "==", "", "||", "GET_CODE", "(", "next_insn", ")", "==", "CODE_LABEL", "||", "(", "set_reg", "=", "operands", "[", "", "]", ")", "==", "", ")", "{", "dslots_number_nops", "=", "", ";", "iq2000_load_reg", "=", "", ";", "iq2000_load_reg2", "=", "", ";", "iq2000_load_reg3", "=", "", ";", "iq2000_load_reg4", "=", "", ";", "return", "ret", ";", "}", "set_reg", "=", "operands", "[", "", "]", ";", "if", "(", "set_reg", "==", "", ")", "return", "ret", ";", "while", "(", "GET_CODE", "(", "set_reg", ")", "==", "SUBREG", ")", "set_reg", "=", "SUBREG_REG", "(", "set_reg", ")", ";", "mode", "=", "GET_MODE", "(", "set_reg", ")", ";", "dslots_number_nops", "=", "num_nops", ";", "iq2000_load_reg", "=", "set_reg", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "(", "unsigned", ")", "(", "UNITS_PER_WORD", ")", ")", "iq2000_load_reg2", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "set_reg", ")", "+", "", ")", ";", "else", "iq2000_load_reg2", "=", "", ";", "return", "ret", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_fill_delay_slot", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255474, "Length": 151, "Cover_Rate": 0.601593625498008} {"Template_token": ["", "mode", "=", "promote_mode", "(", "valtype", ",", "mode", ",", "&", "unsignedp", ",", "", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "reg", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_function_value", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255475, "Length": 23, "Cover_Rate": 0.4107142857142857} {"Template_token": ["", "int", "unsignedp", "=", "TYPE_UNSIGNED", "(", "valtype", ")", ";", "mode", "=", "promote_mode", "(", "valtype", ",", "mode", ",", "&", "unsignedp", ",", "", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "reg", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_function_value", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255476, "Length": 31, "Cover_Rate": 0.5535714285714286} {"Template_token": ["", "return", "(", "strcmp", "(", "arg", ",", "", ")", "==", "", "||", "strcmp", "(", "arg", ",", "", ")", "==", "", "||", "strcmp", "(", "arg", ",", "", ")", "==", "", ")", ";"], "ground_truth": ["default", ":"], "File": "iq20002", "Func": "iq2000_handle_option", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255477, "Length": 32, "Cover_Rate": 0.3106796116504854} {"Template_token": ["", "return", "(", "strcmp", "(", "arg", ",", "", ")", "==", "", "||", "strcmp", "(", "arg", ",", "", ")", "==", "", "||", "strcmp", "(", "arg", ",", "", ")", "==", "", ")", ";"], "ground_truth": ["default", ":"], "File": "iq20002", "Func": "iq2000_handle_option", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255478, "Length": 32, "Cover_Rate": 0.3106796116504854} {"Template_token": ["", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "(", "from", ")", "==", "FRAME_POINTER_REGNUM", ")", "(", "offset", ")", "=", "", ";", "else", "if", "(", "(", "from", ")", "==", "ARG_POINTER_REGNUM", ")", "(", "offset", ")", "=", "(", "cfun", "->", "machine", "->", "total_size", ")", ";", "else", "if", "(", "(", "from", ")", "==", "RETURN_ADDRESS_POINTER_REGNUM", ")", "{", "if", "(", "leaf_function_p", "(", ")", ")", "(", "offset", ")", "=", "", ";", "else", "(", "offset", ")", "=", "cfun", "->", "machine", "->", "gp_sp_offset", "+", "(", "(", "UNITS_PER_WORD", "-", "(", "POINTER_SIZE", "/", "BITS_PER_UNIT", ")", ")", "*", "(", "BYTES_BIG_ENDIAN", "!=", "", ")", ")", ";", "}"], "ground_truth": ["return", "offset", ";"], "File": "iq20002", "Func": "iq2000_initial_elimination_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255479, "Length": 97, "Cover_Rate": 0.8660714285714286} {"Template_token": ["", "if", "(", "leaf_function_p", "(", ")", ")", "(", "offset", ")", "=", "", ";"], "ground_truth": ["else", "(", "offset", ")", "=", "cfun", "->", "machine", "->", "gp_sp_offset", "+", "(", "(", "UNITS_PER_WORD", "-", "(", "POINTER_SIZE", "/", "BITS_PER_UNIT", ")", ")", "*", "(", "BYTES_BIG_ENDIAN", "!=", "", ")", ")", ";"], "File": "iq20002", "Func": "iq2000_initial_elimination_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255480, "Length": 41, "Cover_Rate": 0.36607142857142855} {"Template_token": ["", "struct", "machine_function", "*", "f", ";", "f", "=", "ggc_alloc_cleared", "(", "sizeof", "(", "struct", "machine_function", ")", ")", ";", "return", "f", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_init_machine_status", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255482, "Length": 20, "Cover_Rate": 0.6896551724137931} {"Template_token": ["", "GO_PRINTF2", "(", "", ",", "strict", "?", "", ":", "", ")", ";", "GO_DEBUG_RTX", "(", "xinsn", ")", ";", "}", "if", "(", "CONSTANT_ADDRESS_P", "(", "xinsn", ")", "&&", "!", "(", "iq2000_check_split", "(", "xinsn", ",", "mode", ")", ")", "&&", "!", "(", "GET_CODE", "(", "xinsn", ")", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "xinsn", ")", ")", ")", "return", "", ";", "while", "(", "GET_CODE", "(", "xinsn", ")", "==", "SUBREG", ")", "xinsn", "=", "SUBREG_REG", "(", "xinsn", ")", ";", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "REG", "&&", "iq2000_reg_mode_ok_for_base_p", "(", "xinsn", ",", "mode", ",", "strict", ")", ")", "return", "", ";", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "LO_SUM", ")", "{", "rtx", "xlow0", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "rtx", "xlow1", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "while", "(", "GET_CODE", "(", "xlow0", ")", "==", "SUBREG", ")", "xlow0", "=", "SUBREG_REG", "(", "xlow0", ")", ";", "if", "(", "GET_CODE", "(", "xlow0", ")", "==", "REG", "&&", "iq2000_reg_mode_ok_for_base_p", "(", "xlow0", ",", "mode", ",", "strict", ")", "&&", "iq2000_check_split", "(", "xlow1", ",", "mode", ")", ")", "return", "", ";", "}", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "PLUS", ")", "{", "rtx", "xplus0", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "rtx", "xplus1", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "enum", "rtx_code", "code0", ";", "enum", "rtx_code", "code1", ";", "while", "(", "GET_CODE", "(", "xplus0", ")", "==", "SUBREG", ")", "xplus0", "=", "SUBREG_REG", "(", "xplus0", ")", ";", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";"], "ground_truth": ["while", "(", "GET_CODE", "(", "xplus1", ")", "==", "SUBREG", ")", "xplus1", "=", "SUBREG_REG", "(", "xplus1", ")", ";"], "File": "iq20002", "Func": "iq2000_legitimate_address_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255483, "Length": 242, "Cover_Rate": 0.7610062893081762} {"Template_token": ["", "if", "(", "SMALL_INT_UNSIGNED", "(", "op1", ")", ")", "ret", "=", "", ";", "else", "if", "(", "SMALL_INT", "(", "op1", ")", ")", "ret", "=", "", ";", "else", "ret", "=", "", ";", "}", "}", "else", "if", "(", "code1", "==", "CONST_DOUBLE", "&&", "mode", "==", "SFmode", ")", "{", "if", "(", "op1", "==", "CONST0_RTX", "(", "SFmode", ")", ")", "{", "if", "(", "GP_REG_P", "(", "regno0", ")", ")", "ret", "=", "", ";", "}", "else", "{", "delay", "=", "DELAY_LOAD", ";", "ret", "=", "", ";", "}", "}", "else", "if", "(", "code1", "==", "LABEL_REF", ")", "{", "if", "(", "TARGET_STATS", ")", "iq2000_count_memory_refs", "(", "op1", ",", "", ")", ";", "ret", "=", "", ";", "}", "else", "if", "(", "code1", "==", "SYMBOL_REF", "||", "code1", "==", "CONST", ")", "{", "if", "(", "TARGET_STATS", ")", "iq2000_count_memory_refs", "(", "op1", ",", "", ")", ";", "ret", "=", "", ";", "}", "else", "if", "(", "code1", "==", "PLUS", ")", "{", "rtx", "add_op0", "=", "XEXP", "(", "op1", ",", "", ")", ";", "rtx", "add_op1", "=", "XEXP", "(", "op1", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "op1", ",", "", ")", ")", "==", "REG", "&&", "GET_CODE", "(", "XEXP", "(", "op1", ",", "", ")", ")", "==", "CONST_INT", ")", "add_op0", "=", "XEXP", "(", "op1", ",", "", ")", ",", "add_op1", "=", "XEXP", "(", "op1", ",", "", ")", ";", "operands", "[", "", "]", "=", "add_op0", ";", "operands", "[", "", "]", "=", "add_op1", ";", "ret", "=", "", ";", "}", "else", "if", "(", "code1", "==", "HIGH", ")", "{", "operands", "[", "", "]", "=", "XEXP", "(", "op1", ",", "", ")", ";", "ret", "=", "", ";", "}", "}", "else", "if", "(", "code0", "==", "MEM", ")", "{", "if", "(", "TARGET_STATS", ")", "iq2000_count_memory_refs", "(", "op0", ",", "", ")", ";", "if", "(", "code1", "==", "REG", ")", "{", "int", "regno1", "=", "REGNO", "(", "op1", ")", "+", "subreg_offset1", ";", "if", "(", "GP_REG_P", "(", "regno1", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "ret", "=", "", ";", "break", ";", "case", "SImode", ":", "ret", "=", "", ";", "break", ";", "case", "HImode", ":", "ret", "=", "", ";", "break", ";", "case", "QImode", ":", "ret", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "else", "if", "(", "code1", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "==", "", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "ret", "=", "", ";", "break", ";", "case", "SImode", ":", "ret", "=", "", ";", "break", ";", "case", "HImode", ":", "ret", "=", "", ";", "break", ";", "case", "QImode", ":", "ret", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "code1", "==", "CONST_DOUBLE", "&&", "op1", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "ret", "=", "", ";", "break", ";"], "ground_truth": ["case", "SImode", ":", "ret", "=", "", ";", "break", ";"], "File": "iq20002", "Func": "iq2000_move_1word", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255484, "Length": 437, "Cover_Rate": 0.4653887113951012} {"Template_token": ["", "case", "", ":", "{", "const", "char", "*", "target", "=", "(", "(", "iq2000_branch_likely", "||", "length", "==", "", ")", "?", "", ":", "", ")", ";", "char", "*", "c", ";", "c", "=", "strchr", "(", "buffer", ",", "'\\0'", ")", ";", "if", "(", "float_p", ")", "sprintf", "(", "c", ",", "", ",", "inverted_p", "?", "comp", ":", "inverted_comp", ",", "target", ")", ";", "else", "sprintf", "(", "c", ",", "", ",", "inverted_p", "?", "comp", ":", "inverted_comp", ",", "need_z_p", "?", "", ":", "", ",", "op1", ",", "op2", ",", "target", ")", ";", "strcat", "(", "c", ",", "", ")", ";", "if", "(", "length", "==", "", ")", "strcat", "(", "buffer", ",", "", ")", ";", "return", "buffer", ";", "}", "default", ":", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_output_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255485, "Length": 112, "Cover_Rate": 0.30434782608695654} {"Template_token": ["", "int", "size", ";", "if", "(", "cum", "&&", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "{", "CUMULATIVE_ARGS", "temp", ";", "temp", "=", "*", "cum", ";", "if", "(", "FUNCTION_ARG", "(", "temp", ",", "mode", ",", "type", ",", "named", ")", "!=", "", ")", "return", "", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_pass_by_reference", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255486, "Length": 46, "Cover_Rate": 0.45544554455445546} {"Template_token": ["", "static", "bool", "iq2000_pass_by_reference", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "int", "size", ";", "if", "(", "cum", "&&", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "{", "CUMULATIVE_ARGS", "temp", ";"], "ground_truth": ["temp", "=", "*", "cum", ";"], "File": "iq20002", "Func": "iq2000_pass_by_reference", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255487, "Length": 47, "Cover_Rate": 0.46534653465346537} {"Template_token": ["", "return", "(", "strict", "?", "REGNO_MODE_OK_FOR_BASE_P", "(", "REGNO", "(", "reg", ")", ",", "mode", ")", ":", "GP_REG_OR_PSEUDO_NONSTRICT_P", "(", "REGNO", "(", "reg", ")", ",", "mode", ")", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_reg_mode_ok_for_base_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255488, "Length": 26, "Cover_Rate": 0.6341463414634146} {"Template_token": ["", "int", "iq2000_reg_mode_ok_for_base_p", "(", "rtx", "reg", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "strict", ")", "{", "return", "(", "strict", "?", "REGNO_MODE_OK_FOR_BASE_P", "(", "REGNO", "(", "reg", ")", ",", "mode", ")", ":", "GP_REG_OR_PSEUDO_NONSTRICT_P", "(", "REGNO", "(", "reg", ")", ",", "mode", ")", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_reg_mode_ok_for_base_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255489, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "case", "NOT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "mode", "==", "DImode", "?", "", ":", "", ")", ";", "break", ";", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "if", "(", "mode", "==", "DImode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "CONST_INT", ")", "?", "", ":", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "ABS", ":", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "PLUS", ":", "case", "MINUS", ":", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "mode", "==", "DImode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "NEG", ":", "*", "total", "=", "(", "mode", "==", "DImode", ")", "?", "", ":", "", ";", "break", ";", "case", "MULT", ":", "if", "(", "mode", "==", "SFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";"], "ground_truth": ["case", "DIV", ":"], "File": "iq20002", "Func": "iq2000_rtx_costs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255492, "Length": 224, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "mergeable_constant_section", "(", "mode", ",", "align", ",", "", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_select_rtx_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255493, "Length": 10, "Cover_Rate": 0.37037037037037035} {"Template_token": ["", "mergeable_constant_section", "(", "mode", ",", "align", ",", "", ")", ";"], "ground_truth": ["}"], "File": "iq20002", "Func": "iq2000_select_rtx_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255494, "Length": 10, "Cover_Rate": 0.37037037037037035} {"Template_token": ["", "else", "data_section", "(", ")", ";", "}", "else", "{"], "ground_truth": ["if", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "||", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "readonly_data_section", "(", ")", ";"], "File": "iq20002", "Func": "iq2000_select_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255495, "Length": 63, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "static", "void", "iq2000_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "unsigned", "int", "iq2000_off", "=", "!", "cum", "->", "last_arg_fp", ";", "unsigned", "int", "iq2000_fp_off", "=", "cum", "->", "last_arg_fp", ";", "if", "(", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", ")", "{", "int", "iq2000_save_gp_regs", "=", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "arg_words", "-", "iq2000_off", ";", "int", "iq2000_save_fp_regs", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "fp_arg_words", "-", "iq2000_fp_off", ")", ";", "if", "(", "iq2000_save_gp_regs", "<", "", ")", "iq2000_save_gp_regs", "=", "", ";", "if", "(", "iq2000_save_fp_regs", "<", "", ")", "iq2000_save_fp_regs", "=", "", ";", "*", "pretend_size", "=", "(", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", "+", "(", "iq2000_save_fp_regs", "*", "UNITS_PER_FPREG", ")", ")", ";", "if", "(", "!", "(", "no_rtl", ")", ")", "{", "if", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", "{", "rtx", "ptr", ",", "mem", ";", "ptr", "=", "plus_constant", "(", "virtual_incoming_args_rtx", ",", "-", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", ")", ";"], "ground_truth": ["mem", "=", "gen_rtx_MEM", "(", "BLKmode", ",", "ptr", ")", ";"], "File": "iq20002", "Func": "iq2000_setup_incoming_varargs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255496, "Length": 163, "Cover_Rate": 0.8956043956043956} {"Template_token": ["", "int_arg_words", "=", "current_function_args_info", ".", "arg_words", ";", "if", "(", "int_arg_words", "<", "", ")", "gpr_save_area_size", "=", "(", "", "-", "int_arg_words", ")", "*", "UNITS_PER_WORD", ";"], "ground_truth": ["else", "gpr_save_area_size", "=", "", ";"], "File": "iq20002", "Func": "iq2000_va_start", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255497, "Length": 27, "Cover_Rate": 0.4426229508196721} {"Template_token": ["", "target_flags", "&=", "~", "MASK_GPOPT", ";", "iq2000_isa", "=", "IQ2000_ISA_DEFAULT", ";", "iq2000_print_operand_punct", "[", "'?'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'#'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'&'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'!'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'*'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'@'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'.'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'('", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "')'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'['", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "']'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'<'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'>'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'{'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'}'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'^'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'$'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'+'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'~'", "]", "=", "", ";", "gpr_mode", "=", "SImode", ";"], "ground_truth": ["init_machine_status", "=", "iq2000_init_machine_status", ";"], "File": "iq20002", "Func": "override_options", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255498, "Length": 150, "Cover_Rate": 0.9554140127388535} {"Template_token": ["", "target_flags", "&=", "~", "MASK_GPOPT", ";", "iq2000_isa", "=", "IQ2000_ISA_DEFAULT", ";", "iq2000_print_operand_punct", "[", "'?'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'#'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'&'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'!'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'*'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'@'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'.'", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "'('", "]", "=", "", ";", "iq2000_print_operand_punct", "[", "')'", "]", "=", "", ";"], "ground_truth": ["iq2000_print_operand_punct", "[", "'['", "]", "=", "", ";"], "File": "iq20002", "Func": "override_options", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255499, "Length": 79, "Cover_Rate": 0.5031847133757962} {"Template_token": ["", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "else", "abort_with_insn", "(", "addr", ",", "", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "offset", ")", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "if", "(", "REGNO", "(", "reg", ")", "==", "ARG_POINTER_REGNUM", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "output_addr_const", "(", "file", ",", "offset", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "reg", ")", "]", ")", ";", "}", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";"], "ground_truth": ["if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "", "]", ")", ";"], "File": "iq20002", "Func": "print_operand_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255502, "Length": 128, "Cover_Rate": 0.34782608695652173} {"Template_token": ["", "if", "(", "UNARY_P", "(", "x", ")", ")", "return", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "", ")", ")", ";"], "ground_truth": ["if", "(", "ARITHMETIC_P", "(", "x", ")", ")", "return", "(", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "", ")", ")", "||", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "", ")", ")", ")", ";"], "File": "iq20002", "Func": "symbolic_expression_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255503, "Length": 48, "Cover_Rate": 0.5217391304347826} {"Template_token": ["", "if", "(", "ARITHMETIC_P", "(", "x", ")", ")", "return", "(", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "", ")", ")", "||", "symbolic_expression_p", "(", "XEXP", "(", "x", ",", "", ")", ")", ")", ";"], "ground_truth": ["return", "", ";"], "File": "iq20002", "Func": "symbolic_expression_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255504, "Length": 33, "Cover_Rate": 0.358695652173913} {"Template_token": ["", "mode", "[", "", "]", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "mode", ";", "for", "(", "i", "=", "", ";", "i", "<", "argcount", ";", "i", "++", ")", "{", "arg", "[", "i", "]", "=", "CALL_EXPR_ARG", "(", "exp", ",", "i", ")", ";", "op", "[", "i", "]", "=", "expand_normal", "(", "arg", "[", "i", "]", ")", ";", "mode", "[", "i", "]", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "i", "]", ".", "mode", ";", "if", "(", "code", "[", "i", "]", "==", "CONST_INT", "&&", "GET_CODE", "(", "op", "[", "i", "]", ")", "!=", "CONST_INT", ")", "error", "(", "", ",", "i", "+", "", ")", ";", "if", "(", "code", "[", "i", "]", "==", "REG", "&&", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "i", "]", ".", "predicate", ")", "(", "op", "[", "i", "]", ",", "mode", "[", "i", "]", ")", ")", "op", "[", "i", "]", "=", "copy_to_mode_reg", "(", "mode", "[", "i", "]", ",", "op", "[", "i", "]", ")", ";", "}", "if", "(", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "constraint", "[", "", "]", "==", "'='", ")", "{", "if", "(", "target", "==", "", "||", "GET_MODE", "(", "target", ")", "!=", "mode", "[", "", "]", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "predicate", ")", "(", "target", ",", "mode", "[", "", "]", ")", ")", "target", "=", "gen_reg_rtx", "(", "mode", "[", "", "]", ")", ";", "}", "else", "target", "=", "", ";", "switch", "(", "argcount", ")", "{", "case", "", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ")", ";", "break", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "break", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "break", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "!", "pat", ")", "return", "", ";"], "ground_truth": ["emit_insn", "(", "pat", ")", ";"], "File": "iq20003", "Func": "expand_one_builtin", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255505, "Length": 482, "Cover_Rate": 0.9043151969981238} {"Template_token": ["", "int", "invert", ";", "rtx", "label1", ",", "label2", ";", "invert", "=", "", ";", "reg", "=", "gen_int_relational", "(", "test_code", ",", "NULL_RTX", ",", "cmp0", ",", "cmp1", ",", "&", "invert", ")", ";", "if", "(", "reg", ")", "{", "cmp0", "=", "reg", ";", "cmp1", "=", "const0_rtx", ";", "test_code", "=", "NE", ";", "}", "else", "if", "(", "GET_CODE", "(", "cmp1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "cmp1", ")", "!=", "", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "label1", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "", "]", ")", ";", "label2", "=", "pc_rtx", ";", "if", "(", "invert", ")", "{", "label2", "=", "label1", ";", "label1", "=", "pc_rtx", ";", "}"], "ground_truth": ["emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "gen_rtx_fmt_ee", "(", "test_code", ",", "VOIDmode", ",", "cmp0", ",", "cmp1", ")", ",", "label1", ",", "label2", ")", ")", ")", ";"], "File": "iq20003", "Func": "gen_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255506, "Length": 132, "Cover_Rate": 0.75} {"Template_token": ["", "if", "(", "reg", ")", "{", "cmp0", "=", "reg", ";", "cmp1", "=", "const0_rtx", ";", "test_code", "=", "NE", ";", "}", "else", "if", "(", "GET_CODE", "(", "cmp1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "cmp1", ")", "!=", "", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "label1", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "", "]", ")", ";", "label2", "=", "pc_rtx", ";"], "ground_truth": ["if", "(", "invert", ")", "{"], "File": "iq20003", "Func": "gen_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255507, "Length": 65, "Cover_Rate": 0.3693181818181818} {"Template_token": ["", "static", "int", "iq2000_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "mode", "==", "DImode", "&&", "cum", "->", "arg_words", "==", "MAX_ARGS_IN_REGISTERS", "-", "", ")", "{", "if", "(", "TARGET_DEBUG_D_MODE", ")", "fprintf", "(", "stderr", ",", "", ",", "UNITS_PER_WORD", ")", ";"], "ground_truth": ["return", "UNITS_PER_WORD", ";"], "File": "iq20003", "Func": "iq2000_arg_partial_bytes", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255508, "Length": 59, "Cover_Rate": 0.921875} {"Template_token": ["", "return", "expand_one_builtin", "(", "CODE_FOR_rx", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_SRRD", ":", "return", "expand_one_builtin", "(", "CODE_FOR_srrd", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_SRWR", ":", "return", "expand_one_builtin", "(", "CODE_FOR_srwr", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_WB", ":", "return", "expand_one_builtin", "(", "CODE_FOR_wb", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_WX", ":", "return", "expand_one_builtin", "(", "CODE_FOR_wx", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LUC32L", ":", "return", "expand_one_builtin", "(", "CODE_FOR_luc32l", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LUC64", ":", "return", "expand_one_builtin", "(", "CODE_FOR_luc64", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LUC64L", ":", "return", "expand_one_builtin", "(", "CODE_FOR_luc64l", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LUK", ":", "return", "expand_one_builtin", "(", "CODE_FOR_luk", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LULCK", ":", "return", "expand_one_builtin", "(", "CODE_FOR_lulck", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LUM32", ":", "return", "expand_one_builtin", "(", "CODE_FOR_lum32", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LUM32L", ":", "return", "expand_one_builtin", "(", "CODE_FOR_lum32l", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LUM64", ":", "return", "expand_one_builtin", "(", "CODE_FOR_lum64", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LUM64L", ":", "return", "expand_one_builtin", "(", "CODE_FOR_lum64l", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_LURL", ":", "return", "expand_one_builtin", "(", "CODE_FOR_lurl", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_MRGB", ":", "code", "[", "", "]", "=", "CONST_INT", ";", "return", "expand_one_builtin", "(", "CODE_FOR_mrgb", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_SRRDL", ":", "return", "expand_one_builtin", "(", "CODE_FOR_srrdl", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";", "case", "IQ2000_BUILTIN_SRULCK", ":", "return", "expand_one_builtin", "(", "CODE_FOR_srulck", ",", "target", ",", "exp", ",", "code", ",", "", ")", ";"], "ground_truth": ["case", "IQ2000_BUILTIN_SRWRU", ":"], "File": "iq20003", "Func": "iq2000_expand_builtin", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255512, "Length": 313, "Cover_Rate": 0.3062622309197652} {"Template_token": ["", "int", "regno", ";", "HOST_WIDE_INT", "tsize", ";", "int", "last_arg_is_vararg_marker", "=", "", ";", "tree", "fndecl", "=", "current_function_decl", ";", "tree", "fntype", "=", "TREE_TYPE", "(", "fndecl", ")", ";", "tree", "fnargs", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "rtx", "next_arg_reg", ";", "int", "i", ";", "tree", "next_arg", ";", "tree", "cur_arg", ";", "CUMULATIVE_ARGS", "args_so_far_v", ";", "cumulative_args_t", "args_so_far", ";", "int", "store_args_on_stack", "=", "(", "iq2000_can_use_return_insn", "(", ")", ")", ";", "if", "(", "aggregate_value_p", "(", "DECL_RESULT", "(", "fndecl", ")", ",", "fndecl", ")", "&&", "!", "cfun", "->", "returns_pcc_struct", "&&", "targetm", ".", "calls", ".", "struct_value_rtx", "(", "TREE_TYPE", "(", "fndecl", ")", ",", "", ")", "==", "", ")", "{", "tree", "type", "=", "build_pointer_type", "(", "fntype", ")", ";", "tree", "function_result_decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "PARM_DECL", ",", "NULL_TREE", ",", "type", ")", ";", "DECL_ARG_TYPE", "(", "function_result_decl", ")", "=", "type", ";", "DECL_CHAIN", "(", "function_result_decl", ")", "=", "fnargs", ";", "fnargs", "=", "function_result_decl", ";", "}", "INIT_CUMULATIVE_ARGS", "(", "args_so_far_v", ",", "fntype", ",", "NULL_RTX", ",", "", ",", "", ")", ";", "args_so_far", "=", "pack_cumulative_args", "(", "&", "args_so_far_v", ")", ";", "regno", "=", "GP_ARG_FIRST", ";", "for", "(", "cur_arg", "=", "fnargs", ";", "cur_arg", "!=", "", ";", "cur_arg", "=", "next_arg", ")", "{", "tree", "passed_type", "=", "DECL_ARG_TYPE", "(", "cur_arg", ")", ";", "machine_mode", "passed_mode", "=", "TYPE_MODE", "(", "passed_type", ")", ";", "rtx", "entry_parm", ";", "if", "(", "TREE_ADDRESSABLE", "(", "passed_type", ")", ")", "{", "passed_type", "=", "build_pointer_type", "(", "passed_type", ")", ";", "passed_mode", "=", "Pmode", ";", "}", "entry_parm", "=", "iq2000_function_arg", "(", "args_so_far", ",", "passed_mode", ",", "passed_type", ",", "true", ")", ";", "iq2000_function_arg_advance", "(", "args_so_far", ",", "passed_mode", ",", "passed_type", ",", "true", ")", ";", "next_arg", "=", "DECL_CHAIN", "(", "cur_arg", ")", ";", "if", "(", "entry_parm", "&&", "store_args_on_stack", ")", "{", "if", "(", "next_arg", "==", "", "&&", "DECL_NAME", "(", "cur_arg", ")", "&&", "(", "(", "", "==", "strcmp", "(", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cur_arg", ")", ")", ",", "", ")", ")", "||", "(", "", "==", "strcmp", "(", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cur_arg", ")", ")", ",", "", ")", ")", ")", ")", "{", "last_arg_is_vararg_marker", "=", "", ";", "break", ";", "}", "else", "{", "int", "words", ";", "gcc_assert", "(", "GET_CODE", "(", "entry_parm", ")", "==", "REG", ")", ";", "if", "(", "GET_MODE", "(", "entry_parm", ")", "==", "BLKmode", ")", "words", "=", "(", "int_size_in_bytes", "(", "passed_type", ")", "+", "", ")", "/", "", ";", "else", "words", "=", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "entry_parm", ")", ")", "+", "", ")", "/", "", ";", "regno", "=", "REGNO", "(", "entry_parm", ")", "+", "words", "-", "", ";", "}", "}", "else", "{", "regno", "=", "GP_ARG_LAST", "+", "", ";", "break", ";", "}", "}", "next_arg_reg", "=", "iq2000_function_arg", "(", "args_so_far", ",", "VOIDmode", ",", "void_type_node", ",", "true", ")", ";", "if", "(", "next_arg_reg", "!=", "", "&&", "GET_CODE", "(", "next_arg_reg", ")", "==", "PARALLEL", ")", "{", "rtvec", "adjust", "=", "XVEC", "(", "next_arg_reg", ",", "", ")", ";", "int", "num", "=", "GET_NUM_ELEM", "(", "adjust", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "num", ";", "i", "++", ")", "{", "rtx", "pattern", ";", "pattern", "=", "RTVEC_ELT", "(", "adjust", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "ASHIFT", ")", "abort_with_insn", "(", "pattern", ",", "", ")", ";", "PUT_CODE", "(", "SET_SRC", "(", "pattern", ")", ",", "ASHIFTRT", ")", ";"], "ground_truth": ["emit_insn", "(", "pattern", ")", ";"], "File": "iq20003", "Func": "iq2000_expand_prologue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255513, "Length": 497, "Cover_Rate": 0.6689098250336474} {"Template_token": ["", "}", "}", "next_arg_reg", "=", "iq2000_function_arg", "(", "args_so_far", ",", "VOIDmode", ",", "void_type_node", ",", "true", ")", ";", "if", "(", "next_arg_reg", "!=", "", "&&", "GET_CODE", "(", "next_arg_reg", ")", "==", "PARALLEL", ")", "{", "rtvec", "adjust", "=", "XVEC", "(", "next_arg_reg", ",", "", ")", ";", "int", "num", "=", "GET_NUM_ELEM", "(", "adjust", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "num", ";", "i", "++", ")", "{", "rtx", "pattern", ";", "pattern", "=", "RTVEC_ELT", "(", "adjust", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "ASHIFT", ")", "abort_with_insn", "(", "pattern", ",", "", ")", ";", "PUT_CODE", "(", "SET_SRC", "(", "pattern", ")", ",", "ASHIFTRT", ")", ";", "emit_insn", "(", "pattern", ")", ";", "}", "}", "tsize", "=", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "store_args_on_stack", "&&", "(", "stdarg_p", "(", "fntype", ")", "||", "last_arg_is_vararg_marker", ")", ")", "{", "int", "offset", "=", "(", "regno", "-", "GP_ARG_FIRST", ")", "*", "UNITS_PER_WORD", ";", "rtx", "ptr", "=", "stack_pointer_rtx", ";", "for", "(", ";", "regno", "<=", "GP_ARG_LAST", ";", "regno", "++", ")", "{", "if", "(", "offset", "!=", "", ")", "ptr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "gpr_mode", ",", "ptr", ")", ",", "gen_rtx_REG", "(", "gpr_mode", ",", "regno", ")", ")", ";", "offset", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "}", "}", "if", "(", "tsize", ">", "", ")", "{", "rtx", "tsize_rtx", "=", "GEN_INT", "(", "tsize", ")", ";", "rtx", "adjustment_rtx", ",", "dwarf_pattern", ";", "rtx_insn", "*", "insn", ";", "if", "(", "tsize", ">", "", ")", "{", "adjustment_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "IQ2000_TEMP1_REGNUM", ")", ";", "emit_move_insn", "(", "adjustment_rtx", ",", "tsize_rtx", ")", ";", "}", "else", "adjustment_rtx", "=", "tsize_rtx", ";", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "adjustment_rtx", ")", ")", ";", "dwarf_pattern", "=", "gen_rtx_SET", "(", "Pmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "tsize", ")", ")", ";", "iq2000_annotate_frame_insn", "(", "insn", ",", "dwarf_pattern", ")", ";", "save_restore_insns", "(", "", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "rtx_insn", "*", "insn", "=", "", ";", "insn", "=", "emit_insn", "(", "gen_movsi", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ")", ";"], "ground_truth": ["if", "(", "insn", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";"], "File": "iq20003", "Func": "iq2000_expand_prologue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255514, "Length": 344, "Cover_Rate": 0.4629878869448183} {"Template_token": ["", "break", ";", "case", "VOIDmode", ":", "case", "QImode", ":", "case", "HImode", ":", "case", "SImode", ":", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "DImode", ":", "cum", "->", "arg_words", "+=", "(", "cum", "->", "arg_words", "&", "", ")", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "TImode", ":", "cum", "->", "arg_words", "+=", "(", "cum", "->", "arg_words", "&", "", ")", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "}", "if", "(", "*", "arg_words", ">=", "(", "unsigned", ")", "MAX_ARGS_IN_REGISTERS", ")", "{", "if", "(", "TARGET_DEBUG_D_MODE", ")", "fprintf", "(", "stderr", ",", "", ",", "struct_p", "?", "", ":", "", ")", ";", "ret", "=", "", ";", "}", "else", "{", "gcc_assert", "(", "regbase", "!=", "-", "", ")", ";", "if", "(", "!", "type", "||", "TREE_CODE", "(", "type", ")", "!=", "RECORD_TYPE", "||", "!", "named", "||", "!", "TYPE_SIZE_UNIT", "(", "type", ")", "||", "!", "tree_fits_uhwi_p", "(", "TYPE_SIZE_UNIT", "(", "type", ")", ")", ")", "ret", "=", "gen_rtx_REG", "(", "mode", ",", "regbase", "+", "*", "arg_words", "+", "bias", ")", ";", "else", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "BITS_PER_WORD", "&&", "tree_fits_shwi_p", "(", "bit_position", "(", "field", ")", ")", "&&", "int_bit_position", "(", "field", ")", "%", "BITS_PER_WORD", "==", "", ")", "break", ";", "if", "(", "!", "field", "||", "mode", "==", "DFmode", ")", "ret", "=", "gen_rtx_REG", "(", "mode", ",", "regbase", "+", "*", "arg_words", "+", "bias", ")", ";", "else", "{", "unsigned", "int", "chunks", ";", "HOST_WIDE_INT", "bitpos", ";", "unsigned", "int", "regno", ";", "unsigned", "int", "i", ";", "chunks", "=", "tree_to_uhwi", "(", "TYPE_SIZE_UNIT", "(", "type", ")", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "chunks", "+", "*", "arg_words", "+", "bias", ">", "(", "unsigned", ")", "MAX_ARGS_IN_REGISTERS", ")", "chunks", "=", "MAX_ARGS_IN_REGISTERS", "-", "*", "arg_words", "-", "bias", ";", "ret", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "chunks", ")", ")", ";", "bitpos", "=", "", ";", "regno", "=", "regbase", "+", "*", "arg_words", "+", "bias", ";", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";"], "ground_truth": ["for", "(", "i", "=", "", ";", "i", "<", "chunks", ";", "i", "++", ")", "{"], "File": "iq20003", "Func": "iq2000_function_arg", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255515, "Length": 342, "Cover_Rate": 0.45118733509234826} {"Template_token": ["", "fprintf", "(", "stderr", ",", "", ",", "cum", "->", "gp_reg_found", ",", "cum", "->", "arg_number", ",", "cum", "->", "arg_words", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "(", "const", "void", "*", ")", "type", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "named", ")", ";", "}", "cum", "->", "arg_number", "++", ";", "switch", "(", "mode", ")", "{", "case", "VOIDmode", ":", "break", ";", "default", ":", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", ";", "cum", "->", "gp_reg_found", "=", "", ";", "cum", "->", "arg_words", "+=", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "BLKmode", ":", "cum", "->", "gp_reg_found", "=", "", ";", "cum", "->", "arg_words", "+=", "(", "(", "int_size_in_bytes", "(", "type", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";"], "ground_truth": ["break", ";"], "File": "iq20003", "Func": "iq2000_function_arg_advance", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255516, "Length": 139, "Cover_Rate": 0.44694533762057875} {"Template_token": ["", "if", "(", "TARGET_DEBUG_B_MODE", ")", "{", "GO_PRINTF", "(", "", ")", ";", "GO_DEBUG_RTX", "(", "xinsn", ")", ";", "}", "if", "(", "iq2000_check_split", "(", "xinsn", ",", "mode", ")", ")", "{", "return", "gen_rtx_LO_SUM", "(", "Pmode", ",", "copy_to_mode_reg", "(", "Pmode", ",", "gen_rtx_HIGH", "(", "Pmode", ",", "xinsn", ")", ")", ",", "xinsn", ")", ";", "}", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "PLUS", ")", "{", "rtx", "xplus0", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "rtx", "xplus1", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "enum", "rtx_code", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "enum", "rtx_code", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "if", "(", "code0", "!=", "REG", "&&", "code1", "==", "REG", ")", "{", "xplus0", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "xplus1", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "}", "if", "(", "code0", "==", "REG", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "xplus0", ",", "mode", ")", "&&", "code1", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "xplus1", ")", ")", "{", "rtx", "int_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "ptr_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "int_reg", ",", "GEN_INT", "(", "INTVAL", "(", "xplus1", ")", "&", "~", "", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "ptr_reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "xplus0", ",", "int_reg", ")", ")", ")", ";"], "ground_truth": ["return", "plus_constant", "(", "Pmode", ",", "ptr_reg", ",", "INTVAL", "(", "xplus1", ")", "&", "", ")", ";"], "File": "iq20003", "Func": "iq2000_legitimize_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255517, "Length": 229, "Cover_Rate": 0.8875968992248062} {"Template_token": ["", "rtx", "add_op1", "=", "XEXP", "(", "op1", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "op1", ",", "", ")", ")", "==", "REG", "&&", "GET_CODE", "(", "XEXP", "(", "op1", ",", "", ")", ")", "==", "CONST_INT", ")", "add_op0", "=", "XEXP", "(", "op1", ",", "", ")", ",", "add_op1", "=", "XEXP", "(", "op1", ",", "", ")", ";", "operands", "[", "", "]", "=", "add_op0", ";", "operands", "[", "", "]", "=", "add_op1", ";", "ret", "=", "", ";", "}", "else", "if", "(", "code1", "==", "HIGH", ")", "{", "operands", "[", "", "]", "=", "XEXP", "(", "op1", ",", "", ")", ";", "ret", "=", "", ";", "}", "}", "else", "if", "(", "code0", "==", "MEM", ")", "{", "if", "(", "TARGET_STATS", ")", "iq2000_count_memory_refs", "(", "op0", ",", "", ")", ";", "if", "(", "code1", "==", "REG", ")", "{", "int", "regno1", "=", "REGNO", "(", "op1", ")", "+", "subreg_offset1", ";", "if", "(", "GP_REG_P", "(", "regno1", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "ret", "=", "", ";", "break", ";", "case", "SImode", ":", "ret", "=", "", ";", "break", ";", "case", "HImode", ":", "ret", "=", "", ";", "break", ";", "case", "QImode", ":", "ret", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "else", "if", "(", "code1", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "==", "", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "ret", "=", "", ";", "break", ";", "case", "SImode", ":", "ret", "=", "", ";", "break", ";", "case", "HImode", ":", "ret", "=", "", ";", "break", ";", "case", "QImode", ":", "ret", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "code1", "==", "CONST_DOUBLE", "&&", "op1", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "SFmode", ":", "ret", "=", "", ";", "break", ";", "case", "SImode", ":", "ret", "=", "", ";", "break", ";", "case", "HImode", ":", "ret", "=", "", ";", "break", ";", "case", "QImode", ":", "ret", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}"], "ground_truth": ["if", "(", "ret", "==", "", ")", "{"], "File": "iq20003", "Func": "iq2000_move_1word", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255518, "Length": 323, "Cover_Rate": 0.3439829605963791} {"Template_token": ["", "int", "size", ";", "if", "(", "cum", "&&", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "{", "CUMULATIVE_ARGS", "temp", ";", "temp", "=", "*", "cum", ";", "if", "(", "iq2000_function_arg", "(", "pack_cumulative_args", "(", "&", "temp", ")", ",", "mode", ",", "type", ",", "named", ")", "!=", "", ")", "return", "", ";", "}", "if", "(", "type", "==", "NULL_TREE", "||", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", "return", "", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "size", "==", "-", "", "||", "size", ">", "UNITS_PER_WORD", ";"], "ground_truth": ["}"], "File": "iq20003", "Func": "iq2000_pass_by_reference", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255519, "Length": 85, "Cover_Rate": 0.7589285714285714} {"Template_token": ["", "temp", "=", "*", "cum", ";", "if", "(", "iq2000_function_arg", "(", "pack_cumulative_args", "(", "&", "temp", ")", ",", "mode", ",", "type", ",", "named", ")", "!=", "", ")", "return", "", ";", "}", "if", "(", "type", "==", "NULL_TREE", "||", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", "return", "", ";"], "ground_truth": ["size", "=", "int_size_in_bytes", "(", "type", ")", ";"], "File": "iq20003", "Func": "iq2000_pass_by_reference", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255520, "Length": 52, "Cover_Rate": 0.4642857142857143} {"Template_token": ["", "case", "GTU", ":", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "case", "GEU", ":", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "case", "LTU", ":", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "case", "LEU", ":", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "default", ":", "abort_with_insn", "(", "op", ",", "", ")", ";", "}", "else", "if", "(", "letter", "==", "'F'", ")", "switch", "(", "code", ")", "{", "case", "EQ", ":", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "case", "NE", ":", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "default", ":", "abort_with_insn", "(", "op", ",", "", ")", ";", "}", "else", "if", "(", "letter", "==", "'W'", ")", "switch", "(", "code", ")", "{", "case", "EQ", ":", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "case", "NE", ":", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "default", ":", "abort_with_insn", "(", "op", ",", "", ")", ";", "}", "else", "if", "(", "letter", "==", "'A'", ")", "fputs", "(", "code", "==", "LABEL_REF", "?", "", ":", "", ",", "file", ")", ";", "else", "if", "(", "letter", "==", "'P'", ")", "{", "if", "(", "code", "==", "LABEL_REF", ")", "output_addr_const", "(", "file", ",", "op", ")", ";", "else", "if", "(", "code", "!=", "PC", ")", "output_operand_lossage", "(", "", ")", ";", "}", "else", "if", "(", "letter", "==", "'p'", ")", "{", "int", "value", ";", "if", "(", "code", "!=", "CONST_INT", "||", "(", "value", "=", "exact_log2", "(", "INTVAL", "(", "op", ")", ")", ")", "<", "", ")", "output_operand_lossage", "(", "", ")", ";", "else", "fprintf", "(", "file", ",", "", ",", "value", ")", ";", "}", "else", "if", "(", "letter", "==", "'Z'", ")", "{", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "code", "==", "REG", "||", "code", "==", "SUBREG", ")", "{", "int", "regnum", ";", "if", "(", "code", "==", "REG", ")", "regnum", "=", "REGNO", "(", "op", ")", ";", "else", "regnum", "=", "true_regnum", "(", "op", ")", ";", "if", "(", "(", "letter", "==", "'M'", "&&", "!", "WORDS_BIG_ENDIAN", ")", "||", "(", "letter", "==", "'L'", "&&", "WORDS_BIG_ENDIAN", ")", "||", "letter", "==", "'D'", ")", "regnum", "++", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "regnum", "]", ")", ";", "}", "else", "if", "(", "code", "==", "MEM", ")", "{", "if", "(", "letter", "==", "'D'", ")", "output_address", "(", "plus_constant", "(", "Pmode", ",", "XEXP", "(", "op", ",", "", ")", ",", "", ")", ")", ";", "else", "output_address", "(", "XEXP", "(", "op", ",", "", ")", ")", ";", "}", "else", "if", "(", "code", "==", "CONST_DOUBLE", "&&", "GET_MODE_CLASS", "(", "GET_MODE", "(", "op", ")", ")", "==", "MODE_FLOAT", ")", "{"], "ground_truth": ["char", "s", "[", "", "]", ";"], "File": "iq20003", "Func": "iq2000_print_operand", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255521, "Length": 406, "Cover_Rate": 0.37145471180237877} {"Template_token": ["", "offset", "=", "arg1", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "REG", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "REG", ")", "reg", "=", "arg1", ",", "offset", "=", "arg0", ";", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "else", "abort_with_insn", "(", "addr", ",", "", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "offset", ")", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "if", "(", "REGNO", "(", "reg", ")", "==", "ARG_POINTER_REGNUM", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "output_addr_const", "(", "file", ",", "offset", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "reg", ")", "]", ")", ";", "}", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "", "]", ")", ";", "break", ";", "default", ":", "abort_with_insn", "(", "addr", ",", "", ")", ";"], "ground_truth": ["break", ";"], "File": "iq20003", "Func": "iq2000_print_operand_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255522, "Length": 180, "Cover_Rate": 0.4878048780487805} {"Template_token": ["", "break", ";", "case", "ABS", ":", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "PLUS", ":", "case", "MINUS", ":", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "mode", "==", "DImode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "NEG", ":", "*", "total", "=", "(", "mode", "==", "DImode", ")", "?", "", ":", "", ";", "break", ";", "case", "MULT", ":", "if", "(", "mode", "==", "SFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "DIV", ":", "case", "MOD", ":", "if", "(", "mode", "==", "SFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "UDIV", ":", "case", "UMOD", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "SIGN_EXTEND", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "ZERO_EXTEND", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "CONST_INT", ":", "*", "total", "=", "", ";", "break", ";", "case", "LABEL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "offset", "=", "const0_rtx", ";", "rtx", "symref", "=", "eliminate_constant_term", "(", "XEXP", "(", "x", ",", "", ")", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "symref", ")", "==", "LABEL_REF", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "GET_CODE", "(", "symref", ")", "!=", "SYMBOL_REF", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "INTVAL", "(", "offset", ")", "<", "-", "", "||", "INTVAL", "(", "offset", ")", ">", "", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "SYMBOL_REF_FLAG", "(", "symref", ")", "?", "", ":", "", ")", ";", "break", ";", "}", "case", "SYMBOL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "SYMBOL_REF_FLAG", "(", "x", ")", "?", "", ":", "", ")", ";", "break", ";", "case", "CONST_DOUBLE", ":", "{", "rtx", "high", ",", "low", ";", "split_double", "(", "x", ",", "&", "high", ",", "&", "low", ")", ";", "*", "total", "=", "COSTS_N_INSNS", "(", "(", "high", "==", "CONST0_RTX", "(", "GET_MODE", "(", "high", ")", ")", "||", "low", "==", "CONST0_RTX", "(", "GET_MODE", "(", "low", ")", ")", ")", "?", "", ":", "", ")", ";", "break", ";", "}"], "ground_truth": ["default", ":"], "File": "iq20003", "Func": "iq2000_rtx_costs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255523, "Length": 438, "Cover_Rate": 0.7030497592295345} {"Template_token": ["", "if", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "||", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "return", "readonly_data_section", ";", "else", "return", "data_section", ";", "}", "else", "{", "if", "(", "(", "TREE_CODE", "(", "decl", ")", "==", "VAR_DECL", "&&", "TREE_READONLY", "(", "decl", ")", "&&", "!", "TREE_SIDE_EFFECTS", "(", "decl", ")", "&&", "DECL_INITIAL", "(", "decl", ")", "&&", "(", "DECL_INITIAL", "(", "decl", ")", "==", "error_mark_node", "||", "TREE_CONSTANT", "(", "DECL_INITIAL", "(", "decl", ")", ")", ")", ")", "||", "TREE_CODE", "(", "decl", ")", "!=", "VAR_DECL", ")", "return", "readonly_data_section", ";", "else", "return", "data_section", ";", "}"], "ground_truth": ["}"], "File": "iq20003", "Func": "iq2000_select_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255524, "Length": 121, "Cover_Rate": 0.8402777777777778} {"Template_token": ["", "else", "{", "regno", "=", "GP_ARG_LAST", "+", "", ";", "break", ";", "}", "}", "next_arg_reg", "=", "iq2000_function_arg", "(", "args_so_far", ",", "VOIDmode", ",", "void_type_node", ",", "true", ")", ";", "if", "(", "next_arg_reg", "!=", "", "&&", "GET_CODE", "(", "next_arg_reg", ")", "==", "PARALLEL", ")", "{", "rtvec", "adjust", "=", "XVEC", "(", "next_arg_reg", ",", "", ")", ";", "int", "num", "=", "GET_NUM_ELEM", "(", "adjust", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "num", ";", "i", "++", ")", "{", "rtx", "pattern", ";", "pattern", "=", "RTVEC_ELT", "(", "adjust", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "ASHIFT", ")", "abort_with_insn", "(", "pattern", ",", "", ")", ";", "PUT_CODE", "(", "SET_SRC", "(", "pattern", ")", ",", "ASHIFTRT", ")", ";", "emit_insn", "(", "pattern", ")", ";", "}", "}", "tsize", "=", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "store_args_on_stack", "&&", "(", "stdarg_p", "(", "fntype", ")", "||", "last_arg_is_vararg_marker", ")", ")", "{", "int", "offset", "=", "(", "regno", "-", "GP_ARG_FIRST", ")", "*", "UNITS_PER_WORD", ";", "rtx", "ptr", "=", "stack_pointer_rtx", ";", "for", "(", ";", "regno", "<=", "GP_ARG_LAST", ";", "regno", "++", ")", "{", "if", "(", "offset", "!=", "", ")", "ptr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "gpr_mode", ",", "ptr", ")", ",", "gen_rtx_REG", "(", "gpr_mode", ",", "regno", ")", ")", ";", "offset", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "}", "}", "if", "(", "tsize", ">", "", ")", "{", "rtx", "tsize_rtx", "=", "GEN_INT", "(", "tsize", ")", ";", "rtx", "adjustment_rtx", ",", "dwarf_pattern", ";", "rtx_insn", "*", "insn", ";", "if", "(", "tsize", ">", "", ")", "{", "adjustment_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "IQ2000_TEMP1_REGNUM", ")", ";", "emit_move_insn", "(", "adjustment_rtx", ",", "tsize_rtx", ")", ";", "}", "else", "adjustment_rtx", "=", "tsize_rtx", ";", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "adjustment_rtx", ")", ")", ";", "dwarf_pattern", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "tsize", ")", ")", ";", "iq2000_annotate_frame_insn", "(", "insn", ",", "dwarf_pattern", ")", ";"], "ground_truth": ["save_restore_insns", "(", "", ")", ";"], "File": "iq20004", "Func": "iq2000_expand_prologue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255525, "Length": 318, "Cover_Rate": 0.42231075697211157} {"Template_token": ["", "case", "UDIV", ":", "case", "UMOD", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "SIGN_EXTEND", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "ZERO_EXTEND", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "CONST_INT", ":", "*", "total", "=", "", ";", "break", ";", "case", "LABEL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "offset", "=", "const0_rtx", ";", "rtx", "symref", "=", "eliminate_constant_term", "(", "XEXP", "(", "x", ",", "", ")", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "symref", ")", "==", "LABEL_REF", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "GET_CODE", "(", "symref", ")", "!=", "SYMBOL_REF", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "INTVAL", "(", "offset", ")", "<", "-", "", "||", "INTVAL", "(", "offset", ")", ">", "", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "SYMBOL_REF_FLAG", "(", "symref", ")", "?", "", ":", "", ")", ";", "break", ";", "}", "case", "SYMBOL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "SYMBOL_REF_FLAG", "(", "x", ")", "?", "", ":", "", ")", ";", "break", ";", "case", "CONST_DOUBLE", ":", "{", "rtx", "high", ",", "low", ";", "split_double", "(", "x", ",", "&", "high", ",", "&", "low", ")", ";", "*", "total", "=", "COSTS_N_INSNS", "(", "(", "high", "==", "CONST0_RTX", "(", "GET_MODE", "(", "high", ")", ")", "||", "low", "==", "CONST0_RTX", "(", "GET_MODE", "(", "low", ")", ")", ")", "?", "", ":", "", ")", ";", "break", ";", "}", "default", ":", "return", "false", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "iq20004", "Func": "iq2000_rtx_costs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255528, "Length": 254, "Cover_Rate": 0.40770465489566615} {"Template_token": ["", "iq2000_load_reg4", "=", "", ";", "}", "if", "(", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", "||", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "RETURN", ")", ")", "&&", "NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "==", "insn", ")", "{", "rtx_insn", "*", "tmp", "=", "insn", ";", "while", "(", "NEXT_INSN", "(", "tmp", ")", "&&", "NOTE_P", "(", "NEXT_INSN", "(", "tmp", ")", ")", "&&", "NOTE_KIND", "(", "NEXT_INSN", "(", "tmp", ")", ")", "==", "NOTE_INSN_CALL_ARG_LOCATION", ")", "tmp", "=", "NEXT_INSN", "(", "tmp", ")", ";", "rtx_insn", "*", "nop_insn", "=", "emit_insn_after", "(", "gen_nop", "(", ")", ",", "tmp", ")", ";", "INSN_ADDRESSES_NEW", "(", "nop_insn", ",", "-", "", ")", ";", "}", "if", "(", "TARGET_STATS", "&&", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", ")", ")", "dslots_jump_total", "++", ";"], "ground_truth": ["}"], "File": "iq20005", "Func": "final_prescan_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255531, "Length": 122, "Cover_Rate": 0.4728682170542636} {"Template_token": ["", "args_so_far", "=", "pack_cumulative_args", "(", "&", "args_so_far_v", ")", ";", "regno", "=", "GP_ARG_FIRST", ";", "for", "(", "cur_arg", "=", "fnargs", ";", "cur_arg", "!=", "", ";", "cur_arg", "=", "next_arg", ")", "{", "tree", "passed_type", "=", "DECL_ARG_TYPE", "(", "cur_arg", ")", ";", "machine_mode", "passed_mode", "=", "TYPE_MODE", "(", "passed_type", ")", ";", "rtx", "entry_parm", ";", "if", "(", "TREE_ADDRESSABLE", "(", "passed_type", ")", ")", "{", "passed_type", "=", "build_pointer_type", "(", "passed_type", ")", ";", "passed_mode", "=", "Pmode", ";", "}", "entry_parm", "=", "iq2000_function_arg", "(", "args_so_far", ",", "passed_mode", ",", "passed_type", ",", "true", ")", ";", "iq2000_function_arg_advance", "(", "args_so_far", ",", "passed_mode", ",", "passed_type", ",", "true", ")", ";", "next_arg", "=", "DECL_CHAIN", "(", "cur_arg", ")", ";", "if", "(", "entry_parm", "&&", "store_args_on_stack", ")", "{", "if", "(", "next_arg", "==", "", "&&", "DECL_NAME", "(", "cur_arg", ")", "&&", "(", "strcmp", "(", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cur_arg", ")", ")", ",", "", ")", "==", "", "||", "strcmp", "(", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cur_arg", ")", ")", ",", "", ")", "==", "", ")", ")", "{", "last_arg_is_vararg_marker", "=", "", ";", "break", ";", "}", "else", "{", "int", "words", ";", "gcc_assert", "(", "GET_CODE", "(", "entry_parm", ")", "==", "REG", ")", ";", "if", "(", "GET_MODE", "(", "entry_parm", ")", "==", "BLKmode", ")", "words", "=", "(", "int_size_in_bytes", "(", "passed_type", ")", "+", "", ")", "/", "", ";", "else", "words", "=", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "entry_parm", ")", ")", "+", "", ")", "/", "", ";", "regno", "=", "REGNO", "(", "entry_parm", ")", "+", "words", "-", "", ";", "}", "}", "else", "{", "regno", "=", "GP_ARG_LAST", "+", "", ";", "break", ";", "}", "}", "next_arg_reg", "=", "iq2000_function_arg", "(", "args_so_far", ",", "VOIDmode", ",", "void_type_node", ",", "true", ")", ";", "if", "(", "next_arg_reg", "!=", "", "&&", "GET_CODE", "(", "next_arg_reg", ")", "==", "PARALLEL", ")", "{", "rtvec", "adjust", "=", "XVEC", "(", "next_arg_reg", ",", "", ")", ";", "int", "num", "=", "GET_NUM_ELEM", "(", "adjust", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "num", ";", "i", "++", ")", "{", "rtx", "pattern", ";", "pattern", "=", "RTVEC_ELT", "(", "adjust", ",", "i", ")", ";", "if", "(", "GET_CODE", "(", "pattern", ")", "!=", "SET", "||", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "!=", "ASHIFT", ")", "abort_with_insn", "(", "pattern", ",", "", ")", ";", "PUT_CODE", "(", "SET_SRC", "(", "pattern", ")", ",", "ASHIFTRT", ")", ";", "emit_insn", "(", "pattern", ")", ";", "}", "}", "tsize", "=", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "store_args_on_stack", "&&", "(", "stdarg_p", "(", "fntype", ")", "||", "last_arg_is_vararg_marker", ")", ")", "{", "int", "offset", "=", "(", "regno", "-", "GP_ARG_FIRST", ")", "*", "UNITS_PER_WORD", ";", "rtx", "ptr", "=", "stack_pointer_rtx", ";", "for", "(", ";", "regno", "<=", "GP_ARG_LAST", ";", "regno", "++", ")", "{", "if", "(", "offset", "!=", "", ")", "ptr", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "gpr_mode", ",", "ptr", ")", ",", "gen_rtx_REG", "(", "gpr_mode", ",", "regno", ")", ")", ";", "offset", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "}", "}", "if", "(", "tsize", ">", "", ")", "{", "rtx", "tsize_rtx", "=", "GEN_INT", "(", "tsize", ")", ";", "rtx", "adjustment_rtx", ",", "dwarf_pattern", ";", "rtx_insn", "*", "insn", ";"], "ground_truth": ["if", "(", "tsize", ">", "", ")", "{"], "File": "iq20006", "Func": "iq2000_expand_prologue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255532, "Length": 475, "Cover_Rate": 0.6341789052069426} {"Template_token": ["", "unsigned", "int", "regno", ";", "unsigned", "int", "i", ";", "chunks", "=", "tree_to_uhwi", "(", "TYPE_SIZE_UNIT", "(", "type", ")", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "chunks", "+", "*", "arg_words", "+", "bias", ">", "(", "unsigned", ")", "MAX_ARGS_IN_REGISTERS", ")", "chunks", "=", "MAX_ARGS_IN_REGISTERS", "-", "*", "arg_words", "-", "bias", ";", "ret", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", "(", "chunks", ")", ")", ";", "bitpos", "=", "", ";", "regno", "=", "regbase", "+", "*", "arg_words", "+", "bias", ";", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "chunks", ";", "i", "++", ")", "{", "rtx", "reg", ";", "for", "(", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "int_bit_position", "(", "field", ")", ">=", "bitpos", ")", "break", ";", "if", "(", "field", "&&", "int_bit_position", "(", "field", ")", "==", "bitpos", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "BITS_PER_WORD", ")", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "regno", "++", ")", ";", "else", "reg", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "XVECEXP", "(", "ret", ",", "", ",", "i", ")", "=", "gen_rtx_EXPR_LIST", "(", "VOIDmode", ",", "reg", ",", "GEN_INT", "(", "bitpos", "/", "BITS_PER_UNIT", ")", ")", ";", "bitpos", "+=", "", ";", "regno", "++", ";", "}", "}", "}", "if", "(", "TARGET_DEBUG_D_MODE", ")", "fprintf", "(", "stderr", ",", "", ",", "reg_names", "[", "regbase", "+", "*", "arg_words", "+", "bias", "]", ",", "struct_p", "?", "", ":", "", ")", ";", "}"], "ground_truth": ["if", "(", "mode", "==", "VOIDmode", ")", "{"], "File": "iq20006", "Func": "iq2000_function_arg", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255533, "Length": 241, "Cover_Rate": 0.3179419525065963} {"Template_token": ["", "int", "regbase", "=", "-", "", ";", "int", "bias", "=", "", ";", "unsigned", "int", "*", "arg_words", "=", "&", "cum", "->", "arg_words", ";", "int", "struct_p", "=", "(", "type", "!=", "", "&&", "(", "TREE_CODE", "(", "type", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "type", ")", "==", "QUAL_UNION_TYPE", ")", ")", ";", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "", ",", "cum", "->", "gp_reg_found", ",", "cum", "->", "arg_number", ",", "cum", "->", "arg_words", ",", "GET_MODE_NAME", "(", "mode", ")", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "(", "const", "void", "*", ")", "type", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "named", ")", ";", "}", "cum", "->", "last_arg_fp", "=", "", ";", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "E_DFmode", ":", "cum", "->", "arg_words", "+=", "cum", "->", "arg_words", "&", "", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "default", ":", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", ";", "case", "E_BLKmode", ":", "if", "(", "type", "!=", "NULL_TREE", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "(", "unsigned", ")", "BITS_PER_WORD", ")", "cum", "->", "arg_words", "+=", "(", "cum", "->", "arg_words", "&", "", ")", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "E_VOIDmode", ":", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "E_DImode", ":", "cum", "->", "arg_words", "+=", "(", "cum", "->", "arg_words", "&", "", ")", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "E_TImode", ":", "cum", "->", "arg_words", "+=", "(", "cum", "->", "arg_words", "&", "", ")", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "}", "if", "(", "*", "arg_words", ">=", "(", "unsigned", ")", "MAX_ARGS_IN_REGISTERS", ")", "{", "if", "(", "TARGET_DEBUG_D_MODE", ")", "fprintf", "(", "stderr", ",", "", ",", "struct_p", "?", "", ":", "", ")", ";", "ret", "=", "", ";", "}", "else", "{", "gcc_assert", "(", "regbase", "!=", "-", "", ")", ";", "if", "(", "!", "type", "||", "TREE_CODE", "(", "type", ")", "!=", "RECORD_TYPE", "||", "!", "named", "||", "!", "TYPE_SIZE_UNIT", "(", "type", ")", "||", "!", "tree_fits_uhwi_p", "(", "TYPE_SIZE_UNIT", "(", "type", ")", ")", ")", "ret", "=", "gen_rtx_REG", "(", "mode", ",", "regbase", "+", "*", "arg_words", "+", "bias", ")", ";", "else", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "BITS_PER_WORD", "&&", "tree_fits_shwi_p", "(", "bit_position", "(", "field", ")", ")", "&&", "int_bit_position", "(", "field", ")", "%", "BITS_PER_WORD", "==", "", ")", "break", ";"], "ground_truth": ["if", "(", "!", "field", "||", "mode", "==", "DFmode", ")", "ret", "=", "gen_rtx_REG", "(", "mode", ",", "regbase", "+", "*", "arg_words", "+", "bias", ")", ";"], "File": "iq20006", "Func": "iq2000_function_arg", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255534, "Length": 443, "Cover_Rate": 0.5844327176781002} {"Template_token": ["", "cum", "->", "arg_words", "+=", "(", "(", "int_size_in_bytes", "(", "type", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "E_SFmode", ":", "cum", "->", "arg_words", "++", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "", ")", "cum", "->", "fp_code", "+=", "", "<<", "(", "(", "cum", "->", "arg_number", "-", "", ")", "*", "", ")", ";", "break", ";", "case", "E_DFmode", ":", "cum", "->", "arg_words", "+=", "", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "", ")", "cum", "->", "fp_code", "+=", "", "<<", "(", "(", "cum", "->", "arg_number", "-", "", ")", "*", "", ")", ";", "break", ";"], "ground_truth": ["case", "E_DImode", ":"], "File": "iq20006", "Func": "iq2000_function_arg_advance", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255535, "Length": 107, "Cover_Rate": 0.3440514469453376} {"Template_token": ["", "static", "void", "abort_with_insn", "(", "rtx", "insn", ",", "const", "char", "*", "reason", ")", "{", "error", "(", "reason", ")", ";", "debug_rtx", "(", "insn", ")", ";"], "ground_truth": ["fancy_abort", "(", "__FILE__", ",", "__LINE__", ",", "__FUNCTION__", ")", ";"], "File": "iq2000", "Func": "abort_with_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255536, "Length": 32, "Cover_Rate": 0.9696969696969697} {"Template_token": ["", "debug_rtx", "(", "insn", ")", ";", "fancy_abort", "(", "__FILE__", ",", "__LINE__", ",", "__FUNCTION__", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "abort_with_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255537, "Length": 15, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "HOST_WIDE_INT", "gp_reg_size", ";", "HOST_WIDE_INT", "fp_reg_size", ";", "long", "mask", ";", "gp_reg_size", "=", "", ";", "fp_reg_size", "=", "", ";", "mask", "=", "", ";", "extra_size", "=", "IQ2000_STACK_ALIGN", "(", "(", "", ")", ")", ";", "var_size", "=", "IQ2000_STACK_ALIGN", "(", "size", ")", ";", "args_size", "=", "IQ2000_STACK_ALIGN", "(", "crtl", "->", "outgoing_args_size", ")", ";", "if", "(", "args_size", "==", "", "&&", "cfun", "->", "calls_alloca", ")", "args_size", "=", "", "*", "UNITS_PER_WORD", ";", "total_size", "=", "var_size", "+", "args_size", "+", "extra_size", ";", "for", "(", "regno", "=", "GP_REG_FIRST", ";", "regno", "<=", "GP_REG_LAST", ";", "regno", "++", ")", "{", "if", "(", "MUST_SAVE_REGISTER", "(", "regno", ")", ")", "{", "gp_reg_size", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "mask", "|=", "", "<<", "(", "regno", "-", "GP_REG_FIRST", ")", ";", "}", "}", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "", ";", ";", "++", "i", ")", "{", "regno", "=", "EH_RETURN_DATA_REGNO", "(", "i", ")", ";", "if", "(", "regno", "==", "(", "int", ")", "INVALID_REGNUM", ")", "break", ";", "gp_reg_size", "+=", "GET_MODE_SIZE", "(", "gpr_mode", ")", ";", "mask", "|=", "", "<<", "(", "regno", "-", "GP_REG_FIRST", ")", ";", "}", "}", "gp_reg_rounded", "=", "IQ2000_STACK_ALIGN", "(", "gp_reg_size", ")", ";", "total_size", "+=", "gp_reg_rounded", "+", "IQ2000_STACK_ALIGN", "(", "fp_reg_size", ")", ";", "if", "(", "total_size", "==", "extra_size", "&&", "!", "profile_flag", ")", "total_size", "=", "extra_size", "=", "", ";", "total_size", "+=", "IQ2000_STACK_ALIGN", "(", "crtl", "->", "args", ".", "pretend_args_size", ")", ";", "cfun", "->", "machine", "->", "total_size", "=", "total_size", ";", "cfun", "->", "machine", "->", "var_size", "=", "var_size", ";", "cfun", "->", "machine", "->", "args_size", "=", "args_size", ";", "cfun", "->", "machine", "->", "extra_size", "=", "extra_size", ";", "cfun", "->", "machine", "->", "gp_reg_size", "=", "gp_reg_size", ";", "cfun", "->", "machine", "->", "fp_reg_size", "=", "fp_reg_size", ";", "cfun", "->", "machine", "->", "mask", "=", "mask", ";", "cfun", "->", "machine", "->", "initialized", "=", "reload_completed", ";", "cfun", "->", "machine", "->", "num_gp", "=", "gp_reg_size", "/", "UNITS_PER_WORD", ";", "if", "(", "mask", ")", "{", "unsigned", "long", "offset", ";", "offset", "=", "(", "args_size", "+", "extra_size", "+", "var_size", "+", "gp_reg_size", "-", "GET_MODE_SIZE", "(", "gpr_mode", ")", ")", ";", "cfun", "->", "machine", "->", "gp_sp_offset", "=", "offset", ";"], "ground_truth": ["cfun", "->", "machine", "->", "gp_save_offset", "=", "offset", "-", "total_size", ";"], "File": "iq2000", "Func": "compute_frame_size", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255538, "Length": 330, "Cover_Rate": 0.8354430379746836} {"Template_token": ["", "rtx", "op", "[", "", "]", ";", "machine_mode", "mode", "[", "", "]", ";", "int", "i", ";", "mode", "[", "", "]", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "mode", ";", "for", "(", "i", "=", "", ";", "i", "<", "argcount", ";", "i", "++", ")", "{", "arg", "[", "i", "]", "=", "CALL_EXPR_ARG", "(", "exp", ",", "i", ")", ";", "op", "[", "i", "]", "=", "expand_normal", "(", "arg", "[", "i", "]", ")", ";", "mode", "[", "i", "]", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "i", "]", ".", "mode", ";", "if", "(", "code", "[", "i", "]", "==", "CONST_INT", "&&", "GET_CODE", "(", "op", "[", "i", "]", ")", "!=", "CONST_INT", ")", "error", "(", "", ",", "i", "+", "", ")", ";", "if", "(", "code", "[", "i", "]", "==", "REG", "&&", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "i", "]", ".", "predicate", ")", "(", "op", "[", "i", "]", ",", "mode", "[", "i", "]", ")", ")", "op", "[", "i", "]", "=", "copy_to_mode_reg", "(", "mode", "[", "i", "]", ",", "op", "[", "i", "]", ")", ";", "}", "if", "(", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "constraint", "[", "", "]", "==", "'='", ")", "{", "if", "(", "target", "==", "", "||", "GET_MODE", "(", "target", ")", "!=", "mode", "[", "", "]", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "predicate", ")", "(", "target", ",", "mode", "[", "", "]", ")", ")", "target", "=", "gen_reg_rtx", "(", "mode", "[", "", "]", ")", ";", "}", "else", "target", "=", "", ";", "switch", "(", "argcount", ")", "{", "case", "", ":", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";", "break", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ")", ";", "break", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "break", ";", "case", "", ":", "if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";", "break", ";", "case", "", ":"], "ground_truth": ["if", "(", "target", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ",", "op", "[", "", "]", ")", ";"], "File": "iq2000", "Func": "expand_one_builtin", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255539, "Length": 448, "Cover_Rate": 0.8373831775700935} {"Template_token": ["", "if", "(", "dslots_number_nops", ">", "", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "int", "length", "=", "get_attr_length", "(", "insn", ")", ";", "if", "(", "length", "==", "", "||", "(", "iq2000_load_reg", "!=", "", "&&", "reg_mentioned_p", "(", "iq2000_load_reg", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg2", "!=", "", "&&", "reg_mentioned_p", "(", "iq2000_load_reg2", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg3", "!=", "", "&&", "reg_mentioned_p", "(", "iq2000_load_reg3", ",", "pattern", ")", ")", "||", "(", "iq2000_load_reg4", "!=", "", "&&", "reg_mentioned_p", "(", "iq2000_load_reg4", ",", "pattern", ")", ")", ")", "fputs", "(", "", ",", "asm_out_file", ")", ";", "else", "dslots_load_filled", "++", ";", "while", "(", "--", "dslots_number_nops", ">", "", ")", "fputs", "(", "", ",", "asm_out_file", ")", ";", "iq2000_load_reg", "=", "", ";", "iq2000_load_reg2", "=", "", ";", "iq2000_load_reg3", "=", "", ";", "iq2000_load_reg4", "=", "", ";", "}"], "ground_truth": ["if", "(", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", "||", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "RETURN", ")", ")", "&&", "NEXT_INSN", "(", "PREV_INSN", "(", "insn", ")", ")", "==", "insn", ")", "{"], "File": "iq2000", "Func": "final_prescan_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255540, "Length": 160, "Cover_Rate": 0.7272727272727273} {"Template_token": ["", "cmp0", "=", "reg", ";", "cmp1", "=", "const0_rtx", ";", "test_code", "=", "NE", ";", "}", "else", "if", "(", "GET_CODE", "(", "cmp1", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "cmp1", ")", "!=", "", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "label1", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "operands", "[", "", "]", ")", ";"], "ground_truth": ["label2", "=", "pc_rtx", ";"], "File": "iq2000", "Func": "gen_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255541, "Length": 55, "Cover_Rate": 0.3160919540229885} {"Template_token": ["", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "", ",", "(", "long", ")", "fntype", ")", ";", "if", "(", "!", "fntype", ")", "fputc", "(", "'\\n'", ",", "stderr", ")", ";", "else", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";"], "ground_truth": ["fprintf", "(", "stderr", ",", "", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "fntype", ")", ")", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "ret_type", ")", ")", ")", ";"], "File": "iq2000", "Func": "init_cumulative_args", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255543, "Length": 62, "Cover_Rate": 0.4305555555555556} {"Template_token": ["", "static", "CUMULATIVE_ARGS", "zero_cum", ";", "tree", "param", ";", "tree", "next_param", ";", "if", "(", "TARGET_DEBUG_D_MODE", ")", "{", "fprintf", "(", "stderr", ",", "", ",", "(", "long", ")", "fntype", ")", ";", "if", "(", "!", "fntype", ")", "fputc", "(", "'\\n'", ",", "stderr", ")", ";", "else", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "fntype", ")", ")", ",", "get_tree_code_name", "(", "TREE_CODE", "(", "ret_type", ")", ")", ")", ";", "}", "}"], "ground_truth": ["*", "cum", "=", "zero_cum", ";"], "File": "iq2000", "Func": "init_cumulative_args", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255544, "Length": 79, "Cover_Rate": 0.5486111111111112} {"Template_token": ["", "return", "SYMBOL_REF_FLAG", "(", "addr", ")", "?", "", ":", "", ";", "case", "PLUS", ":", "{", "rtx", "plus0", "=", "XEXP", "(", "addr", ",", "", ")", ";", "rtx", "plus1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", "&&", "GET_CODE", "(", "plus1", ")", "==", "REG", ")", "plus0", "=", "XEXP", "(", "addr", ",", "", ")", ",", "plus1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "plus0", ")", "!=", "REG", ")", "break", ";", "switch", "(", "GET_CODE", "(", "plus1", ")", ")", "{", "case", "CONST_INT", ":", "return", "SMALL_INT", "(", "plus1", ")", "?", "", ":", "", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "case", "HIGH", ":", "case", "LO_SUM", ":", "return", "iq2000_address_cost", "(", "plus1", ",", "mode", ",", "as", ",", "speed", ")", "+", "", ";", "default", ":", "break", ";", "}", "}"], "ground_truth": ["default", ":"], "File": "iq2000", "Func": "iq2000_address_cost", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255545, "Length": 137, "Cover_Rate": 0.5614754098360656} {"Template_token": ["", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "IQ2000_TEMP2_REGNUM", ")", ";", "rtx", "offset_rtx", "=", "GEN_INT", "(", "offset", ")", ";", "emit_move_insn", "(", "reg", ",", "offset_rtx", ")", ";"], "ground_truth": ["emit_insn", "(", "gen_addsi3", "(", "reg", ",", "reg", ",", "stack_pointer_rtx", ")", ")", ";"], "File": "iq2000", "Func": "iq2000_add_large_offset_to_sp", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255546, "Length": 37, "Cover_Rate": 0.7551020408163265} {"Template_token": ["", "emit_move_insn", "(", "reg", ",", "offset_rtx", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "reg", ",", "reg", ",", "stack_pointer_rtx", ")", ")", ";"], "ground_truth": ["return", "reg", ";"], "File": "iq2000", "Func": "iq2000_add_large_offset_to_sp", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255547, "Length": 22, "Cover_Rate": 0.4489795918367347} {"Template_token": ["", "if", "(", "simplejump_p", "(", "insn", ")", "||", "(", "(", "JUMP_P", "(", "insn", ")", "||", "CALL_P", "(", "insn", ")", ")", ")", ")", "length", "+=", "", ";", "return", "length", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_adjust_insn_length", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255548, "Length": 29, "Cover_Rate": 0.725} {"Template_token": ["", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";"], "ground_truth": ["REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";"], "File": "iq2000", "Func": "iq2000_annotate_frame_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255550, "Length": 24, "Cover_Rate": 0.6486486486486487} {"Template_token": ["", "REG_NOTES", "(", "insn", ")", "=", "alloc_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "dwarf_pattern", ",", "REG_NOTES", "(", "insn", ")", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_annotate_frame_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255551, "Length": 18, "Cover_Rate": 0.4864864864864865} {"Template_token": ["", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "arg", ".", "mode", "==", "DImode", "&&", "cum", "->", "arg_words", "==", "MAX_ARGS_IN_REGISTERS", "-", "", ")", "{", "if", "(", "TARGET_DEBUG_D_MODE", ")", "fprintf", "(", "stderr", ",", "", ",", "UNITS_PER_WORD", ")", ";", "return", "UNITS_PER_WORD", ";", "}", "return", "", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_arg_partial_bytes", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255552, "Length": 47, "Cover_Rate": 0.7833333333333333} {"Template_token": ["", "fprintf", "(", "f", ",", "", ")", ";", "}", "fprintf", "(", "f", ",", "", ")", ";", "fprintf", "(", "f", ",", "", ")", ";", "fprintf", "(", "f", ",", "", ")", ";"], "ground_truth": ["fprintf", "(", "f", ",", "", ")", ";"], "File": "iq2000", "Func": "iq2000_asm_trampoline_template", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255553, "Length": 36, "Cover_Rate": 0.34285714285714286} {"Template_token": ["", "if", "(", "df_regs_ever_live_p", "(", "", ")", "||", "profile_flag", ")", "return", "", ";"], "ground_truth": ["if", "(", "cfun", "->", "machine", "->", "initialized", ")", "return", "cfun", "->", "machine", "->", "total_size", "==", "", ";"], "File": "iq2000", "Func": "iq2000_can_use_return_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255556, "Length": 29, "Cover_Rate": 0.5370370370370371} {"Template_token": ["", "if", "(", "!", "reload_completed", ")", "return", "", ";", "if", "(", "df_regs_ever_live_p", "(", "", ")", "||", "profile_flag", ")", "return", "", ";", "if", "(", "cfun", "->", "machine", "->", "initialized", ")", "return", "cfun", "->", "machine", "->", "total_size", "==", "", ";", "return", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", "==", "", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_can_use_return_insn", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255557, "Length": 48, "Cover_Rate": 0.8888888888888888} {"Template_token": ["", "int", "iq2000_check_split", "(", "rtx", "address", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "(", "unsigned", ")", "UNITS_PER_WORD", ")", "return", "", ";"], "ground_truth": ["if", "(", "(", "GET_CODE", "(", "address", ")", "==", "SYMBOL_REF", ")", "||", "(", "GET_CODE", "(", "address", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "address", ",", "", ")", ",", "", ")", ")", "==", "SYMBOL_REF", ")", "||", "GET_CODE", "(", "address", ")", "==", "LABEL_REF", ")", "return", "", ";"], "File": "iq2000", "Func": "iq2000_check_split", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255558, "Length": 72, "Cover_Rate": 0.9473684210526315} {"Template_token": ["", "fprintf", "(", "stderr", ",", "", ")", ";", "debug_rtx", "(", "op", ")", ";", "}", "addr", "=", "(", "GET_CODE", "(", "op", ")", "!=", "MEM", ")", "?", "op", ":", "XEXP", "(", "op", ",", "", ")", ";", "do", "{", "looping", "=", "FALSE", ";", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "case", "CONST_INT", ":", "case", "LO_SUM", ":", "break", ";", "case", "PLUS", ":", "plus0", "=", "XEXP", "(", "addr", ",", "", ")", ";", "plus1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "code0", "=", "GET_CODE", "(", "plus0", ")", ";", "code1", "=", "GET_CODE", "(", "plus1", ")", ";", "if", "(", "code0", "==", "REG", ")", "{", "additional", "++", ";", "addr", "=", "plus1", ";", "looping", "=", "", ";", "continue", ";", "}", "if", "(", "code0", "==", "CONST_INT", ")", "{", "addr", "=", "plus1", ";", "looping", "=", "", ";", "continue", ";", "}", "if", "(", "code1", "==", "REG", ")", "{", "additional", "++", ";", "addr", "=", "plus0", ";", "looping", "=", "", ";", "continue", ";", "}", "if", "(", "code1", "==", "CONST_INT", ")", "{", "addr", "=", "plus0", ";", "looping", "=", "", ";", "continue", ";", "}"], "ground_truth": ["if", "(", "code0", "==", "SYMBOL_REF", "||", "code0", "==", "LABEL_REF", "||", "code0", "==", "CONST", ")", "{"], "File": "iq2000", "Func": "iq2000_count_memory_refs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255560, "Length": 186, "Cover_Rate": 0.5269121813031161} {"Template_token": ["", "HOST_WIDE_INT", "iq2000_debugger_offset", "(", "rtx", "addr", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "offset2", "=", "const0_rtx", ";", "rtx", "reg", "=", "eliminate_constant_term", "(", "addr", ",", "&", "offset2", ")", ";", "if", "(", "offset", "==", "", ")", "offset", "=", "INTVAL", "(", "offset2", ")", ";", "if", "(", "reg", "==", "stack_pointer_rtx", "||", "reg", "==", "frame_pointer_rtx", "||", "reg", "==", "hard_frame_pointer_rtx", ")", "{", "HOST_WIDE_INT", "frame_size", "=", "(", "!", "cfun", "->", "machine", "->", "initialized", ")", "?", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ":", "cfun", "->", "machine", "->", "total_size", ";"], "ground_truth": ["offset", "=", "offset", "-", "frame_size", ";"], "File": "iq2000", "Func": "iq2000_debugger_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255561, "Length": 85, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "rtx", "offset2", "=", "const0_rtx", ";", "rtx", "reg", "=", "eliminate_constant_term", "(", "addr", ",", "&", "offset2", ")", ";", "if", "(", "offset", "==", "", ")", "offset", "=", "INTVAL", "(", "offset2", ")", ";", "if", "(", "reg", "==", "stack_pointer_rtx", "||", "reg", "==", "frame_pointer_rtx", "||", "reg", "==", "hard_frame_pointer_rtx", ")", "{"], "ground_truth": ["HOST_WIDE_INT", "frame_size", "=", "(", "!", "cfun", "->", "machine", "->", "initialized", ")", "?", "compute_frame_size", "(", "get_frame_size", "(", ")", ")", ":", "cfun", "->", "machine", "->", "total_size", ";"], "File": "iq2000", "Func": "iq2000_debugger_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255562, "Length": 69, "Cover_Rate": 0.7666666666666667} {"Template_token": ["", "static", "void", "iq2000_emit_frame_related_store", "(", "rtx", "mem", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "offset", ")", "{", "rtx", "dwarf_address", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ";"], "ground_truth": ["rtx", "dwarf_mem", "=", "gen_rtx_MEM", "(", "GET_MODE", "(", "reg", ")", ",", "dwarf_address", ")", ";"], "File": "iq2000", "Func": "iq2000_emit_frame_related_store", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255563, "Length": 39, "Cover_Rate": 0.6842105263157895} {"Template_token": ["", "emit_move_insn", "(", "gen_rtx_MEM", "(", "GET_MODE", "(", "address", ")", ",", "scratch", ")", ",", "address", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_expand_eh_return", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255564, "Length": 16, "Cover_Rate": 0.34782608695652173} {"Template_token": ["", "void", "iq2000_expand_eh_return", "(", "rtx", "address", ")", "{", "HOST_WIDE_INT", "gp_offset", "=", "cfun", "->", "machine", "->", "gp_sp_offset", ";", "rtx", "scratch", ";"], "ground_truth": ["scratch", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "gp_offset", ")", ";"], "File": "iq2000", "Func": "iq2000_expand_eh_return", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255565, "Length": 30, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "}", "save_restore_insns", "(", "", ")", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "rtx", "eh_ofs", "=", "EH_RETURN_STACKADJ_RTX", ";", "emit_insn", "(", "gen_addsi3", "(", "eh_ofs", ",", "eh_ofs", ",", "tsize_rtx", ")", ")", ";", "tsize_rtx", "=", "eh_ofs", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "tsize", "!=", "", "||", "crtl", "->", "calls_eh_return", ")", "{", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tsize_rtx", ")", ")", ";", "}", "}", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "emit_move_insn", "(", "gen_rtx_REG", "(", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ",", "stack_pointer_rtx", ")", ";", "emit_use", "(", "gen_rtx_REG", "(", "Pmode", ",", "HARD_FRAME_POINTER_REGNUM", ")", ")", ";"], "ground_truth": ["emit_jump_insn", "(", "gen_eh_return_internal", "(", ")", ")", ";"], "File": "iq2000", "Func": "iq2000_expand_epilogue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255566, "Length": 103, "Cover_Rate": 0.4557522123893805} {"Template_token": ["", "tree", "fndecl", "=", "current_function_decl", ";", "tree", "fntype", "=", "TREE_TYPE", "(", "fndecl", ")", ";", "tree", "fnargs", "=", "DECL_ARGUMENTS", "(", "fndecl", ")", ";", "rtx", "next_arg_reg", ";", "int", "i", ";", "tree", "next_arg", ";", "tree", "cur_arg", ";", "CUMULATIVE_ARGS", "args_so_far_v", ";", "cumulative_args_t", "args_so_far", ";", "int", "store_args_on_stack", "=", "(", "iq2000_can_use_return_insn", "(", ")", ")", ";", "if", "(", "aggregate_value_p", "(", "DECL_RESULT", "(", "fndecl", ")", ",", "fndecl", ")", "&&", "!", "cfun", "->", "returns_pcc_struct", "&&", "targetm", ".", "calls", ".", "struct_value_rtx", "(", "TREE_TYPE", "(", "fndecl", ")", ",", "", ")", "==", "", ")", "{", "tree", "type", "=", "build_pointer_type", "(", "fntype", ")", ";", "tree", "function_result_decl", "=", "build_decl", "(", "BUILTINS_LOCATION", ",", "PARM_DECL", ",", "NULL_TREE", ",", "type", ")", ";", "DECL_ARG_TYPE", "(", "function_result_decl", ")", "=", "type", ";", "DECL_CHAIN", "(", "function_result_decl", ")", "=", "fnargs", ";", "fnargs", "=", "function_result_decl", ";", "}", "INIT_CUMULATIVE_ARGS", "(", "args_so_far_v", ",", "fntype", ",", "NULL_RTX", ",", "", ",", "", ")", ";", "args_so_far", "=", "pack_cumulative_args", "(", "&", "args_so_far_v", ")", ";", "regno", "=", "GP_ARG_FIRST", ";", "for", "(", "cur_arg", "=", "fnargs", ";", "cur_arg", "!=", "", ";", "cur_arg", "=", "next_arg", ")", "{", "tree", "passed_type", "=", "DECL_ARG_TYPE", "(", "cur_arg", ")", ";", "machine_mode", "passed_mode", "=", "TYPE_MODE", "(", "passed_type", ")", ";", "rtx", "entry_parm", ";", "if", "(", "TREE_ADDRESSABLE", "(", "passed_type", ")", ")", "{", "passed_type", "=", "build_pointer_type", "(", "passed_type", ")", ";", "passed_mode", "=", "Pmode", ";", "}", "function_arg_info", "arg", "(", "passed_type", ",", "passed_mode", ",", "true", ")", ";", "entry_parm", "=", "iq2000_function_arg", "(", "args_so_far", ",", "arg", ")", ";", "iq2000_function_arg_advance", "(", "args_so_far", ",", "arg", ")", ";", "next_arg", "=", "DECL_CHAIN", "(", "cur_arg", ")", ";", "if", "(", "entry_parm", "&&", "store_args_on_stack", ")", "{", "if", "(", "next_arg", "==", "", "&&", "DECL_NAME", "(", "cur_arg", ")", "&&", "(", "strcmp", "(", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cur_arg", ")", ")", ",", "", ")", "==", "", "||", "strcmp", "(", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "cur_arg", ")", ")", ",", "", ")", "==", "", ")", ")", "{", "last_arg_is_vararg_marker", "=", "", ";", "break", ";", "}", "else", "{"], "ground_truth": ["int", "words", ";"], "File": "iq2000", "Func": "iq2000_expand_prologue", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255567, "Length": 298, "Cover_Rate": 0.3968042609853529} {"Template_token": ["", "iq2000_load_reg", "=", "", ";", "iq2000_load_reg2", "=", "", ";", "iq2000_load_reg3", "=", "", ";", "iq2000_load_reg4", "=", "", ";", "return", "ret", ";", "}", "set_reg", "=", "operands", "[", "", "]", ";", "if", "(", "set_reg", "==", "", ")", "return", "ret", ";", "while", "(", "GET_CODE", "(", "set_reg", ")", "==", "SUBREG", ")", "set_reg", "=", "SUBREG_REG", "(", "set_reg", ")", ";", "mode", "=", "GET_MODE", "(", "set_reg", ")", ";", "dslots_number_nops", "=", "num_nops", ";", "iq2000_load_reg", "=", "set_reg", ";"], "ground_truth": ["if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "(", "unsigned", ")", "(", "UNITS_PER_WORD", ")", ")", "iq2000_load_reg2", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "set_reg", ")", "+", "", ")", ";"], "File": "iq2000", "Func": "iq2000_fill_delay_slot", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255569, "Length": 95, "Cover_Rate": 0.3861788617886179} {"Template_token": ["", "else", "num_nops", "=", "", ";", "next_insn", "=", "NEXT_INSN", "(", "cur_insn", ")", ";", "while", "(", "next_insn", "!=", "", "&&", "(", "NOTE_P", "(", "next_insn", ")", "||", "LABEL_P", "(", "next_insn", ")", ")", ")", "next_insn", "=", "NEXT_INSN", "(", "next_insn", ")", ";", "dslots_load_total", "+=", "num_nops", ";", "if", "(", "TARGET_DEBUG_C_MODE", "||", "type", "==", "DELAY_NONE", "||", "operands", "==", "", "||", "cur_insn", "==", "", "||", "next_insn", "==", "", "||", "LABEL_P", "(", "next_insn", ")", "||", "(", "set_reg", "=", "operands", "[", "", "]", ")", "==", "", ")", "{", "dslots_number_nops", "=", "", ";", "iq2000_load_reg", "=", "", ";", "iq2000_load_reg2", "=", "", ";", "iq2000_load_reg3", "=", "", ";", "iq2000_load_reg4", "=", "", ";"], "ground_truth": ["return", "ret", ";"], "File": "iq2000", "Func": "iq2000_fill_delay_slot", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255570, "Length": 101, "Cover_Rate": 0.4105691056910569} {"Template_token": ["", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "E_DFmode", ":", "cum", "->", "arg_words", "+=", "cum", "->", "arg_words", "&", "", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "default", ":", "gcc_assert", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_INT", "||", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_COMPLEX_FLOAT", ")", ";", "case", "E_BLKmode", ":", "if", "(", "type", "!=", "NULL_TREE", "&&", "TYPE_ALIGN", "(", "type", ")", ">", "(", "unsigned", ")", "BITS_PER_WORD", ")", "cum", "->", "arg_words", "+=", "(", "cum", "->", "arg_words", "&", "", ")", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "E_VOIDmode", ":", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "E_DImode", ":", "cum", "->", "arg_words", "+=", "(", "cum", "->", "arg_words", "&", "", ")", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "case", "E_TImode", ":", "cum", "->", "arg_words", "+=", "(", "cum", "->", "arg_words", "&", "", ")", ";", "regbase", "=", "GP_ARG_FIRST", ";", "break", ";", "}", "if", "(", "*", "arg_words", ">=", "(", "unsigned", ")", "MAX_ARGS_IN_REGISTERS", ")", "{", "if", "(", "TARGET_DEBUG_D_MODE", ")", "fprintf", "(", "stderr", ",", "", ",", "struct_p", "?", "", ":", "", ")", ";", "ret", "=", "", ";", "}", "else", "{", "gcc_assert", "(", "regbase", "!=", "-", "", ")", ";", "if", "(", "!", "type", "||", "TREE_CODE", "(", "type", ")", "!=", "RECORD_TYPE", "||", "!", "arg", ".", "named", "||", "!", "TYPE_SIZE_UNIT", "(", "type", ")", "||", "!", "tree_fits_uhwi_p", "(", "TYPE_SIZE_UNIT", "(", "type", ")", ")", ")", "ret", "=", "gen_rtx_REG", "(", "mode", ",", "regbase", "+", "*", "arg_words", "+", "bias", ")", ";", "else", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "REAL_TYPE", "&&", "TYPE_PRECISION", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "BITS_PER_WORD", "&&", "tree_fits_shwi_p", "(", "bit_position", "(", "field", ")", ")", "&&", "int_bit_position", "(", "field", ")", "%", "BITS_PER_WORD", "==", "", ")", "break", ";", "if", "(", "!", "field", "||", "mode", "==", "DFmode", ")", "ret", "=", "gen_rtx_REG", "(", "mode", ",", "regbase", "+", "*", "arg_words", "+", "bias", ")", ";", "else", "{", "unsigned", "int", "chunks", ";"], "ground_truth": ["HOST_WIDE_INT", "bitpos", ";"], "File": "iq2000", "Func": "iq2000_function_arg", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255571, "Length": 334, "Cover_Rate": 0.4315245478036176} {"Template_token": ["", "break", ";", "case", "E_BLKmode", ":", "cum", "->", "gp_reg_found", "=", "", ";", "cum", "->", "arg_words", "+=", "(", "(", "int_size_in_bytes", "(", "arg", ".", "type", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";", "break", ";", "case", "E_SFmode", ":", "cum", "->", "arg_words", "++", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "", ")", "cum", "->", "fp_code", "+=", "", "<<", "(", "(", "cum", "->", "arg_number", "-", "", ")", "*", "", ")", ";", "break", ";", "case", "E_DFmode", ":", "cum", "->", "arg_words", "+=", "", ";", "if", "(", "!", "cum", "->", "gp_reg_found", "&&", "cum", "->", "arg_number", "<=", "", ")", "cum", "->", "fp_code", "+=", "", "<<", "(", "(", "cum", "->", "arg_number", "-", "", ")", "*", "", ")", ";", "break", ";", "case", "E_DImode", ":", "cum", "->", "gp_reg_found", "=", "", ";", "cum", "->", "arg_words", "+=", "", ";", "break", ";"], "ground_truth": ["case", "E_TImode", ":"], "File": "iq2000", "Func": "iq2000_function_arg_advance", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255572, "Length": 137, "Cover_Rate": 0.4241486068111455} {"Template_token": ["", "static", "unsigned", "int", "iq2000_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{"], "ground_truth": ["return", "(", "type", "!=", "NULL_TREE", "?", "(", "TYPE_ALIGN", "(", "type", ")", "<=", "PARM_BOUNDARY", "?", "PARM_BOUNDARY", ":", "TYPE_ALIGN", "(", "type", ")", ")", ":", "(", "GET_MODE_ALIGNMENT", "(", "mode", ")", "<=", "PARM_BOUNDARY", "?", "PARM_BOUNDARY", ":", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", ")", ";"], "File": "iq2000", "Func": "iq2000_function_arg_boundary", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255573, "Length": 51, "Cover_Rate": 0.9807692307692307} {"Template_token": ["", "static", "pad_direction", "iq2000_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "(", "!", "BYTES_BIG_ENDIAN", "?", "PAD_UPWARD", ":", "(", "(", "mode", "==", "BLKmode", "?", "(", "type", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "int_size_in_bytes", "(", "type", ")", "<", "(", "PARM_BOUNDARY", "/", "BITS_PER_UNIT", ")", ")", ":", "(", "GET_MODE_BITSIZE", "(", "mode", ")", "<", "PARM_BOUNDARY", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", ")", ")", "?", "PAD_DOWNWARD", ":", "PAD_UPWARD", ")", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_function_arg_padding", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255576, "Length": 73, "Cover_Rate": 1.0} {"Template_token": ["", "static", "rtx", "iq2000_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "int", "reg", "=", "GP_RETURN", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";"], "ground_truth": ["int", "unsignedp", "=", "TYPE_UNSIGNED", "(", "valtype", ")", ";"], "File": "iq2000", "Func": "iq2000_function_value", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255577, "Length": 36, "Cover_Rate": 0.45} {"Template_token": ["", "bool", "iq2000_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "GP_RETURN", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_function_value_regno_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255578, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "iq2000_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "GP_RETURN", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_function_value_regno_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255579, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "static", "bool", "iq2000_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{"], "ground_truth": ["return", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "GR_REGS", "?", "(", "regno", "&", "", ")", "==", "", "||", "GET_MODE_SIZE", "(", "mode", ")", "<=", "", ":", "(", "regno", "&", "", ")", "==", "", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "", ")", ";"], "File": "iq2000", "Func": "iq2000_hard_regno_mode_ok", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255580, "Length": 52, "Cover_Rate": 0.9811320754716981} {"Template_token": ["", "static", "bool", "iq2000_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "GR_REGS", "?", "(", "regno", "&", "", ")", "==", "", "||", "GET_MODE_SIZE", "(", "mode", ")", "<=", "", ":", "(", "regno", "&", "", ")", "==", "", "||", "GET_MODE_SIZE", "(", "mode", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_hard_regno_mode_ok", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255581, "Length": 53, "Cover_Rate": 1.0} {"Template_token": ["", "else", "if", "(", "(", "from", ")", "==", "ARG_POINTER_REGNUM", ")", "(", "offset", ")", "=", "(", "cfun", "->", "machine", "->", "total_size", ")", ";", "else", "if", "(", "(", "from", ")", "==", "RETURN_ADDRESS_POINTER_REGNUM", ")", "{"], "ground_truth": ["if", "(", "leaf_function_p", "(", ")", ")", "(", "offset", ")", "=", "", ";"], "File": "iq2000", "Func": "iq2000_initial_elimination_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255582, "Length": 43, "Cover_Rate": 0.36752136752136755} {"Template_token": ["", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LUC32L", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LUC64", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LUC64L", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LUK", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int", ",", "IQ2000_BUILTIN_LULCK", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LUM32", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LUM32L", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LUM64", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LUM64L", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_LURL", ")", ";", "def_builtin", "(", "", ",", "int_ftype_int_int_int", ",", "IQ2000_BUILTIN_MRGB", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int", ",", "IQ2000_BUILTIN_SRRDL", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int", ",", "IQ2000_BUILTIN_SRULCK", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int", ",", "IQ2000_BUILTIN_SRWRU", ")", ";", "def_builtin", "(", "", ",", "void_ftype", ",", "IQ2000_BUILTIN_TRAPQFL", ")", ";", "def_builtin", "(", "", ",", "void_ftype", ",", "IQ2000_BUILTIN_TRAPQNE", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int", ",", "IQ2000_BUILTIN_TRAPREL", ")", ";", "def_builtin", "(", "", ",", "void_ftype_int_int_int", ",", "IQ2000_BUILTIN_WBU", ")", ";"], "ground_truth": ["def_builtin", "(", "", ",", "void_ftype", ",", "IQ2000_BUILTIN_SYSCALL", ")", ";"], "File": "iq2000", "Func": "iq2000_init_builtins", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255583, "Length": 171, "Cover_Rate": 0.3131868131868132} {"Template_token": ["", "static", "struct", "machine_function", "*", "iq2000_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_init_machine_status", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255585, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "PLUS", ")", "{", "rtx", "xplus0", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "rtx", "xplus1", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "enum", "rtx_code", "code0", ";", "enum", "rtx_code", "code1", ";", "while", "(", "GET_CODE", "(", "xplus0", ")", "==", "SUBREG", ")", "xplus0", "=", "SUBREG_REG", "(", "xplus0", ")", ";", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "while", "(", "GET_CODE", "(", "xplus1", ")", "==", "SUBREG", ")", "xplus1", "=", "SUBREG_REG", "(", "xplus1", ")", ";", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "if", "(", "code0", "==", "REG", "&&", "iq2000_reg_mode_ok_for_base_p", "(", "xplus0", ",", "mode", ",", "strict", ")", ")", "{", "if", "(", "code1", "==", "CONST_INT", "&&", "SMALL_INT", "(", "xplus1", ")", "&&", "SMALL_INT_UNSIGNED", "(", "xplus1", ")", ")", "return", "", ";", "}", "}", "if", "(", "TARGET_DEBUG_A_MODE", ")", "GO_PRINTF", "(", "", ")", ";"], "ground_truth": ["return", "", ";"], "File": "iq2000", "Func": "iq2000_legitimate_address_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255586, "Length": 133, "Cover_Rate": 0.4195583596214511} {"Template_token": ["", "rtx", "xplus0", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "rtx", "xplus1", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "enum", "rtx_code", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";", "enum", "rtx_code", "code1", "=", "GET_CODE", "(", "xplus1", ")", ";", "if", "(", "code0", "!=", "REG", "&&", "code1", "==", "REG", ")", "{", "xplus0", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "xplus1", "=", "XEXP", "(", "xinsn", ",", "", ")", ";", "code0", "=", "GET_CODE", "(", "xplus0", ")", ";"], "ground_truth": ["code1", "=", "GET_CODE", "(", "xplus1", ")", ";"], "File": "iq2000", "Func": "iq2000_legitimize_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255587, "Length": 81, "Cover_Rate": 0.31640625} {"Template_token": ["", "if", "(", "code0", "==", "REG", "&&", "REG_MODE_OK_FOR_BASE_P", "(", "xplus0", ",", "mode", ")", "&&", "code1", "==", "CONST_INT", "&&", "!", "SMALL_INT", "(", "xplus1", ")", ")", "{", "rtx", "int_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "rtx", "ptr_reg", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "int_reg", ",", "GEN_INT", "(", "INTVAL", "(", "xplus1", ")", "&", "~", "", ")", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "ptr_reg", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "xplus0", ",", "int_reg", ")", ")", ")", ";", "return", "plus_constant", "(", "Pmode", ",", "ptr_reg", ",", "INTVAL", "(", "xplus1", ")", "&", "", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_legitimize_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255588, "Length": 89, "Cover_Rate": 0.34765625} {"Template_token": ["", "return", "gen_rtx_REG", "(", "(", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_INT", "||", "GET_MODE_SIZE", "(", "mode", ")", ">=", "", ")", "?", "mode", ":", "SImode", ")", ",", "GP_RETURN", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_libcall_value", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255589, "Length": 29, "Cover_Rate": 0.7073170731707317} {"Template_token": ["", "static", "bool", "iq2000_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{"], "ground_truth": ["return", "(", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_COMPLEX_FLOAT", ")", "==", "(", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_COMPLEX_FLOAT", ")", ")", ";"], "File": "iq2000", "Func": "iq2000_modes_tieable_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255591, "Length": 46, "Cover_Rate": 0.9787234042553191} {"Template_token": ["", "return", "(", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_COMPLEX_FLOAT", ")", "==", "(", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_FLOAT", "||", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_COMPLEX_FLOAT", ")", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_modes_tieable_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255592, "Length": 36, "Cover_Rate": 0.7659574468085106} {"Template_token": ["", "if", "(", "op1", "==", "CONST0_RTX", "(", "SFmode", ")", ")", "{", "if", "(", "GP_REG_P", "(", "regno0", ")", ")", "ret", "=", "", ";", "}", "else", "{", "delay", "=", "DELAY_LOAD", ";", "ret", "=", "", ";", "}", "}", "else", "if", "(", "code1", "==", "LABEL_REF", ")", "{", "if", "(", "TARGET_STATS", ")", "iq2000_count_memory_refs", "(", "op1", ",", "", ")", ";", "ret", "=", "", ";", "}", "else", "if", "(", "code1", "==", "SYMBOL_REF", "||", "code1", "==", "CONST", ")", "{", "if", "(", "TARGET_STATS", ")", "iq2000_count_memory_refs", "(", "op1", ",", "", ")", ";", "ret", "=", "", ";", "}", "else", "if", "(", "code1", "==", "PLUS", ")", "{", "rtx", "add_op0", "=", "XEXP", "(", "op1", ",", "", ")", ";", "rtx", "add_op1", "=", "XEXP", "(", "op1", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "op1", ",", "", ")", ")", "==", "REG", "&&", "GET_CODE", "(", "XEXP", "(", "op1", ",", "", ")", ")", "==", "CONST_INT", ")", "add_op0", "=", "XEXP", "(", "op1", ",", "", ")", ",", "add_op1", "=", "XEXP", "(", "op1", ",", "", ")", ";", "operands", "[", "", "]", "=", "add_op0", ";", "operands", "[", "", "]", "=", "add_op1", ";", "ret", "=", "", ";", "}", "else", "if", "(", "code1", "==", "HIGH", ")", "{", "operands", "[", "", "]", "=", "XEXP", "(", "op1", ",", "", ")", ";", "ret", "=", "", ";", "}", "}", "else", "if", "(", "code0", "==", "MEM", ")", "{", "if", "(", "TARGET_STATS", ")", "iq2000_count_memory_refs", "(", "op0", ",", "", ")", ";", "if", "(", "code1", "==", "REG", ")", "{", "int", "regno1", "=", "REGNO", "(", "op1", ")", "+", "subreg_offset1", ";", "if", "(", "GP_REG_P", "(", "regno1", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "ret", "=", "", ";", "break", ";", "case", "E_SImode", ":", "ret", "=", "", ";", "break", ";", "case", "E_HImode", ":", "ret", "=", "", ";", "break", ";", "case", "E_QImode", ":", "ret", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "else", "if", "(", "code1", "==", "CONST_INT", "&&", "INTVAL", "(", "op1", ")", "==", "", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "ret", "=", "", ";", "break", ";", "case", "E_SImode", ":", "ret", "=", "", ";", "break", ";", "case", "E_HImode", ":", "ret", "=", "", ";", "break", ";", "case", "E_QImode", ":", "ret", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "}", "else", "if", "(", "code1", "==", "CONST_DOUBLE", "&&", "op1", "==", "CONST0_RTX", "(", "mode", ")", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "ret", "=", "", ";", "break", ";", "case", "E_SImode", ":", "ret", "=", "", ";", "break", ";", "case", "E_HImode", ":", "ret", "=", "", ";", "break", ";", "case", "E_QImode", ":", "ret", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "if", "(", "ret", "==", "", ")", "{", "abort_with_insn", "(", "insn", ",", "", ")", ";", "return", "", ";", "}"], "ground_truth": ["if", "(", "delay", "!=", "DELAY_NONE", ")", "return", "iq2000_fill_delay_slot", "(", "ret", ",", "delay", ",", "operands", ",", "insn", ")", ";"], "File": "iq2000", "Func": "iq2000_move_1word", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255593, "Length": 456, "Cover_Rate": 0.48562300319488816} {"Template_token": ["", "else", "sprintf", "(", "buffer", ",", "", ",", "inverted_p", "?", "inverted_comp", ":", "comp", ",", "need_z_p", "?", "", ":", "", ",", "op1", ",", "op2", ")", ";", "return", "buffer", ";", "case", "", ":", "case", "", ":", "{", "const", "char", "*", "target", "=", "(", "(", "iq2000_branch_likely", "||", "length", "==", "", ")", "?", "", ":", "", ")", ";", "char", "*", "c", ";", "c", "=", "strchr", "(", "buffer", ",", "'\\0'", ")", ";", "if", "(", "float_p", ")", "sprintf", "(", "c", ",", "", ",", "inverted_p", "?", "comp", ":", "inverted_comp", ",", "target", ")", ";"], "ground_truth": ["else", "sprintf", "(", "c", ",", "", ",", "inverted_p", "?", "comp", ":", "inverted_comp", ",", "need_z_p", "?", "", ":", "", ",", "op1", ",", "op2", ",", "target", ")", ";"], "File": "iq2000", "Func": "iq2000_output_conditional_branch", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255594, "Length": 111, "Cover_Rate": 0.3008130081300813} {"Template_token": ["", "if", "(", "arg", ".", "type", "==", "NULL_TREE", "||", "arg", ".", "mode", "==", "DImode", "||", "arg", ".", "mode", "==", "DFmode", ")", "return", "", ";", "size", "=", "int_size_in_bytes", "(", "arg", ".", "type", ")", ";", "return", "size", "==", "-", "", "||", "size", ">", "UNITS_PER_WORD", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_pass_by_reference", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255595, "Length": 43, "Cover_Rate": 0.3944954128440367} {"Template_token": ["", "reg", "=", "arg0", ";", "offset", "=", "arg1", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "REG", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "REG", ")", "reg", "=", "arg1", ",", "offset", "=", "arg0", ";", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "else", "abort_with_insn", "(", "addr", ",", "", ")", ";", "if", "(", "!", "CONSTANT_P", "(", "offset", ")", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "if", "(", "REGNO", "(", "reg", ")", "==", "ARG_POINTER_REGNUM", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "output_addr_const", "(", "file", ",", "offset", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "reg", ")", "]", ")", ";", "}", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "", "]", ")", ";", "break", ";", "default", ":", "abort_with_insn", "(", "addr", ",", "", ")", ";", "break", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_print_operand_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255596, "Length": 185, "Cover_Rate": 0.4946524064171123} {"Template_token": ["", "static", "void", "iq2000_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", "mode", ",", "rtx", "addr", ")", "{", "if", "(", "!", "addr", ")", "error", "(", "", ")", ";", "else", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "addr", ")", "==", "ARG_POINTER_REGNUM", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "LO_SUM", ":", "{", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "!=", "REG", ")", "abort_with_insn", "(", "addr", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "iq2000_print_operand_address", "(", "file", ",", "mode", ",", "arg1", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ")", ";", "}", "break", ";", "case", "PLUS", ":", "{"], "ground_truth": ["rtx", "reg", "=", "", ";"], "File": "iq2000", "Func": "iq2000_print_operand_address", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255597, "Length": 153, "Cover_Rate": 0.4090909090909091} {"Template_token": ["", "static", "bool", "iq2000_print_operand_punct_valid_p", "(", "unsigned", "char", "code", ")", "{"], "ground_truth": ["return", "iq2000_print_operand_punct", "[", "code", "]", ";"], "File": "iq2000", "Func": "iq2000_print_operand_punct_valid_p", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255598, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "case", "MOD", ":", "if", "(", "mode", "==", "SFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "UDIV", ":", "case", "UMOD", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "SIGN_EXTEND", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "ZERO_EXTEND", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "CONST_INT", ":", "*", "total", "=", "", ";", "break", ";", "case", "LABEL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "offset", "=", "const0_rtx", ";", "rtx", "symref", "=", "eliminate_constant_term", "(", "XEXP", "(", "x", ",", "", ")", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "symref", ")", "==", "LABEL_REF", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "GET_CODE", "(", "symref", ")", "!=", "SYMBOL_REF", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "INTVAL", "(", "offset", ")", "<", "-", "", "||", "INTVAL", "(", "offset", ")", ">", "", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "SYMBOL_REF_FLAG", "(", "symref", ")", "?", "", ":", "", ")", ";", "break", ";", "}", "case", "SYMBOL_REF", ":"], "ground_truth": ["*", "total", "=", "COSTS_N_INSNS", "(", "SYMBOL_REF_FLAG", "(", "x", ")", "?", "", ":", "", ")", ";"], "File": "iq2000", "Func": "iq2000_rtx_costs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255604, "Length": 231, "Cover_Rate": 0.3696} {"Template_token": ["", "case", "LABEL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "offset", "=", "const0_rtx", ";", "rtx", "symref", "=", "eliminate_constant_term", "(", "XEXP", "(", "x", ",", "", ")", ",", "&", "offset", ")", ";", "if", "(", "GET_CODE", "(", "symref", ")", "==", "LABEL_REF", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "GET_CODE", "(", "symref", ")", "!=", "SYMBOL_REF", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "if", "(", "INTVAL", "(", "offset", ")", "<", "-", "", "||", "INTVAL", "(", "offset", ")", ">", "", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "SYMBOL_REF_FLAG", "(", "symref", ")", "?", "", ":", "", ")", ";", "break", ";", "}", "case", "SYMBOL_REF", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "SYMBOL_REF_FLAG", "(", "x", ")", "?", "", ":", "", ")", ";", "break", ";", "case", "CONST_DOUBLE", ":", "{", "rtx", "high", ",", "low", ";", "split_double", "(", "x", ",", "&", "high", ",", "&", "low", ")", ";", "*", "total", "=", "COSTS_N_INSNS", "(", "(", "high", "==", "CONST0_RTX", "(", "GET_MODE", "(", "high", ")", ")", "||", "low", "==", "CONST0_RTX", "(", "GET_MODE", "(", "low", ")", ")", ")", "?", "", ":", "", ")", ";"], "ground_truth": ["break", ";"], "File": "iq2000", "Func": "iq2000_rtx_costs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255605, "Length": 192, "Cover_Rate": 0.3072} {"Template_token": ["", "return", "mergeable_constant_section", "(", "mode", ",", "align", ",", "", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_select_rtx_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255606, "Length": 11, "Cover_Rate": 0.39285714285714285} {"Template_token": ["", "static", "section", "*", "iq2000_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{"], "ground_truth": ["return", "mergeable_constant_section", "(", "mode", ",", "align", ",", "", ")", ";"], "File": "iq2000", "Func": "iq2000_select_rtx_section", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255607, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "static", "void", "iq2000_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "unsigned", "int", "iq2000_off", "=", "!", "cum", "->", "last_arg_fp", ";", "unsigned", "int", "iq2000_fp_off", "=", "cum", "->", "last_arg_fp", ";", "if", "(", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", ")", "{", "int", "iq2000_save_gp_regs", "=", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "arg_words", "-", "iq2000_off", ";"], "ground_truth": ["int", "iq2000_save_fp_regs", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "fp_arg_words", "-", "iq2000_fp_off", ")", ";"], "File": "iq2000", "Func": "iq2000_setup_incoming_varargs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255608, "Length": 82, "Cover_Rate": 0.4385026737967914} {"Template_token": ["", "int", "iq2000_save_fp_regs", "=", "(", "MAX_ARGS_IN_REGISTERS", "-", "cum", "->", "fp_arg_words", "-", "iq2000_fp_off", ")", ";", "if", "(", "iq2000_save_gp_regs", "<", "", ")", "iq2000_save_gp_regs", "=", "", ";", "if", "(", "iq2000_save_fp_regs", "<", "", ")", "iq2000_save_fp_regs", "=", "", ";", "*", "pretend_size", "=", "(", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", "+", "(", "iq2000_save_fp_regs", "*", "UNITS_PER_FPREG", ")", ")", ";", "if", "(", "!", "(", "no_rtl", ")", ")", "{", "if", "(", "cum", "->", "arg_words", "<", "MAX_ARGS_IN_REGISTERS", "-", "iq2000_off", ")", "{", "rtx", "ptr", ",", "mem", ";"], "ground_truth": ["ptr", "=", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "-", "(", "iq2000_save_gp_regs", "*", "UNITS_PER_WORD", ")", ")", ";"], "File": "iq2000", "Func": "iq2000_setup_incoming_varargs", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255609, "Length": 90, "Cover_Rate": 0.48128342245989303} {"Template_token": ["", "static", "HOST_WIDE_INT", "iq2000_starting_frame_offset", "(", "void", ")", "{", "return", "crtl", "->", "outgoing_args_size", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_starting_frame_offset", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255611, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "static", "void", "iq2000_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "", ")", ";", "rtx", "mem", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_CODE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "TRAMPOLINE_CODE_SIZE", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "TRAMPOLINE_CODE_SIZE", "+", "GET_MODE_SIZE", "(", "Pmode", ")", ")", ";"], "ground_truth": ["emit_move_insn", "(", "mem", ",", "chain_value", ")", ";"], "File": "iq2000", "Func": "iq2000_trampoline_init", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255612, "Length": 87, "Cover_Rate": 0.9886363636363636} {"Template_token": ["", "rtx", "mem", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_CODE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "Pmode", ",", "TRAMPOLINE_CODE_SIZE", ")", ";"], "ground_truth": ["emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";"], "File": "iq2000", "Func": "iq2000_trampoline_init", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255613, "Length": 37, "Cover_Rate": 0.42045454545454547} {"Template_token": ["", "int_arg_words", "=", "crtl", "->", "args", ".", "info", ".", "arg_words", ";", "if", "(", "int_arg_words", "<", "", ")", "gpr_save_area_size", "=", "(", "", "-", "int_arg_words", ")", "*", "UNITS_PER_WORD", ";", "else", "gpr_save_area_size", "=", "", ";", "nextarg", "=", "plus_constant", "(", "Pmode", ",", "nextarg", ",", "-", "gpr_save_area_size", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_va_start", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255614, "Length": 51, "Cover_Rate": 0.75} {"Template_token": ["", "int", "int_arg_words", ";", "int", "gpr_save_area_size", ";", "int_arg_words", "=", "crtl", "->", "args", ".", "info", ".", "arg_words", ";", "if", "(", "int_arg_words", "<", "", ")", "gpr_save_area_size", "=", "(", "", "-", "int_arg_words", ")", "*", "UNITS_PER_WORD", ";", "else", "gpr_save_area_size", "=", "", ";", "nextarg", "=", "plus_constant", "(", "Pmode", ",", "nextarg", ",", "-", "gpr_save_area_size", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "iq2000_va_start", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255615, "Length": 57, "Cover_Rate": 0.8382352941176471} {"Template_token": ["", "case", "GTU", ":", "test", "=", "ITEST_GTU", ";", "break", ";", "case", "GEU", ":", "test", "=", "ITEST_GEU", ";", "break", ";", "case", "LTU", ":", "test", "=", "ITEST_LTU", ";", "break", ";", "case", "LEU", ":", "test", "=", "ITEST_LEU", ";", "break", ";", "default", ":", "break", ";", "}", "return", "test", ";"], "ground_truth": ["}"], "File": "iq2000", "Func": "map_test_to_internal_test", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255616, "Length": 45, "Cover_Rate": 0.375} {"Template_token": ["", "int", "regno", ";", "int", "reg_save_count", "=", "", ";", "for", "(", "regno", "=", "GP_REG_LAST", ";", "regno", ">=", "GP_REG_FIRST", ";", "regno", "--", ")", "if", "(", "BITSET_P", "(", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "reg_save_count", "+=", "", ";", "base_offset", "=", "gp_offset", "-", "(", "(", "reg_save_count", "-", "", ")", "*", "", ")", ";", "base_reg_rtx", "=", "iq2000_add_large_offset_to_sp", "(", "base_offset", ")", ";", "}", "for", "(", "regno", "=", "GP_REG_LAST", ";", "regno", ">=", "GP_REG_FIRST", ";", "regno", "--", ")", "{", "if", "(", "BITSET_P", "(", "mask", ",", "regno", "-", "GP_REG_FIRST", ")", ")", "{", "rtx", "reg_rtx", ";", "rtx", "mem_rtx", "=", "gen_rtx_MEM", "(", "gpr_mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "base_reg_rtx", ",", "GEN_INT", "(", "gp_offset", "-", "base_offset", ")", ")", ")", ";", "reg_rtx", "=", "gen_rtx_REG", "(", "gpr_mode", ",", "regno", ")", ";"], "ground_truth": ["if", "(", "store_p", ")", "iq2000_emit_frame_related_store", "(", "mem_rtx", ",", "reg_rtx", ",", "gp_offset", ")", ";"], "File": "iq2000", "Func": "save_restore_insns", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255617, "Length": 131, "Cover_Rate": 0.4628975265017668} {"Template_token": ["", "if", "(", "a", "&", "", ")", "c", "+=", "b", ";", "a", ">>=", "", ";", "b", "<<=", "", ";", "}"], "ground_truth": ["return", "c", ";"], "File": "lib2extra-funcs", "Func": "__mulsi3", "Target": "iq2000", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 255618, "Length": 22, "Cover_Rate": 0.4}