{"Template_token": ["", "case", "POST_MODIFY", ":", "case", "POST_INC", ":", "case", "POST_DEC", ":", "return", "", ";", "case", "SYMBOL_REF", ":", "return", "COSTS_N_INSNS", "(", "", ")", ";", "case", "CONST", ":", "return", "COSTS_N_INSNS", "(", "", ")", ";", "case", "REG", ":", "return", "COSTS_N_INSNS", "(", "", ")", ";", "case", "PLUS", ":", "plus0", "=", "XEXP", "(", "address", ",", "", ")", ";", "plus1", "=", "XEXP", "(", "address", ",", "", ")", ";", "if", "(", "REG_P", "(", "plus0", ")", "&&", "CONST_INT_P", "(", "plus1", ")", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "plus1", ")", ")", "return", "(", "COSTS_N_INSNS", "(", "", ")", "-", "", ")", ";", "else", "return", "COSTS_N_INSNS", "(", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-cost2", "Func": "nds32_address_cost_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241947, "Length": 98, "Cover_Rate": 0.5764705882352941} {"Template_token": ["", "case", "PLUS", ":", "plus0", "=", "XEXP", "(", "address", ",", "", ")", ";", "plus1", "=", "XEXP", "(", "address", ",", "", ")", ";", "if", "(", "REG_P", "(", "plus0", ")", "&&", "CONST_INT_P", "(", "plus1", ")", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "plus1", ")", ")", "return", "(", "COSTS_N_INSNS", "(", "", ")", "-", "", ")", ";", "else", "return", "COSTS_N_INSNS", "(", "", ")", ";", "}", "return", "COSTS_N_INSNS", "(", "", ")", ";", "default", ":", "break", ";", "}", "return", "COSTS_N_INSNS", "(", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-cost2", "Func": "nds32_address_cost_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241948, "Length": 77, "Cover_Rate": 0.45294117647058824} {"Template_token": ["", "return", "false", ";", "case", "USE", ":", "*", "total", "=", "", ";", "break", ";", "case", "CONST_INT", ":", "if", "(", "outer_code", "==", "SET", ")", "{", "if", "(", "satisfies_constraint_Is05", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "else", "if", "(", "satisfies_constraint_Is20", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "}", "else", "if", "(", "outer_code", "==", "PLUS", "||", "outer_code", "==", "MINUS", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", "-", "", ";"], "ground_truth": ["else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";"], "File": "nds32-cost2", "Func": "nds32_rtx_costs_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241949, "Length": 104, "Cover_Rate": 0.30498533724340177} {"Template_token": ["", "case", "CONST_INT", ":", "if", "(", "outer_code", "==", "SET", ")", "{", "if", "(", "satisfies_constraint_Is05", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "else", "if", "(", "satisfies_constraint_Is20", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "}", "else", "if", "(", "outer_code", "==", "PLUS", "||", "outer_code", "==", "MINUS", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "}", "else", "if", "(", "outer_code", "==", "ASHIFT", ")", "{", "if", "(", "satisfies_constraint_Iu03", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "}", "else", "if", "(", "outer_code", "==", "ASHIFTRT", "||", "outer_code", "==", "LSHIFTRT", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "x", ")", ")", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "else", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "}", "else", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "}", "break", ";", "case", "CONST_DOUBLE", ":"], "ground_truth": ["*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";"], "File": "nds32-cost3", "Func": "nds32_rtx_costs_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241950, "Length": 190, "Cover_Rate": 0.5428571428571428} {"Template_token": ["", "if", "(", "speed", ")", "goto", "performance_cost", ";", "else", "goto", "size_cost", ";", "performance_cost", ":", "switch", "(", "code", ")", "{", "case", "SET", ":", "return", "false", ";", "case", "USE", ":", "*", "total", "=", "", ";", "break", ";", "case", "MULT", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "case", "DIV", ":", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "default", ":", "*", "total", "=", "COSTS_N_INSNS", "(", "", ")", ";", "break", ";", "}", "return", "true", ";", "size_cost", ":", "switch", "(", "code", ")", "{", "case", "SET", ":", "return", "false", ";", "case", "USE", ":", "*", "total", "=", "", ";", "break", ";", "case", "CONST_INT", ":"], "ground_truth": ["if", "(", "outer_code", "==", "SET", ")", "{"], "File": "nds32-cost3", "Func": "nds32_rtx_costs_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241951, "Length": 118, "Cover_Rate": 0.33714285714285713} {"Template_token": ["", "if", "(", "speed_p", ")", "{"], "ground_truth": ["if", "(", "current_pass", "->", "tv_id", "==", "TV_FWPROP", ")", "return", "nds32_address_cost_speed_fwprop", "(", "address", ")", ";"], "File": "nds32-cost", "Func": "nds32_address_cost_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241952, "Length": 19, "Cover_Rate": 0.3584905660377358} {"Template_token": ["", "int", "nds32_address_cost_impl", "(", "rtx", "address", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed_p", ")", "{", "if", "(", "speed_p", ")", "{", "if", "(", "current_pass", "->", "tv_id", "==", "TV_FWPROP", ")", "return", "nds32_address_cost_speed_fwprop", "(", "address", ")", ";", "else", "return", "nds32_address_cost_speed_prefer", "(", "address", ")", ";"], "ground_truth": ["}"], "File": "nds32-cost", "Func": "nds32_address_cost_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241953, "Length": 45, "Cover_Rate": 0.8490566037735849} {"Template_token": ["", "plus1", "=", "XEXP", "(", "address", ",", "", ")", ";", "if", "(", "REG_P", "(", "plus0", ")", "&&", "CONST_INT_P", "(", "plus1", ")", ")", "{", "if", "(", "satisfies_constraint_Iu03", "(", "plus1", ")", ")", "return", "(", "COSTS_N_INSNS", "(", "", ")", "-", "", ")", ";", "else", "return", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "}", "if", "(", "ARITHMETIC_P", "(", "plus0", ")", "||", "ARITHMETIC_P", "(", "plus1", ")", ")", "return", "(", "COSTS_N_INSNS", "(", "", ")", "-", "", ")", ";", "return", "COSTS_N_INSNS", "(", "", ")", ";"], "ground_truth": ["default", ":"], "File": "nds32-cost", "Func": "nds32_address_cost_size_prefer", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241954, "Length": 79, "Cover_Rate": 0.4647058823529412} {"Template_token": ["", "case", "POST_MODIFY", ":", "case", "POST_INC", ":", "case", "POST_DEC", ":", "return", "", ";", "case", "SYMBOL_REF", ":", "return", "COSTS_N_INSNS", "(", "", ")", ";", "case", "CONST", ":", "return", "COSTS_N_INSNS", "(", "", ")", ";", "case", "REG", ":", "return", "COSTS_N_INSNS", "(", "", ")", ";", "case", "PLUS", ":", "plus0", "=", "XEXP", "(", "address", ",", "", ")", ";", "plus1", "=", "XEXP", "(", "address", ",", "", ")", ";", "if", "(", "REG_P", "(", "plus0", ")", "&&", "CONST_INT_P", "(", "plus1", ")", ")", "{", "if", "(", "satisfies_constraint_Iu03", "(", "plus1", ")", ")", "return", "(", "COSTS_N_INSNS", "(", "", ")", "-", "", ")", ";", "else", "return", "COSTS_N_INSNS", "(", "", ")", ";", "}", "if", "(", "ARITHMETIC_P", "(", "plus0", ")", "||", "ARITHMETIC_P", "(", "plus1", ")", ")", "return", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "else", "if", "(", "REG_P", "(", "plus0", ")", "&&", "REG_P", "(", "plus1", ")", ")", "return", "COSTS_N_INSNS", "(", "", ")", ";", "return", "COSTS_N_INSNS", "(", "", ")", ";", "default", ":", "break", ";"], "ground_truth": ["}"], "File": "nds32-cost", "Func": "nds32_address_cost_speed_fwprop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241955, "Length": 148, "Cover_Rate": 0.8087431693989071} {"Template_token": ["", "plus0", "=", "XEXP", "(", "address", ",", "", ")", ";", "plus1", "=", "XEXP", "(", "address", ",", "", ")", ";", "if", "(", "REG_P", "(", "plus0", ")", "&&", "CONST_INT_P", "(", "plus1", ")", ")", "{", "if", "(", "satisfies_constraint_Iu03", "(", "plus1", ")", ")", "return", "(", "COSTS_N_INSNS", "(", "", ")", "-", "", ")", ";"], "ground_truth": ["else", "return", "COSTS_N_INSNS", "(", "", ")", ";"], "File": "nds32-cost", "Func": "nds32_address_cost_speed_fwprop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241956, "Length": 55, "Cover_Rate": 0.3005464480874317} {"Template_token": ["", "plus1", "=", "XEXP", "(", "address", ",", "", ")", ";", "if", "(", "REG_P", "(", "plus0", ")", "&&", "CONST_INT_P", "(", "plus1", ")", ")", "return", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "else", "if", "(", "ARITHMETIC_P", "(", "plus0", ")", "||", "ARITHMETIC_P", "(", "plus1", ")", ")", "return", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "else", "if", "(", "REG_P", "(", "plus0", ")", "&&", "REG_P", "(", "plus1", ")", ")", "return", "COSTS_N_INSNS", "(", "", ")", ";", "return", "COSTS_N_INSNS", "(", "", ")", ";", "default", ":"], "ground_truth": ["break", ";"], "File": "nds32-cost", "Func": "nds32_address_cost_speed_prefer", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241957, "Length": 79, "Cover_Rate": 0.45664739884393063} {"Template_token": ["", "return", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "case", "SYMBOL_REF", ":", "return", "COSTS_N_INSNS", "(", "", ")", ";", "case", "CONST", ":", "return", "COSTS_N_INSNS", "(", "", ")", ";", "case", "REG", ":", "return", "COSTS_N_INSNS", "(", "", ")", "-", "", ";", "case", "PLUS", ":", "plus0", "=", "XEXP", "(", "address", ",", "", ")", ";", "plus1", "=", "XEXP", "(", "address", ",", "", ")", ";"], "ground_truth": ["if", "(", "REG_P", "(", "plus0", ")", "&&", "CONST_INT_P", "(", "plus1", ")", ")", "return", "COSTS_N_INSNS", "(", "", ")", "-", "", ";"], "File": "nds32-cost", "Func": "nds32_address_cost_speed_prefer", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241958, "Length": 78, "Cover_Rate": 0.4508670520231214} {"Template_token": ["", "rtx_cost_model", ".", "size_prefer", "=", "nds32_rtx_costs_size_prefer", ";"], "ground_truth": ["if", "(", "TARGET_16_BIT", ")", "insn_size_16bit", "=", "", ";"], "File": "nds32-cost", "Func": "nds32_init_rtx_costs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241959, "Length": 14, "Cover_Rate": 0.4375} {"Template_token": ["", "void", "nds32_init_rtx_costs", "(", "void", ")", "{"], "ground_truth": ["rtx_cost_model", ".", "speed_prefer", "=", "nds32_rtx_costs_speed_prefer", ";"], "File": "nds32-cost", "Func": "nds32_init_rtx_costs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241960, "Length": 12, "Cover_Rate": 0.375} {"Template_token": ["", "bool", "nds32_rtx_costs_impl", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "int", "code", "=", "GET_CODE", "(", "x", ")", ";"], "ground_truth": ["if", "(", "speed", ")", "return", "rtx_cost_model", ".", "speed_prefer", "(", "x", ",", "code", ",", "outer_code", ",", "opno", ",", "total", ")", ";"], "File": "nds32-cost", "Func": "nds32_rtx_costs_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241961, "Length": 52, "Cover_Rate": 0.7428571428571429} {"Template_token": ["", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "speed", ")", "return", "rtx_cost_model", ".", "speed_prefer", "(", "x", ",", "code", ",", "outer_code", ",", "opno", ",", "total", ")", ";", "else", "return", "rtx_cost_model", ".", "size_prefer", "(", "x", ",", "code", ",", "outer_code", ",", "opno", ",", "total", ")", ";"], "ground_truth": ["}"], "File": "nds32-cost", "Func": "nds32_rtx_costs_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241962, "Length": 46, "Cover_Rate": 0.6571428571428571} {"Template_token": ["", "*", "total", "=", "", ";", "break", ";", "case", "CONST_INT", ":", "if", "(", "outer_code", "==", "SET", ")", "{", "if", "(", "satisfies_constraint_Is05", "(", "x", ")", ")", "*", "total", "=", "insn_size_16bit", ";", "else", "if", "(", "satisfies_constraint_Is20", "(", "x", ")", ")", "*", "total", "=", "insn_size_32bit", ";", "else", "*", "total", "=", "insn_size_32bit", "*", "", ";", "}", "else", "if", "(", "outer_code", "==", "PLUS", "||", "outer_code", "==", "MINUS", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "x", ")", ")", "*", "total", "=", "insn_size_16bit", ";", "else", "*", "total", "=", "insn_size_32bit", ";", "}", "else", "if", "(", "outer_code", "==", "ASHIFT", ")", "{", "if", "(", "satisfies_constraint_Iu03", "(", "x", ")", ")", "*", "total", "=", "insn_size_16bit", ";", "else", "*", "total", "=", "insn_size_32bit", ";", "}", "else", "if", "(", "outer_code", "==", "ASHIFTRT", "||", "outer_code", "==", "LSHIFTRT", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "x", ")", ")", "*", "total", "=", "insn_size_16bit", ";", "else", "*", "total", "=", "insn_size_32bit", ";", "}", "else", "{", "*", "total", "=", "insn_size_32bit", ";"], "ground_truth": ["}"], "File": "nds32-cost", "Func": "nds32_rtx_costs_size_prefer", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241963, "Length": 148, "Cover_Rate": 0.6519823788546255} {"Template_token": ["", "else", "if", "(", "outer_code", "==", "ASHIFT", ")", "{", "if", "(", "satisfies_constraint_Iu03", "(", "x", ")", ")", "*", "total", "=", "insn_size_16bit", ";", "else", "*", "total", "=", "insn_size_32bit", ";", "}", "else", "if", "(", "outer_code", "==", "ASHIFTRT", "||", "outer_code", "==", "LSHIFTRT", ")", "{", "if", "(", "satisfies_constraint_Iu05", "(", "x", ")", ")", "*", "total", "=", "insn_size_16bit", ";", "else", "*", "total", "=", "insn_size_32bit", ";", "}", "else", "{", "*", "total", "=", "insn_size_32bit", ";", "}", "break", ";", "case", "CONST_DOUBLE", ":", "*", "total", "=", "insn_size_32bit", "*", "", ";", "break", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "insn_size_32bit", "*", "", ";", "break", ";", "default", ":", "*", "total", "=", "insn_size_32bit", ";", "break", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "nds32-cost", "Func": "nds32_rtx_costs_size_prefer", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241964, "Length": 108, "Cover_Rate": 0.47577092511013214} {"Template_token": ["", "if", "(", "single_set", "(", "insn", ")", "&&", "nds32_symbol_load_store_p", "(", "insn", ")", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "mem", ";", "gcc_assert", "(", "GET_CODE", "(", "pattern", ")", "==", "SET", ")", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "==", "REG", ")", "mem", "=", "SET_DEST", "(", "pattern", ")", ";", "else", "mem", "=", "SET_SRC", "(", "pattern", ")", ";"], "ground_truth": ["if", "(", "GET_CODE", "(", "mem", ")", "==", "MEM", ")", "symbol_count", "++", ";"], "File": "nds32-fp-as-gp", "Func": "FOR_BB_INSNS", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241969, "Length": 73, "Cover_Rate": 0.8902439024390244} {"Template_token": ["", "if", "(", "!", "dominated_by_p", "(", "CDI_POST_DOMINATORS", ",", "bb", ",", "exit_bb", ")", ")", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-fp-as-gp", "Func": "FOR_EACH_BB_FN", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241971, "Length": 16, "Cover_Rate": 0.6956521739130435} {"Template_token": ["", "if", "(", "!", "first_exit_blocks_p", ")", "return", "false", ";", "exit_bb", "=", "e", "->", "src", ";"], "ground_truth": ["first_exit_blocks_p", "=", "false", ";"], "File": "nds32-fp-as-gp", "Func": "FOR_EACH_EDGE", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241972, "Length": 18, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "exit_bb", "=", "e", "->", "src", ";", "first_exit_blocks_p", "=", "false", ";"], "ground_truth": ["}"], "File": "nds32-fp-as-gp", "Func": "FOR_EACH_EDGE", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241973, "Length": 11, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "bool", "gate", "(", "function", "*", ")", "{"], "ground_truth": ["return", "!", "TARGET_LINUX_ABI", "&&", "TARGET_16_BIT", "&&", "optimize_size", ";"], "File": "nds32-fp-as-gp", "Func": "gate", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241975, "Length": 15, "Cover_Rate": 0.9375} {"Template_token": ["", "return", "new", "pass_nds32_fp_as_gp", "(", "ctxt", ")", ";"], "ground_truth": ["}"], "File": "nds32-fp-as-gp", "Func": "make_pass_nds32_fp_as_gp", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241977, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "bool", "fp_as_gp_p", ";", "calculate_dominance_info", "(", "CDI_POST_DOMINATORS", ")", ";", "fp_as_gp_p", "=", "nds32_fp_as_gp_check_available", "(", ")", ";", "if", "(", "fp_as_gp_p", ")", "{"], "ground_truth": ["SET_HARD_REG_BIT", "(", "this_target_ira_int", "->", "x_no_unit_alloc_regs", ",", "FP_REGNUM", ")", ";"], "File": "nds32-fp-as-gp", "Func": "nds32_fp_as_gp", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241978, "Length": 28, "Cover_Rate": 0.3835616438356164} {"Template_token": ["", "calculate_dominance_info", "(", "CDI_POST_DOMINATORS", ")", ";", "fp_as_gp_p", "=", "nds32_fp_as_gp_check_available", "(", ")", ";", "if", "(", "fp_as_gp_p", ")", "{", "SET_HARD_REG_BIT", "(", "this_target_ira_int", "->", "x_no_unit_alloc_regs", ",", "FP_REGNUM", ")", ";", "df_set_regs_ever_live", "(", "FP_REGNUM", ",", "", ")", ";"], "ground_truth": ["}", "else", "{"], "File": "nds32-fp-as-gp", "Func": "nds32_fp_as_gp", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241979, "Length": 35, "Cover_Rate": 0.4794520547945205} {"Template_token": ["", "if", "(", "!", "first_exit_blocks_p", ")", "return", "false", ";", "exit_bb", "=", "e", "->", "src", ";", "first_exit_blocks_p", "=", "false", ";", "}", "if", "(", "!", "exit_bb", ")", "return", "false", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "if", "(", "!", "dominated_by_p", "(", "CDI_POST_DOMINATORS", ",", "bb", ",", "exit_bb", ")", ")", "return", "false", ";", "}", "if", "(", "TARGET_FORCE_FP_AS_GP", ")", "{", "return", "true", ";", "}", "else", "{", "bool", "good_gain", "=", "false", ";", "int", "symbol_count", ";", "int", "threshold", ";", "if", "(", "flag_pic", "||", "nds32_have_prologue_p", "(", ")", ")", "{", "threshold", "=", "", ";", "}", "else", "{", "threshold", "=", "", "+", "(", "TARGET_V3PUSH", "?", "", ":", "", ")", ";", "}"], "ground_truth": ["symbol_count", "=", "nds32_get_symbol_count", "(", ")", ";"], "File": "nds32-fp-as-gp", "Func": "nds32_fp_as_gp_check_available", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241980, "Length": 107, "Cover_Rate": 0.5095238095238095} {"Template_token": ["", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "if", "(", "single_set", "(", "insn", ")", "&&", "nds32_symbol_load_store_p", "(", "insn", ")", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "mem", ";", "gcc_assert", "(", "GET_CODE", "(", "pattern", ")", "==", "SET", ")", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "pattern", ")", ")", "==", "REG", ")", "mem", "=", "SET_DEST", "(", "pattern", ")", ";", "else", "mem", "=", "SET_SRC", "(", "pattern", ")", ";", "if", "(", "GET_CODE", "(", "mem", ")", "==", "MEM", ")", "symbol_count", "++", ";", "}", "}", "}"], "ground_truth": ["return", "symbol_count", ";"], "File": "nds32-fp-as-gp", "Func": "nds32_get_symbol_count", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241981, "Length": 93, "Cover_Rate": 0.8230088495575221} {"Template_token": ["", "static", "bool", "nds32_have_prologue_p", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "", ";", "i", "<", "", ";", "i", "++", ")", "if", "(", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "i", ")", ")", "return", "true", ";", "return", "(", "flag_pic", "||", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "FP_REGNUM", ")", "||", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "LP_REGNUM", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-fp-as-gp", "Func": "nds32_have_prologue_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241982, "Length": 49, "Cover_Rate": 1.0} {"Template_token": ["", "pass_nds32_fp_as_gp", "(", "gcc", "::", "context", "*", "ctxt", ")", ":", "rtl_opt_pass", "(", "pass_data_nds32_fp_as_gp", ",", "ctxt", ")", "{"], "ground_truth": ["}"], "File": "nds32-fp-as-gp", "Func": "pass_nds32_fp_as_gp", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241983, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "pass_nds32_fp_as_gp", "(", "gcc", "::", "context", "*", "ctxt", ")", ":", "rtl_opt_pass", "(", "pass_data_nds32_fp_as_gp", ",", "ctxt", ")", "{"], "ground_truth": ["}"], "File": "nds32-fp-as-gp", "Func": "pass_nds32_fp_as_gp", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241984, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "emit_insn", "(", "gen_unspec_volatile_isb", "(", ")", ")", ";", "return", "target", ";", "case", "NDS32_BUILTIN_MFSR", ":", "return", "nds32_expand_builtin_reg_ftype_imm", "(", "CODE_FOR_unspec_volatile_mfsr", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_MFUSR", ":", "return", "nds32_expand_builtin_reg_ftype_imm", "(", "CODE_FOR_unspec_volatile_mfusr", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_MTSR", ":", "return", "nds32_expand_builtin_null_ftype_reg_imm", "(", "CODE_FOR_unspec_volatile_mtsr", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_MTUSR", ":", "return", "nds32_expand_builtin_null_ftype_reg_imm", "(", "CODE_FOR_unspec_volatile_mtusr", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_SETGIE_EN", ":", "emit_insn", "(", "gen_unspec_volatile_setgie_en", "(", ")", ")", ";", "return", "target", ";", "case", "NDS32_BUILTIN_SETGIE_DIS", ":", "emit_insn", "(", "gen_unspec_volatile_setgie_dis", "(", ")", ")", ";", "return", "target", ";", "default", ":"], "ground_truth": ["gcc_unreachable", "(", ")", ";"], "File": "nds32-intrinsic2", "Func": "nds32_expand_builtin_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241985, "Length": 94, "Cover_Rate": 0.5766871165644172} {"Template_token": ["", "return", "nds32_expand_builtin_null_ftype_reg", "(", "CODE_FOR_unspec_volatile_isync", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_ISB", ":", "emit_insn", "(", "gen_unspec_volatile_isb", "(", ")", ")", ";", "return", "target", ";", "case", "NDS32_BUILTIN_MFSR", ":", "return", "nds32_expand_builtin_reg_ftype_imm", "(", "CODE_FOR_unspec_volatile_mfsr", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_MFUSR", ":", "return", "nds32_expand_builtin_reg_ftype_imm", "(", "CODE_FOR_unspec_volatile_mfusr", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_MTSR", ":", "return", "nds32_expand_builtin_null_ftype_reg_imm", "(", "CODE_FOR_unspec_volatile_mtsr", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_MTUSR", ":", "return", "nds32_expand_builtin_null_ftype_reg_imm", "(", "CODE_FOR_unspec_volatile_mtusr", ",", "exp", ",", "target", ")", ";", "case", "NDS32_BUILTIN_SETGIE_EN", ":", "emit_insn", "(", "gen_unspec_volatile_setgie_en", "(", ")", ")", ";", "return", "target", ";", "case", "NDS32_BUILTIN_SETGIE_DIS", ":", "emit_insn", "(", "gen_unspec_volatile_setgie_dis", "(", ")", ")", ";", "return", "target", ";", "default", ":"], "ground_truth": ["gcc_unreachable", "(", ")", ";"], "File": "nds32-intrinsic2", "Func": "nds32_expand_builtin_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241986, "Length": 107, "Cover_Rate": 0.656441717791411} {"Template_token": ["", "value0", "=", "expand_normal", "(", "arg0", ")", ";", "create_input_operand", "(", "&", "ops", "[", "", "]", ",", "value0", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";", "if", "(", "!", "maybe_expand_insn", "(", "icode", ",", "", ",", "ops", ")", ")", "error", "(", "", ")", ";"], "ground_truth": ["return", "target", ";"], "File": "nds32-intrinsic2", "Func": "nds32_expand_builtin_null_ftype_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241987, "Length": 46, "Cover_Rate": 0.5476190476190477} {"Template_token": ["", "create_input_operand", "(", "&", "ops", "[", "", "]", ",", "value0", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";"], "ground_truth": ["if", "(", "!", "maybe_expand_insn", "(", "icode", ",", "", ",", "ops", ")", ")", "error", "(", "", ")", ";"], "File": "nds32-intrinsic2", "Func": "nds32_expand_builtin_null_ftype_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241988, "Length": 36, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "rtx", "value0", ";", "arg0", "=", "CALL_EXPR_ARG", "(", "exp", ",", "", ")", ";", "value0", "=", "expand_normal", "(", "arg0", ")", ";", "create_output_operand", "(", "&", "ops", "[", "", "]", ",", "target", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "exp", ")", ")", ")", ";"], "ground_truth": ["create_input_operand", "(", "&", "ops", "[", "", "]", ",", "value0", ",", "TYPE_MODE", "(", "TREE_TYPE", "(", "arg0", ")", ")", ")", ";"], "File": "nds32-intrinsic2", "Func": "nds32_expand_builtin_reg_ftype_imm", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241989, "Length": 57, "Cover_Rate": 0.5533980582524272} {"Template_token": ["", "add_builtin_function", "(", "", ",", "void_ftype_void", ",", "NDS32_BUILTIN_ISB", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "int_ftype_int", ",", "NDS32_BUILTIN_MFSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "int_ftype_int", ",", "NDS32_BUILTIN_MFUSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "void_ftype_int_int", ",", "NDS32_BUILTIN_MTSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "void_ftype_int_int", ",", "NDS32_BUILTIN_MTUSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";"], "ground_truth": ["add_builtin_function", "(", "", ",", "void_ftype_void", ",", "NDS32_BUILTIN_SETGIE_EN", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";"], "File": "nds32-intrinsic2", "Func": "nds32_init_builtins_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241990, "Length": 90, "Cover_Rate": 0.4918032786885246} {"Template_token": ["", "add_builtin_function", "(", "", ",", "void_ftype_void", ",", "NDS32_BUILTIN_ISB", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "int_ftype_int", ",", "NDS32_BUILTIN_MFSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "int_ftype_int", ",", "NDS32_BUILTIN_MFUSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "void_ftype_int_int", ",", "NDS32_BUILTIN_MTSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "void_ftype_int_int", ",", "NDS32_BUILTIN_MTUSR", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "void_ftype_void", ",", "NDS32_BUILTIN_SETGIE_EN", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";", "add_builtin_function", "(", "", ",", "void_ftype_void", ",", "NDS32_BUILTIN_SETGIE_DIS", ",", "BUILT_IN_MD", ",", "NULL", ",", "NULL_TREE", ")", ";"], "ground_truth": ["}"], "File": "nds32-intrinsic2", "Func": "nds32_init_builtins_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241991, "Length": 106, "Cover_Rate": 0.5792349726775956} {"Template_token": ["", "ADD_NDS32_BUILTIN1", "(", "", ",", "unsigned", ",", "integer", ",", "GET_PENDING_INT", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "unsigned", ",", "integer", ",", "GET_INT_PRIORITY", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "void", ",", "integer", ",", "integer", ",", "SET_INT_PRIORITY", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "void", ",", "integer", ",", "CLR_PENDING_HWINT", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "void", ",", "integer", ",", "SET_TRIG_LEVEL", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "void", ",", "integer", ",", "SET_TRIG_EDGE", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "unsigned", ",", "integer", ",", "GET_TRIG_TYPE", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "unsigned", ",", "ptr_uint", ",", "LLW", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "unsigned", ",", "ptr_uint", ",", "LWUP", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "char", ",", "ptr_uchar", ",", "LBUP", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "unsigned", ",", "ptr_uint", ",", "unsigned", ",", "SCW", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "void", ",", "ptr_uint", ",", "unsigned", ",", "SWUP", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "void", ",", "ptr_uchar", ",", "char", ",", "SBUP", ")", ";", "ADD_NDS32_BUILTIN0", "(", "", ",", "void", ",", "CCTL_L1D_INVALALL", ")", ";", "ADD_NDS32_BUILTIN0", "(", "", ",", "void", ",", "CCTL_L1D_WBALL_ALVL", ")", ";", "ADD_NDS32_BUILTIN0", "(", "", ",", "void", ",", "CCTL_L1D_WBALL_ONE_LVL", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "void", ",", "integer", ",", "ptr_uint", ",", "CCTL_VA_LCK", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "void", ",", "integer", ",", "unsigned", ",", "CCTL_IDX_WBINVAL", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "void", ",", "integer", ",", "ptr_uint", ",", "CCTL_VA_WBINVAL_L1", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "void", ",", "integer", ",", "ptr_uint", ",", "CCTL_VA_WBINVAL_LA", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "unsigned", ",", "integer", ",", "unsigned", ",", "CCTL_IDX_READ", ")", ";", "ADD_NDS32_BUILTIN3", "(", "", ",", "void", ",", "integer", ",", "unsigned", ",", "unsigned", ",", "CCTL_IDX_WRITE", ")", ";", "ADD_NDS32_BUILTIN3", "(", "", ",", "void", ",", "ptr_uchar", ",", "unsigned", ",", "integer", ",", "DPREF_QW", ")", ";", "ADD_NDS32_BUILTIN3", "(", "", ",", "void", ",", "ptr_ushort", ",", "unsigned", ",", "integer", ",", "DPREF_HW", ")", ";", "ADD_NDS32_BUILTIN3", "(", "", ",", "void", ",", "ptr_uint", ",", "unsigned", ",", "integer", ",", "DPREF_W", ")", ";", "ADD_NDS32_BUILTIN3", "(", "", ",", "void", ",", "ptr_ulong", ",", "unsigned", ",", "integer", ",", "DPREF_DW", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "integer", ",", "integer", ",", "ABS", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "integer", ",", "integer", ",", "integer", ",", "AVE", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "unsigned", ",", "unsigned", ",", "unsigned", ",", "BCLR", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "unsigned", ",", "unsigned", ",", "unsigned", ",", "BSET", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "unsigned", ",", "unsigned", ",", "unsigned", ",", "BTGL", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "unsigned", ",", "unsigned", ",", "unsigned", ",", "BTST", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "unsigned", ",", "integer", ",", "unsigned", ",", "CLIP", ")", ";", "ADD_NDS32_BUILTIN2", "(", "", ",", "integer", ",", "integer", ",", "unsigned", ",", "CLIPS", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "unsigned", ",", "unsigned", ",", "CLZ", ")", ";", "ADD_NDS32_BUILTIN1", "(", "", ",", "unsigned", ",", "unsigned", ",", "CLO", ")", ";"], "ground_truth": ["ADD_NDS32_BUILTIN3", "(", "", ",", "void", ",", "ptr_uint", ",", "unsigned", ",", "ptr_uint", ",", "BSE", ")", ";"], "File": "nds32-intrinsic5", "Func": "nds32_init_builtins_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241993, "Length": 457, "Cover_Rate": 0.3054812834224599} {"Template_token": ["", "tree", "nds32_builtin_decl_impl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "NDS32_BUILTIN_COUNT", ")", "return", "error_mark_node", ";"], "ground_truth": ["return", "nds32_builtin_decls", "[", "code", "]", ";"], "File": "nds32-intrinsic", "Func": "nds32_builtin_decl_impl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241995, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "return", "false", ";", "}", "if", "(", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "opnum", "]", ".", "predicate", ")", "(", "opval", ",", "VOIDmode", ")", ")", "{", "error", "(", "", ",", "name", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "nds32-intrinsic", "Func": "nds32_check_constant_argument", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241996, "Length": 38, "Cover_Rate": 0.475} {"Template_token": ["", "int", "op0_num", "=", "return_p", "?", "", ":", "", ";", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "op1_num", ",", "op1", ",", "name", ")", ")", "return", "NULL_RTX", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";"], "ground_truth": ["emit_insn", "(", "pat", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_binopimm_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241997, "Length": 114, "Cover_Rate": 0.6951219512195121} {"Template_token": ["", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "op1_num", ",", "op1", ",", "name", ")", ")", "return", "NULL_RTX", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";"], "ground_truth": ["}"], "File": "nds32-intrinsic", "Func": "nds32_expand_binopimm_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241998, "Length": 87, "Cover_Rate": 0.5304878048780488} {"Template_token": ["", "int", "op0_num", "=", "return_p", "?", "", ":", "", ";", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";"], "ground_truth": ["if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_binop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 241999, "Length": 71, "Cover_Rate": 0.5} {"Template_token": ["", "rtx", "pat", ";", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "int", "op0_num", "=", "return_p", "?", "", ":", "", ";", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";"], "ground_truth": ["if", "(", "!", "pat", ")", "return", "NULL_RTX", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_binop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242000, "Length": 115, "Cover_Rate": 0.8098591549295775} {"Template_token": ["", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "addr_helper", "=", "gen_reg_rtx", "(", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "mode", ")", ";", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "", ",", "op0", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "addr_helper", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_move_insn", "(", "addr_helper", ",", "GEN_INT", "(", "", ")", ")", ";", "emit_insn", "(", "pat", ")", ";"], "ground_truth": ["return", "target", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_builtin_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242001, "Length": 88, "Cover_Rate": 0.822429906542056} {"Template_token": ["", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "", ",", "op0", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "addr_helper", ")", ";"], "ground_truth": ["if", "(", "!", "pat", ")", "return", "NULL_RTX", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_builtin_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242002, "Length": 33, "Cover_Rate": 0.308411214953271} {"Template_token": ["", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "addr_helper", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_move_insn", "(", "addr_helper", ",", "GEN_INT", "(", "", ")", ")", ";"], "ground_truth": ["emit_insn", "(", "pat", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_builtin_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242003, "Length": 37, "Cover_Rate": 0.31092436974789917} {"Template_token": ["", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "addr_helper", "=", "gen_reg_rtx", "(", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "mode", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "", ",", "op0", ")", ";"], "ground_truth": ["op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "", ",", "op1", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_builtin_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242004, "Length": 60, "Cover_Rate": 0.5042016806722689} {"Template_token": ["", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "op0_num", ",", "op0", ",", "name", ")", ")", "return", "NULL_RTX", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";", "if", "(", "icode", "==", "CODE_FOR_cctl_idx_write", ")", "{", "rtx", "op2", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";"], "ground_truth": ["op2", "=", "nds32_legitimize_argument", "(", "icode", ",", "", ",", "op2", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_cctl_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242005, "Length": 89, "Cover_Rate": 0.42788461538461536} {"Template_token": ["", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "int", "op0_num", "=", "return_p", "?", "", ":", "", ";", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";"], "ground_truth": ["if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "op0_num", ",", "op0", ",", "name", ")", ")", "return", "NULL_RTX", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_cctl_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242006, "Length": 68, "Cover_Rate": 0.3269230769230769} {"Template_token": ["", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";"], "ground_truth": ["pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_noarg_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242007, "Length": 19, "Cover_Rate": 0.37254901960784315} {"Template_token": ["", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "", ",", "op1", ",", "name", ")", ")", "return", "NULL_RTX", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "", ",", "op1", ")", ";", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";"], "ground_truth": ["return", "target", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_priority_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242008, "Length": 67, "Cover_Rate": 0.5234375} {"Template_token": ["", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "addr_helper", ",", "target", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_move_insn", "(", "addr_helper", ",", "GEN_INT", "(", "", ")", ")", ";", "emit_move_insn", "(", "target", ",", "op1", ")", ";"], "ground_truth": ["emit_insn", "(", "pat", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_scw_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242009, "Length": 46, "Cover_Rate": 0.3357664233576642} {"Template_token": ["", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op2", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "int", "op0_num", "=", "return_p", "?", "", ":", "", ";", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";", "int", "op2_num", "=", "return_p", "?", "", ":", "", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "op2_num", ",", "op2", ",", "name", ")", ")", "return", "NULL_RTX", ";"], "ground_truth": ["op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_triopimm_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242010, "Length": 98, "Cover_Rate": 0.494949494949495} {"Template_token": ["", "rtx", "pat", ";", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op2", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "int", "op0_num", "=", "return_p", "?", "", ":", "", ";", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";", "int", "op2_num", "=", "return_p", "?", "", ":", "", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "if", "(", "!", "nds32_check_constant_argument", "(", "icode", ",", "op2_num", ",", "op2", ",", "name", ")", ")", "return", "NULL_RTX", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";", "op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";", "op2", "=", "nds32_legitimize_argument", "(", "icode", ",", "op2_num", ",", "op2", ")", ";", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ",", "op1", ",", "op2", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ",", "op1", ",", "op2", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";", "emit_insn", "(", "pat", ")", ";", "return", "target", ";"], "ground_truth": ["}"], "File": "nds32-intrinsic", "Func": "nds32_expand_triopimm_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242011, "Length": 175, "Cover_Rate": 0.8838383838383839} {"Template_token": ["", "rtx", "op0", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op1", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "rtx", "op2", "=", "nds32_read_argument", "(", "exp", ",", "", ")", ";", "int", "op0_num", "=", "return_p", "?", "", ":", "", ";", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";"], "ground_truth": ["int", "op2_num", "=", "return_p", "?", "", ":", "", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_triop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242012, "Length": 57, "Cover_Rate": 0.32386363636363635} {"Template_token": ["", "int", "op0_num", "=", "return_p", "?", "", ":", "", ";", "int", "op1_num", "=", "return_p", "?", "", ":", "", ";", "int", "op2_num", "=", "return_p", "?", "", ":", "", ";", "if", "(", "return_p", ")", "target", "=", "nds32_legitimize_target", "(", "icode", ",", "target", ")", ";", "op0", "=", "nds32_legitimize_argument", "(", "icode", ",", "op0_num", ",", "op0", ")", ";"], "ground_truth": ["op1", "=", "nds32_legitimize_argument", "(", "icode", ",", "op1_num", ",", "op1", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_triop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242013, "Length": 62, "Cover_Rate": 0.3522727272727273} {"Template_token": ["", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ")", ";", "if", "(", "!", "pat", ")", "return", "NULL_RTX", ";"], "ground_truth": ["emit_insn", "(", "pat", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_unop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242014, "Length": 40, "Cover_Rate": 0.37037037037037035} {"Template_token": ["", "if", "(", "return_p", ")", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "target", ",", "op0", ")", ";", "else", "pat", "=", "GEN_FCN", "(", "icode", ")", "(", "op0", ")", ";"], "ground_truth": ["if", "(", "!", "pat", ")", "return", "NULL_RTX", ";"], "File": "nds32-intrinsic", "Func": "nds32_expand_unop_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242015, "Length": 35, "Cover_Rate": 0.32407407407407407} {"Template_token": ["", "int", "mask", "=", "(", "val_mode", "==", "QImode", ")", "?", "", ":", "", ";", "int", "tmp_val", "=", "val", ";", "if", "(", "TARGET_BIG_ENDIAN", ")", "for", "(", "i", "=", "", ";", "i", "<", "nunits", ";", "i", "++", ")", "{", "tmp_val", "=", "(", "val", ">>", "shift", ")", "&", "mask", ";", "RTVEC_ELT", "(", "v", ",", "nunits", "-", "i", "-", "", ")", "=", "gen_int_mode", "(", "tmp_val", ",", "val_mode", ")", ";", "shift", "+=", "shift_acc", ";", "}", "else", "for", "(", "i", "=", "", ";", "i", "<", "nunits", ";", "i", "++", ")", "{", "tmp_val", "=", "(", "val", ">>", "shift", ")", "&", "mask", ";", "RTVEC_ELT", "(", "v", ",", "i", ")", "=", "gen_int_mode", "(", "tmp_val", ",", "val_mode", ")", ";", "shift", "+=", "shift_acc", ";"], "ground_truth": ["}"], "File": "nds32-intrinsic", "Func": "nds32_legitimize_argument", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242018, "Length": 113, "Cover_Rate": 0.4050179211469534} {"Template_token": ["", "enum", "machine_mode", "mode", "=", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "mode", ";"], "ground_truth": ["if", "(", "!", "target", "||", "GET_MODE", "(", "target", ")", "!=", "mode", "||", "!", "(", "*", "insn_data", "[", "icode", "]", ".", "operand", "[", "", "]", ".", "predicate", ")", "(", "target", ",", "mode", ")", ")", "return", "gen_reg_rtx", "(", "mode", ")", ";"], "File": "nds32-intrinsic", "Func": "nds32_legitimize_target", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242019, "Length": 55, "Cover_Rate": 0.7638888888888888} {"Template_token": ["", "return", "expand_normal", "(", "CALL_EXPR_ARG", "(", "exp", ",", "index", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-intrinsic", "Func": "nds32_read_argument", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242020, "Length": 12, "Cover_Rate": 0.5} {"Template_token": ["", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "}", "for", "(", "i", "=", "", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "{", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_INTERRUPT", "||", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_EXCEPTION", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ",", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_isr_jmptbl_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";"], "ground_truth": ["nds32_emit_isr_vector_section", "(", "i", ")", ";"], "File": "nds32-isr2", "Func": "nds32_asm_file_end_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242022, "Length": 76, "Cover_Rate": 0.4578313253012048} {"Template_token": ["", "void", "nds32_asm_file_end_for_isr", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "!=", "NDS32_ISR_NONE", ")", "break", ";", "if", "(", "i", "==", "NDS32_N_ISR_VECTORS", ")", "return", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "if", "(", "nds32_isr_vectors", "[", "", "]", ".", "category", "==", "NDS32_ISR_RESET", ")", "{", "nds32_emit_isr_reset_content", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "}", "for", "(", "i", "=", "", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "{", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_INTERRUPT", "||", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_EXCEPTION", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ",", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_isr_jmptbl_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_isr_vector_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-isr2", "Func": "nds32_asm_file_end_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242023, "Length": 164, "Cover_Rate": 0.9879518072289156} {"Template_token": ["", "nds32_isr_vectors", "[", "i", "]", ".", "category", "=", "NDS32_ISR_NONE", ";", "strcpy", "(", "nds32_isr_vectors", "[", "i", "]", ".", "func_name", ",", "", ")", ";", "nds32_isr_vectors", "[", "i", "]", ".", "save_reg", "=", "NDS32_PARTIAL_SAVE", ";", "nds32_isr_vectors", "[", "i", "]", ".", "nested_type", "=", "NDS32_NOT_NESTED", ";"], "ground_truth": ["nds32_isr_vectors", "[", "i", "]", ".", "total_n_vectors", "=", "", ";"], "File": "nds32-isr2", "Func": "nds32_asm_file_start_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242024, "Length": 48, "Cover_Rate": 0.4948453608247423} {"Template_token": ["", "nds32_isr_vectors", "[", "i", "]", ".", "nested_type", "=", "NDS32_NOT_NESTED", ";", "nds32_isr_vectors", "[", "i", "]", ".", "total_n_vectors", "=", "", ";"], "ground_truth": ["strcpy", "(", "nds32_isr_vectors", "[", "i", "]", ".", "nmi_name", ",", "", ")", ";"], "File": "nds32-isr2", "Func": "nds32_asm_file_start_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242025, "Length": 30, "Cover_Rate": 0.30927835051546393} {"Template_token": ["", "int", "save_all_p", ",", "partial_save_p", ";", "int", "nested_p", ",", "not_nested_p", ",", "nested_ready_p", ";", "int", "intr_p", ",", "excp_p", ",", "reset_p", ";", "save_all_p", "=", "partial_save_p", "=", "", ";", "nested_p", "=", "not_nested_p", "=", "nested_ready_p", "=", "", ";", "intr_p", "=", "excp_p", "=", "reset_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "save_all_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "partial_save_p", "=", "", ";", "if", "(", "(", "save_all_p", "+", "partial_save_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "nested_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "not_nested_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "nested_ready_p", "=", "", ";", "if", "(", "(", "nested_p", "+", "not_nested_p", "+", "nested_ready_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "intr_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "excp_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "reset_p", "=", "", ";", "if", "(", "(", "intr_p", "+", "excp_p", "+", "reset_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";"], "ground_truth": ["}"], "File": "nds32-isr2", "Func": "nds32_check_isr_attrs_conflict", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242026, "Length": 201, "Cover_Rate": 0.95260663507109} {"Template_token": ["", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "save_all_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "partial_save_p", "=", "", ";", "if", "(", "(", "save_all_p", "+", "partial_save_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "nested_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "not_nested_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "nested_ready_p", "=", "", ";", "if", "(", "(", "nested_p", "+", "not_nested_p", "+", "nested_ready_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "intr_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "excp_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "reset_p", "=", "", ";", "if", "(", "(", "intr_p", "+", "excp_p", "+", "reset_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";"], "ground_truth": ["}"], "File": "nds32-isr2", "Func": "nds32_check_isr_attrs_conflict", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242027, "Length": 160, "Cover_Rate": 0.7582938388625592} {"Template_token": ["", "excp", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "reset", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "if", "(", "!", "intr", "&&", "!", "excp", "&&", "!", "reset", ")", "return", ";", "if", "(", "intr", "||", "excp", ")", "{", "tree", "id_list", ";", "id_list", "=", "(", "intr", ")", "?", "(", "TREE_VALUE", "(", "intr", ")", ")", ":", "(", "TREE_VALUE", "(", "excp", ")", ")", ";", "while", "(", "id_list", ")", "{", "tree", "id", ";", "int", "vector_id", ";", "unsigned", "int", "vector_number_offset", ";", "vector_number_offset", "=", "(", "intr", ")", "?", "(", "", ")", ":", "(", "", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "vector_id", "=", "TREE_INT_CST_LOW", "(", "id", ")", "+", "vector_number_offset", ";", "nds32_isr_vectors", "[", "vector_id", "]", ".", "category", "=", "(", "intr", ")", "?", "(", "NDS32_ISR_INTERRUPT", ")", ":", "(", "NDS32_ISR_EXCEPTION", ")", ";", "strcpy", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "func_name", ",", "func_name", ")", ";", "if", "(", "save_all", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "=", "NDS32_SAVE_ALL", ";", "else", "if", "(", "partial_save", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "=", "NDS32_PARTIAL_SAVE", ";", "if", "(", "nested", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NESTED", ";", "else", "if", "(", "not_nested", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NOT_NESTED", ";", "else", "if", "(", "nested_ready", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NESTED_READY", ";", "id_list", "=", "TREE_CHAIN", "(", "id_list", ")", ";", "}", "}", "else", "{", "tree", "id_list", ";", "tree", "id", ";", "tree", "nmi", ",", "warm", ";", "nds32_isr_vectors", "[", "", "]", ".", "category", "=", "NDS32_ISR_RESET", ";", "id_list", "=", "TREE_VALUE", "(", "reset", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "nds32_isr_vectors", "[", "", "]", ".", "total_n_vectors", "=", "TREE_INT_CST_LOW", "(", "id", ")", "+", "", "+", "", ";", "strcpy", "(", "nds32_isr_vectors", "[", "", "]", ".", "func_name", ",", "func_name", ")", ";", "nmi", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";"], "ground_truth": ["warm", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";"], "File": "nds32-isr2", "Func": "nds32_construct_isr_vectors_information", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242028, "Length": 296, "Cover_Rate": 0.6311300639658849} {"Template_token": ["", "if", "(", "!", "intr", "&&", "!", "excp", "&&", "!", "reset", ")", "return", ";", "if", "(", "intr", "||", "excp", ")", "{", "tree", "id_list", ";", "id_list", "=", "(", "intr", ")", "?", "(", "TREE_VALUE", "(", "intr", ")", ")", ":", "(", "TREE_VALUE", "(", "excp", ")", ")", ";", "while", "(", "id_list", ")", "{", "tree", "id", ";", "int", "vector_id", ";", "unsigned", "int", "vector_number_offset", ";", "vector_number_offset", "=", "(", "intr", ")", "?", "(", "", ")", ":", "(", "", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "vector_id", "=", "TREE_INT_CST_LOW", "(", "id", ")", "+", "vector_number_offset", ";", "nds32_isr_vectors", "[", "vector_id", "]", ".", "category", "=", "(", "intr", ")", "?", "(", "NDS32_ISR_INTERRUPT", ")", ":", "(", "NDS32_ISR_EXCEPTION", ")", ";", "strcpy", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "func_name", ",", "func_name", ")", ";", "if", "(", "save_all", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "=", "NDS32_SAVE_ALL", ";", "else", "if", "(", "partial_save", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "=", "NDS32_PARTIAL_SAVE", ";", "if", "(", "nested", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NESTED", ";", "else", "if", "(", "not_nested", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NOT_NESTED", ";", "else", "if", "(", "nested_ready", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NESTED_READY", ";", "id_list", "=", "TREE_CHAIN", "(", "id_list", ")", ";", "}", "}", "else", "{", "tree", "id_list", ";", "tree", "id", ";", "tree", "nmi", ",", "warm", ";", "nds32_isr_vectors", "[", "", "]", ".", "category", "=", "NDS32_ISR_RESET", ";", "id_list", "=", "TREE_VALUE", "(", "reset", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "nds32_isr_vectors", "[", "", "]", ".", "total_n_vectors", "=", "TREE_INT_CST_LOW", "(", "id", ")", "+", "", "+", "", ";", "strcpy", "(", "nds32_isr_vectors", "[", "", "]", ".", "func_name", ",", "func_name", ")", ";", "nmi", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "warm", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "if", "(", "nmi", "!=", "NULL_TREE", ")", "{", "tree", "nmi_func_list", ";", "tree", "nmi_func", ";", "nmi_func_list", "=", "TREE_VALUE", "(", "nmi", ")", ";", "nmi_func", "=", "TREE_VALUE", "(", "nmi_func_list", ")", ";", "strcpy", "(", "nds32_isr_vectors", "[", "", "]", ".", "nmi_name", ",", "IDENTIFIER_POINTER", "(", "nmi_func", ")", ")", ";", "}", "if", "(", "warm", "!=", "NULL_TREE", ")", "{"], "ground_truth": ["tree", "warm_func_list", ";"], "File": "nds32-isr2", "Func": "nds32_construct_isr_vectors_information", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242029, "Length": 331, "Cover_Rate": 0.7057569296375267} {"Template_token": ["", "char", "section_name", "[", "", "]", ";", "char", "symbol_name", "[", "", "]", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ",", "vector_id", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ",", "vector_id", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "", ",", "true", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "nds32_isr_vectors", "[", "vector_id", "]", ".", "func_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";"], "ground_truth": ["}"], "File": "nds32-isr2", "Func": "nds32_emit_isr_jmptbl_section", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242030, "Length": 71, "Cover_Rate": 0.8987341772151899} {"Template_token": ["", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "", ",", "true", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "strlen", "(", "nds32_isr_vectors", "[", "", "]", ".", "nmi_name", ")", "==", "", ")", "?", "", ":", "nds32_isr_vectors", "[", "", "]", ".", "nmi_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "", ",", "true", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "strlen", "(", "nds32_isr_vectors", "[", "", "]", ".", "warm_name", ")", "==", "", ")", "?", "", ":", "nds32_isr_vectors", "[", "", "]", ".", "warm_name", ")", ";"], "ground_truth": ["nds32_emit_section_tail_template", "(", "symbol_name", ")", ";"], "File": "nds32-isr2", "Func": "nds32_emit_isr_reset_content", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242031, "Length": 154, "Cover_Rate": 0.3515981735159817} {"Template_token": ["", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "floor_log2", "(", "nds32_isr_vector_size", ")", ",", "false", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "reset_handler_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "", ",", "true", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "strlen", "(", "nds32_isr_vectors", "[", "", "]", ".", "nmi_name", ")", "==", "", ")", "?", "", ":", "nds32_isr_vectors", "[", "", "]", ".", "nmi_name", ")", ";", "nds32_emit_section_tail_template", "(", "symbol_name", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ")", ";"], "ground_truth": ["snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ")", ";"], "File": "nds32-isr2", "Func": "nds32_emit_isr_reset_content", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242032, "Length": 136, "Cover_Rate": 0.3105022831050228} {"Template_token": ["", "c_str", "=", "", ";", "break", ";", "case", "NDS32_ISR_EXCEPTION", ":", "vector_number_offset", "=", "", ";", "c_str", "=", "", ";", "break", ";", "case", "NDS32_ISR_NONE", ":", "case", "NDS32_ISR_RESET", ":", "gcc_unreachable", "(", ")", ";", "break", ";", "}", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", ")", "{", "case", "NDS32_SAVE_ALL", ":", "sr_str", "=", "", ";", "break", ";", "case", "NDS32_PARTIAL_SAVE", ":", "sr_str", "=", "", ";", "break", ";", "}", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", ")", "{", "case", "NDS32_NESTED", ":", "nt_str", "=", "", ";", "break", ";", "case", "NDS32_NOT_NESTED", ":", "nt_str", "=", "", ";", "break", ";", "case", "NDS32_NESTED_READY", ":", "nt_str", "=", "", ";", "break", ";", "}", "vs_str", "=", "(", "nds32_isr_vector_size", "==", "", ")", "?", "", ":", "", ";", "snprintf", "(", "first_level_handler_name", ",", "sizeof", "(", "first_level_handler_name", ")", ",", "", ",", "c_str", ",", "sr_str", ",", "nt_str", ",", "vs_str", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ",", "vector_id", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ",", "vector_id", ",", "vs_str", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "floor_log2", "(", "nds32_isr_vector_size", ")", ",", "false", ")", ";", "if", "(", "nds32_isr_vector_size", "==", "", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ",", "first_level_handler_name", ")", ";", "}", "else", "{", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "==", "NDS32_SAVE_ALL", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "}"], "ground_truth": ["else", "{"], "File": "nds32-isr2", "Func": "nds32_emit_isr_vector_section", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242033, "Length": 235, "Cover_Rate": 0.5649038461538461} {"Template_token": ["", "sr_str", "=", "", ";", "break", ";", "case", "NDS32_PARTIAL_SAVE", ":", "sr_str", "=", "", ";", "break", ";", "}", "switch", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", ")", "{", "case", "NDS32_NESTED", ":", "nt_str", "=", "", ";", "break", ";", "case", "NDS32_NOT_NESTED", ":", "nt_str", "=", "", ";", "break", ";", "case", "NDS32_NESTED_READY", ":", "nt_str", "=", "", ";", "break", ";", "}", "vs_str", "=", "(", "nds32_isr_vector_size", "==", "", ")", "?", "", ":", "", ";", "snprintf", "(", "first_level_handler_name", ",", "sizeof", "(", "first_level_handler_name", ")", ",", "", ",", "c_str", ",", "sr_str", ",", "nt_str", ",", "vs_str", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ",", "vector_id", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ",", "vector_id", ",", "vs_str", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "floor_log2", "(", "nds32_isr_vector_size", ")", ",", "false", ")", ";", "if", "(", "nds32_isr_vector_size", "==", "", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ",", "first_level_handler_name", ")", ";", "}", "else", "{", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "==", "NDS32_SAVE_ALL", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";"], "ground_truth": ["fprintf", "(", "asm_out_file", ",", "", ")", ";"], "File": "nds32-isr2", "Func": "nds32_emit_isr_vector_section", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242034, "Length": 187, "Cover_Rate": 0.4495192307692308} {"Template_token": ["", "int", "i", ";", "for", "(", "i", "=", "", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "!=", "NDS32_ISR_NONE", ")", "break", ";", "if", "(", "i", "==", "NDS32_N_ISR_VECTORS", ")", "return", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "if", "(", "nds32_isr_vectors", "[", "", "]", ".", "category", "==", "NDS32_ISR_RESET", ")", "{", "nds32_emit_isr_reset_content", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "}", "for", "(", "i", "=", "", ";", "i", "<", "NDS32_N_ISR_VECTORS", ";", "i", "++", ")", "{", "if", "(", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_INTERRUPT", "||", "nds32_isr_vectors", "[", "i", "]", ".", "category", "==", "NDS32_ISR_EXCEPTION", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ",", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "nds32_isr_vectors", "[", "i", "]", ".", "security_level", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_isr_jmptbl_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_emit_isr_vector_section", "(", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "}"], "ground_truth": ["}"], "File": "nds32-isr", "Func": "nds32_asm_file_end_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242035, "Length": 173, "Cover_Rate": 0.9611111111111111} {"Template_token": ["", "nds32_isr_vectors", "[", "i", "]", ".", "security_level", "=", "", ";", "nds32_isr_vectors", "[", "i", "]", ".", "total_n_vectors", "=", "", ";", "strcpy", "(", "nds32_isr_vectors", "[", "i", "]", ".", "nmi_name", ",", "", ")", ";", "strcpy", "(", "nds32_isr_vectors", "[", "i", "]", ".", "warm_name", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-isr", "Func": "nds32_asm_file_start_for_isr", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242036, "Length": 43, "Cover_Rate": 0.4056603773584906} {"Template_token": ["", "int", "nested_p", ",", "not_nested_p", ",", "nested_ready_p", ",", "critical_p", ";", "int", "intr_p", ",", "excp_p", ",", "reset_p", ";", "save_all_p", "=", "partial_save_p", "=", "", ";", "nested_p", "=", "not_nested_p", "=", "nested_ready_p", "=", "critical_p", "=", "", ";", "intr_p", "=", "excp_p", "=", "reset_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "save_all_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "partial_save_p", "=", "", ";", "if", "(", "(", "save_all_p", "+", "partial_save_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "nested_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "not_nested_p", "=", "", ";"], "ground_truth": ["if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "nested_ready_p", "=", "", ";"], "File": "nds32-isr", "Func": "nds32_check_isr_attrs_conflict", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242037, "Length": 122, "Cover_Rate": 0.4485294117647059} {"Template_token": ["", "if", "(", "(", "save_all_p", "+", "partial_save_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "nested_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "not_nested_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "nested_ready_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "critical_p", "=", "", ";", "if", "(", "(", "nested_p", "+", "not_nested_p", "+", "nested_ready_p", "+", "critical_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "intr_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "excp_p", "=", "", ";", "if", "(", "lookup_attribute", "(", "", ",", "func_attrs", ")", ")", "reset_p", "=", "", ";", "if", "(", "(", "intr_p", "+", "excp_p", "+", "reset_p", ")", ">", "", ")", "error", "(", "", ",", "func_decl", ")", ";"], "ground_truth": ["if", "(", "TARGET_LINUX_ABI", "&&", "intr_p", ")", "error", "(", "", "", ",", "func_decl", ")", ";"], "File": "nds32-isr", "Func": "nds32_check_isr_attrs_conflict", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242038, "Length": 162, "Cover_Rate": 0.5955882352941176} {"Template_token": ["", "}", "else", "{", "s_level", "=", "nds32_isr_secure_level", ";", "}", "if", "(", "intr", "!=", "NULL_TREE", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "intr", ")", ")", ")", "==", "STRING_CST", ")", "{", "tree", "string_arg", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "intr", ")", ")", ";", "nds32_interrupt_attribute_parse_string", "(", "TREE_STRING_POINTER", "(", "string_arg", ")", ",", "func_name", ",", "s_level", ")", ";", "return", ";", "}", "if", "(", "excp", "!=", "NULL_TREE", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "excp", ")", ")", ")", "==", "STRING_CST", ")", "{", "tree", "string_arg", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "excp", ")", ")", ";", "nds32_exception_attribute_parse_string", "(", "TREE_STRING_POINTER", "(", "string_arg", ")", ",", "func_name", ",", "s_level", ")", ";", "return", ";", "}", "if", "(", "reset", "!=", "NULL_TREE", "&&", "TREE_CODE", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "reset", ")", ")", ")", "==", "STRING_CST", ")", "{", "tree", "string_arg", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "reset", ")", ")", ";", "nds32_reset_attribute_parse_string", "(", "TREE_STRING_POINTER", "(", "string_arg", ")", ",", "func_name", ")", ";", "return", ";", "}", "if", "(", "intr", "||", "excp", ")", "{", "tree", "id_list", ";", "id_list", "=", "(", "intr", ")", "?", "(", "TREE_VALUE", "(", "intr", ")", ")", ":", "(", "TREE_VALUE", "(", "excp", ")", ")", ";", "while", "(", "id_list", ")", "{", "tree", "id", ";", "int", "vector_id", ";", "unsigned", "int", "vector_number_offset", ";", "vector_number_offset", "=", "(", "intr", ")", "?", "(", "", ")", ":", "(", "", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "vector_id", "=", "TREE_INT_CST_LOW", "(", "id", ")", "+", "vector_number_offset", ";", "nds32_isr_vectors", "[", "vector_id", "]", ".", "security_level", "=", "s_level", ";", "nds32_isr_vectors", "[", "vector_id", "]", ".", "category", "=", "(", "intr", ")", "?", "(", "NDS32_ISR_INTERRUPT", ")", ":", "(", "NDS32_ISR_EXCEPTION", ")", ";", "strcpy", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "func_name", ",", "func_name", ")", ";", "if", "(", "save_all", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "=", "NDS32_SAVE_ALL", ";", "else", "if", "(", "partial_save", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "=", "NDS32_PARTIAL_SAVE", ";", "if", "(", "nested", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NESTED", ";", "else", "if", "(", "not_nested", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NOT_NESTED", ";", "else", "if", "(", "nested_ready", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_NESTED_READY", ";", "else", "if", "(", "critical", ")", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "=", "NDS32_CRITICAL", ";", "id_list", "=", "TREE_CHAIN", "(", "id_list", ")", ";", "}", "}", "else", "{", "tree", "id_list", ";", "tree", "id", ";", "tree", "nmi", ",", "warm", ";", "nds32_isr_vectors", "[", "", "]", ".", "category", "=", "NDS32_ISR_RESET", ";", "id_list", "=", "TREE_VALUE", "(", "reset", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";"], "ground_truth": ["nds32_isr_vectors", "[", "", "]", ".", "total_n_vectors", "=", "TREE_INT_CST_LOW", "(", "id", ")", "+", "", "+", "", ";"], "File": "nds32-isr", "Func": "nds32_construct_isr_vectors_information", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242039, "Length": 402, "Cover_Rate": 0.5767575322812052} {"Template_token": ["", "static", "void", "nds32_emit_isr_jmptbl_section", "(", "int", "vector_id", ")", "{", "char", "section_name", "[", "", "]", ";", "char", "symbol_name", "[", "", "]", ";"], "ground_truth": ["if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "==", "NDS32_CRITICAL", ")", "{"], "File": "nds32-isr", "Func": "nds32_emit_isr_jmptbl_section", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242040, "Length": 32, "Cover_Rate": 0.3106796116504854} {"Template_token": ["", "char", "symbol_name", "[", "", "]", ";", "total_n_vectors", "=", "nds32_isr_vectors", "[", "", "]", ".", "total_n_vectors", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "total_n_vectors", ";", "i", "++", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "i", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "total_n_vectors", ";", "i", "++", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "i", ")", ";", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ")", ";"], "ground_truth": ["fprintf", "(", "asm_out_file", ",", "", ")", ";"], "File": "nds32-isr", "Func": "nds32_emit_isr_reset_content", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242041, "Length": 125, "Cover_Rate": 0.30120481927710846} {"Template_token": ["", "snprintf", "(", "section_name", ",", "sizeof", "(", "section_name", ")", ",", "", ",", "vector_id", ")", ";", "snprintf", "(", "symbol_name", ",", "sizeof", "(", "symbol_name", ")", ",", "", ",", "vector_id", ")", ";", "nds32_emit_section_head_template", "(", "section_name", ",", "symbol_name", ",", "floor_log2", "(", "nds32_isr_vector_size", ")", ",", "false", ")", ";", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "nested_type", "==", "NDS32_CRITICAL", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ",", "nds32_isr_vectors", "[", "vector_id", "]", ".", "func_name", ")", ";", "}", "else", "if", "(", "nds32_isr_vector_size", "==", "", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ",", "first_level_handler_name", ")", ";", "}", "else", "{", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "if", "(", "nds32_isr_vectors", "[", "vector_id", "]", ".", "save_reg", "==", "NDS32_SAVE_ALL", ")", "{", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "}", "else", "{", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "}", "}"], "ground_truth": ["else", "{"], "File": "nds32-isr", "Func": "nds32_emit_isr_vector_section", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242042, "Length": 155, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "static", "void", "nds32_emit_section_head_template", "(", "char", "section_name", "[", "]", ",", "char", "symbol_name", "[", "]", ",", "int", "align_value", ",", "bool", "object_p", ")", "{", "const", "char", "*", "flags_str", ";", "const", "char", "*", "type_str", ";", "flags_str", "=", "(", "object_p", ")", "?", "", ":", "", ";", "type_str", "=", "(", "object_p", ")", "?", "", ":", "", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "section_name", ",", "flags_str", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "align_value", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "symbol_name", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "symbol_name", ",", "type_str", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "symbol_name", ")", ";"], "ground_truth": ["}"], "File": "nds32-isr", "Func": "nds32_emit_section_head_template", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242043, "Length": 101, "Cover_Rate": 1.0} {"Template_token": ["", "fprintf", "(", "asm_out_file", ",", "", ",", "symbol_name", ",", "symbol_name", ")", ";"], "ground_truth": ["}"], "File": "nds32-isr", "Func": "nds32_emit_section_tail_template", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242044, "Length": 12, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "fprintf", "(", "asm_out_file", ",", "", ",", "symbol_name", ",", "symbol_name", ")", ";"], "ground_truth": ["}"], "File": "nds32-isr", "Func": "nds32_emit_section_tail_template", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242045, "Length": 12, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "if", "(", "id_str", "==", "NULL", ")", "error", "(", "", ")", ";", "id_str", "=", "strtok", "(", "id_str", ",", "", ")", ";", "value_str", "=", "strtok", "(", "NULL", ",", "", ")", ";", "value_str", "=", "strtok", "(", "value_str", ",", "", ")", ";", "while", "(", "value_str", "!=", "NULL", ")", "{", "int", "i", ";", "i", "=", "atoi", "(", "value_str", ")", ";", "if", "(", "i", "<", "", "||", "i", ">", "", ")", "error", "(", "", ")", ";", "nds32_isr_vectors", "[", "i", "]", ".", "category", "=", "NDS32_ISR_EXCEPTION", ";", "strcpy", "(", "nds32_isr_vectors", "[", "i", "]", ".", "func_name", ",", "func_name", ")", ";", "nds32_isr_vectors", "[", "i", "]", ".", "save_reg", "=", "save_reg", ";", "nds32_isr_vectors", "[", "i", "]", ".", "nested_type", "=", "nested_type", ";", "nds32_isr_vectors", "[", "i", "]", ".", "security_level", "=", "s_level", ";", "value_str", "=", "strtok", "(", "NULL", ",", "", ")", ";", "}"], "ground_truth": ["return", ";"], "File": "nds32-isr", "Func": "nds32_exception_attribute_parse_string", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242046, "Length": 130, "Cover_Rate": 0.4024767801857585} {"Template_token": ["", "else", "if", "(", "ready_nested_str", ")", "nested_type", "=", "NDS32_NESTED_READY", ";", "else", "if", "(", "nested_str", ")", "nested_type", "=", "NDS32_NESTED", ";", "else", "if", "(", "critical_str", ")", "nested_type", "=", "NDS32_CRITICAL", ";", "else", "nested_type", "=", "NDS32_NOT_NESTED", ";", "id_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "if", "(", "id_str", "==", "NULL", ")", "error", "(", "", ")", ";", "id_str", "=", "strtok", "(", "id_str", ",", "", ")", ";", "value_str", "=", "strtok", "(", "NULL", ",", "", ")", ";", "value_str", "=", "strtok", "(", "value_str", ",", "", ")", ";", "while", "(", "value_str", "!=", "NULL", ")", "{", "int", "i", ";", "i", "=", "atoi", "(", "value_str", ")", ";", "if", "(", "i", "<", "", "||", "i", ">", "", ")", "error", "(", "", ")", ";"], "ground_truth": ["nds32_isr_vectors", "[", "i", "]", ".", "category", "=", "NDS32_ISR_EXCEPTION", ";"], "File": "nds32-isr", "Func": "nds32_exception_attribute_parse_string", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242047, "Length": 120, "Cover_Rate": 0.3715170278637771} {"Template_token": ["", "strcpy", "(", "target_str", ",", "original_str", ")", ";", "save_all_regs_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "save_caller_regs_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "if", "(", "save_all_regs_str", ")", "save_reg", "=", "NDS32_SAVE_ALL", ";", "else", "if", "(", "save_caller_regs_str", ")", "save_reg", "=", "NDS32_PARTIAL_SAVE", ";", "else", "save_reg", "=", "NDS32_PARTIAL_SAVE", ";", "nested_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "not_nested_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "ready_nested_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "critical_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "if", "(", "not_nested_str", ")", "nested_type", "=", "NDS32_NOT_NESTED", ";", "else", "if", "(", "ready_nested_str", ")", "nested_type", "=", "NDS32_NESTED_READY", ";", "else", "if", "(", "nested_str", ")", "nested_type", "=", "NDS32_NESTED", ";", "else", "if", "(", "critical_str", ")", "nested_type", "=", "NDS32_CRITICAL", ";"], "ground_truth": ["else", "nested_type", "=", "NDS32_NOT_NESTED", ";"], "File": "nds32-isr", "Func": "nds32_interrupt_attribute_parse_string", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242048, "Length": 123, "Cover_Rate": 0.3738601823708207} {"Template_token": ["", "tree", "t_critical", ";", "tree", "attrs", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";", "attrs", "=", "DECL_ATTRIBUTES", "(", "func", ")", ";", "t_intr", "=", "lookup_attribute", "(", "", ",", "attrs", ")", ";", "t_excp", "=", "lookup_attribute", "(", "", ",", "attrs", ")", ";", "t_critical", "=", "lookup_attribute", "(", "", ",", "attrs", ")", ";", "if", "(", "(", "t_intr", "==", "NULL_TREE", ")", "&&", "(", "t_excp", "==", "NULL_TREE", ")", ")", "return", "false", ";", "if", "(", "t_critical", "!=", "NULL_TREE", ")", "return", "true", ";", "if", "(", "t_intr", "!=", "NULL_TREE", "||", "t_excp", "!=", "NULL_TREE", ")", "{", "char", "target_str", "[", "", "]", ";", "char", "*", "critical_str", ";", "tree", "t_check", ";", "tree", "string_arg", ";", "t_check", "=", "t_intr", "?", "t_intr", ":", "t_excp", ";", "if", "(", "TREE_CODE", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "t_check", ")", ")", ")", "==", "STRING_CST", ")", "{", "string_arg", "=", "TREE_VALUE", "(", "TREE_VALUE", "(", "t_check", ")", ")", ";", "strcpy", "(", "target_str", ",", "TREE_STRING_POINTER", "(", "string_arg", ")", ")", ";", "critical_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "if", "(", "critical_str", ")", "return", "true", ";", "}"], "ground_truth": ["}"], "File": "nds32-isr", "Func": "nds32_isr_function_critical_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242049, "Length": 168, "Cover_Rate": 0.9081081081081082} {"Template_token": ["", "tree", "t_excp", ";", "tree", "t_reset", ";", "tree", "attrs", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";", "attrs", "=", "DECL_ATTRIBUTES", "(", "func", ")", ";"], "ground_truth": ["t_intr", "=", "lookup_attribute", "(", "", ",", "attrs", ")", ";"], "File": "nds32-isr", "Func": "nds32_isr_function_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242050, "Length": 38, "Cover_Rate": 0.4318181818181818} {"Template_token": ["", "strcpy", "(", "target_str", ",", "original_str", ")", ";", "vectors_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "if", "(", "vectors_str", "!=", "NULL", ")", "{", "vectors_str", "=", "strtok", "(", "vectors_str", ",", "", ")", ";", "value_str", "=", "strtok", "(", "NULL", ",", "", ")", ";", "nds32_isr_vectors", "[", "", "]", ".", "total_n_vectors", "=", "atoi", "(", "value_str", ")", "+", "", "+", "", ";", "}", "else", "nds32_isr_vectors", "[", "", "]", ".", "total_n_vectors", "=", "", "+", "", "+", "", ";", "strcpy", "(", "nds32_isr_vectors", "[", "", "]", ".", "func_name", ",", "func_name", ")", ";", "strcpy", "(", "target_str", ",", "original_str", ")", ";", "nmi_str", "=", "strstr", "(", "target_str", ",", "", ")", ";", "if", "(", "nmi_str", "!=", "NULL", ")", "{", "nmi_str", "=", "strtok", "(", "nmi_str", ",", "", ")", ";", "value_str", "=", "strtok", "(", "NULL", ",", "", ")", ";"], "ground_truth": ["strcpy", "(", "nds32_isr_vectors", "[", "", "]", ".", "nmi_name", ",", "value_str", ")", ";"], "File": "nds32-isr", "Func": "nds32_reset_attribute_parse_string", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242051, "Length": 137, "Cover_Rate": 0.5756302521008403} {"Template_token": ["", "if", "(", "(", "GET_CODE", "(", "op", ")", "==", "POST_INC", ")", "&&", "(", "mode_test", "==", "SImode", ")", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "op", ",", "", ")", ")", ";", "if", "(", "regno", "<", "", ")", "return", "ADDRESS_POST_INC_LO_REG_IMM3U", ";", "}", "if", "(", "(", "GET_CODE", "(", "op", ")", "==", "POST_MODIFY", ")", "&&", "(", "mode_test", "==", "SImode", ")", "&&", "(", "REG_P", "(", "XEXP", "(", "XEXP", "(", "op", ",", "", ")", ",", "", ")", ")", ")", "&&", "(", "CONST_INT_P", "(", "XEXP", "(", "XEXP", "(", "op", ",", "", ")", ",", "", ")", ")", ")", ")", "{", "regno", "=", "REGNO", "(", "XEXP", "(", "XEXP", "(", "op", ",", "", ")", ",", "", ")", ")", ";", "val", "=", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "op", ",", "", ")", ",", "", ")", ")", ";", "if", "(", "regno", "<", "", "&&", "val", "<", "", ")", "return", "ADDRESS_POST_INC_LO_REG_IMM3U", ";", "}", "if", "(", "(", "GET_CODE", "(", "op", ")", "==", "PLUS", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "", ")", ")", "==", "REG", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "op", ",", "", ")", ")", "==", "CONST_INT", ")", ")", "{", "val", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "", ")", ")", ";", "regno", "=", "REGNO", "(", "XEXP", "(", "op", ",", "", ")", ")", ";", "if", "(", "regno", ">", "", "&&", "regno", "!=", "SP_REGNUM", "&&", "regno", "!=", "FP_REGNUM", ")", "return", "ADDRESS_NOT_16BIT_FORMAT", ";", "switch", "(", "mode_test", ")", "{", "case", "QImode", ":", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "case", "HImode", ":", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "case", "SImode", ":", "case", "SFmode", ":", "case", "DFmode", ":", "if", "(", "(", "regno", "==", "FP_REGNUM", ")", "&&", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", ")", ")", "return", "ADDRESS_FP_IMM7U", ";", "else", "if", "(", "(", "regno", "==", "SP_REGNUM", ")", "&&", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", ")", ")", "return", "ADDRESS_SP_IMM7U", ";", "else", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";"], "ground_truth": ["default", ":"], "File": "nds32-md-auxiliary2", "Func": "nds32_mem_format", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242052, "Length": 376, "Cover_Rate": 0.8103448275862069} {"Template_token": ["", "unsigned", "char", "size", ";", "rtx", "code", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "size", "=", "nds32_byte_to_size", "(", "byte", ")", ";", "switch", "(", "nds32_mem_format", "(", "operands", "[", "", "]", ")", ")", "{", "case", "ADDRESS_REG", ":", "operands", "[", "", "]", "=", "code", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";"], "ground_truth": ["case", "ADDRESS_POST_INC_LO_REG_IMM3U", ":"], "File": "nds32-md-auxiliary2", "Func": "nds32_output_16bit_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242053, "Length": 83, "Cover_Rate": 0.48823529411764705} {"Template_token": ["", "rtx", "code", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "size", "=", "nds32_byte_to_size", "(", "byte", ")", ";", "switch", "(", "nds32_mem_format", "(", "operands", "[", "", "]", ")", ")", "{", "case", "ADDRESS_REG", ":", "operands", "[", "", "]", "=", "code", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";"], "ground_truth": ["output_asm_insn", "(", "pattern", ",", "operands", ")", ";"], "File": "nds32-md-auxiliary2", "Func": "nds32_output_16bit_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242054, "Length": 74, "Cover_Rate": 0.43529411764705883} {"Template_token": ["", "char", "pattern", "[", "", "]", ";", "char", "size", ";", "rtx", "code", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "size", "=", "nds32_byte_to_size", "(", "byte", ")", ";", "switch", "(", "nds32_mem_format", "(", "operands", "[", "", "]", ")", ")", "{", "case", "ADDRESS_REG", ":", "operands", "[", "", "]", "=", "code", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_POST_INC_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_FP_IMM7U", ":"], "ground_truth": ["output_asm_insn", "(", "", ",", "operands", ")", ";"], "File": "nds32-md-auxiliary2", "Func": "nds32_output_16bit_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242055, "Length": 121, "Cover_Rate": 0.7159763313609467} {"Template_token": ["", "output_asm_insn", "(", "", ",", "operands", ")", ";", "if", "(", "TARGET_16_BIT", ")", "return", "", ";"], "ground_truth": ["else", "return", "", ";"], "File": "nds32-md-auxiliary2", "Func": "nds32_output_casesi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242056, "Length": 18, "Cover_Rate": 0.5} {"Template_token": ["", "output_asm_insn", "(", "", ",", "operands", ")", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";", "if", "(", "TARGET_16_BIT", ")", "return", "", ";", "else", "return", "", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary2", "Func": "nds32_output_casesi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242057, "Length": 26, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "HImode", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "SImode", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary2", "Func": "nds32_output_casesi_pc_relative", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242058, "Length": 40, "Cover_Rate": 0.31496062992125984} {"Template_token": ["", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_size", "&&", "!", "cfun", "->", "machine", "->", "gp_size", "&&", "!", "cfun", "->", "machine", "->", "lp_size", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "{", "return", "", ";", "}", "else", "{", "if", "(", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "pop_en4_only_p", "=", "", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "pop_en4_only_p", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "fp_size", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "gp_size", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "lp_size", "?", "", ":", "", ")", ";", "}", "}"], "ground_truth": ["output_asm_insn", "(", "pattern", ",", "operands", ")", ";"], "File": "nds32-md-auxiliary2", "Func": "nds32_output_stack_pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242059, "Length": 145, "Cover_Rate": 0.4559748427672956} {"Template_token": ["", "emit_insn", "(", "gen_zero_extendqisi2", "(", "reg", "[", "", "]", ",", "sub_reg", ")", ")", ";", "while", "(", "width", ">", "", ")", "{", "offset", "=", "offset", "+", "offset_adj", ";", "shift", "++", ";", "width", "--", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_move_insn", "(", "temp_sub_reg", ",", "mem", "[", "", "]", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "temp_reg", ",", "temp_reg", ",", "GEN_INT", "(", "shift", "*", "", ")", ")", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "reg", "[", "", "]", ",", "reg", "[", "", "]", ",", "temp_reg", ")", ")", ";", "}", "if", "(", "mode", "==", "DImode", ")", "{", "reg", "[", "", "]", "=", "reg", "[", "", "]", ";"], "ground_truth": ["shift", "=", "", ";"], "File": "nds32-md-auxiliary5", "Func": "nds32_expand_unaligned_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242060, "Length": 121, "Cover_Rate": 0.32266666666666666} {"Template_token": ["", "}", "else", "{", "reg", "[", "", "]", "=", "operands", "[", "", "]", ";", "}", "for", "(", "num_reg", "=", "(", "mode", "==", "DImode", ")", "?", "", ":", "", ";", "num_reg", ">", "", ";", "num_reg", "--", ")", "{", "sub_reg", "=", "gen_lowpart", "(", "QImode", ",", "reg", "[", "", "]", ")", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_move_insn", "(", "mem", "[", "", "]", ",", "sub_reg", ")", ";", "while", "(", "width", ">", "", ")", "{", "offset", "=", "offset", "+", "offset_adj", ";", "shift", "++", ";", "width", "--", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "temp_reg", ",", "reg", "[", "", "]", ",", "GEN_INT", "(", "shift", "*", "", ")", ")", ")", ";", "emit_move_insn", "(", "mem", "[", "", "]", ",", "temp_sub_reg", ")", ";", "}", "if", "(", "mode", "==", "DImode", ")", "{", "reg", "[", "", "]", "=", "reg", "[", "", "]", ";", "shift", "=", "", ";", "width", "=", "GET_MODE_SIZE", "(", "SImode", ")", "-", "", ";"], "ground_truth": ["offset", "=", "offset", "+", "offset_adj", ";"], "File": "nds32-md-auxiliary5", "Func": "nds32_expand_unaligned_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242061, "Length": 188, "Cover_Rate": 0.5417867435158501} {"Template_token": ["", "rtx", "reg", "[", "", "]", ";", "rtx", "sub_reg", ";", "rtx", "temp_reg", ",", "temp_sub_reg", ";", "int", "num_reg", ";", "temp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "temp_sub_reg", "=", "gen_lowpart", "(", "QImode", ",", "temp_reg", ")", ";", "if", "(", "mode", "==", "DImode", ")", "{", "reg", "[", "", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "operands", "[", "", "]", ",", "GET_MODE", "(", "operands", "[", "", "]", ")", ",", "", ")", ";", "reg", "[", "", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "operands", "[", "", "]", ",", "GET_MODE", "(", "operands", "[", "", "]", ")", ",", "", ")", ";", "width", "=", "GET_MODE_SIZE", "(", "SImode", ")", "-", "", ";", "}", "else", "{", "reg", "[", "", "]", "=", "operands", "[", "", "]", ";", "}", "for", "(", "num_reg", "=", "(", "mode", "==", "DImode", ")", "?", "", ":", "", ";", "num_reg", ">", "", ";", "num_reg", "--", ")", "{", "sub_reg", "=", "gen_lowpart", "(", "QImode", ",", "reg", "[", "", "]", ")", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_move_insn", "(", "mem", "[", "", "]", ",", "sub_reg", ")", ";", "while", "(", "width", ">", "", ")", "{", "offset", "=", "offset", "+", "offset_adj", ";", "shift", "++", ";", "width", "--", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "temp_reg", ",", "reg", "[", "", "]", ",", "GEN_INT", "(", "shift", "*", "", ")", ")", ")", ";", "emit_move_insn", "(", "mem", "[", "", "]", ",", "temp_sub_reg", ")", ";", "}", "if", "(", "mode", "==", "DImode", ")", "{", "reg", "[", "", "]", "=", "reg", "[", "", "]", ";", "shift", "=", "", ";", "width", "=", "GET_MODE_SIZE", "(", "SImode", ")", "-", "", ";", "offset", "=", "offset", "+", "offset_adj", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary5", "Func": "nds32_expand_unaligned_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242062, "Length": 288, "Cover_Rate": 0.829971181556196} {"Template_token": ["", "diff_vec", "=", "PATTERN", "(", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "operands", "[", "", "]", ")", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "diff_vec", ")", "==", "ADDR_DIFF_VEC", ")", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";"], "ground_truth": ["mode", "=", "GET_MODE", "(", "diff_vec", ")", ";"], "File": "nds32-md-auxiliary5", "Func": "nds32_output_casesi_pc_relative", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242064, "Length": 44, "Cover_Rate": 0.3464566929133858} {"Template_token": ["", "const", "char", "*", "nds32_output_stack_pop", "(", "rtx", "par_rtx", "ATTRIBUTE_UNUSED", ")", "{", "char", "pattern", "[", "", "]", ";", "rtx", "operands", "[", "", "]", ";", "int", "rb_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "int", "re_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "int", "first_eh_data_regno", "=", "EH_RETURN_DATA_REGNO", "(", "", ")", ";", "int", "rb_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "int", "re_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "SImode", ",", "first_eh_data_regno", ")", ",", "par_rtx", ")", ")", "{", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_eh_data", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_eh_data", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "", ";", "}", "if", "(", "TARGET_V3PUSH", "&&", "!", "nds32_isr_function_p", "(", "current_function_decl", ")", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", ")", "{", "int", "sp_adjust", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "}", "else", "{", "operands", "[", "", "]", "=", "GEN_INT", "(", "", ")", ";", "}", "}", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "}", "else", "{", "int", "pop_en4_only_p", "=", "", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_callee_saved", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_size", "&&", "!", "cfun", "->", "machine", "->", "gp_size", "&&", "!", "cfun", "->", "machine", "->", "lp_size", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "{", "return", "", ";", "}"], "ground_truth": ["else", "{"], "File": "nds32-md-auxiliary5", "Func": "nds32_output_stack_pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242065, "Length": 368, "Cover_Rate": 0.8087912087912088} {"Template_token": ["", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "}", "else", "{", "operands", "[", "", "]", "=", "GEN_INT", "(", "", ")", ";", "}", "}", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "}", "else", "{", "int", "pop_en4_only_p", "=", "", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_callee_saved", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_size", "&&", "!", "cfun", "->", "machine", "->", "gp_size", "&&", "!", "cfun", "->", "machine", "->", "lp_size", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "{", "return", "", ";", "}", "else", "{", "if", "(", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "pop_en4_only_p", "=", "", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "pop_en4_only_p", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "fp_size", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "gp_size", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "lp_size", "?", "", ":", "", ")", ";", "}"], "ground_truth": ["}"], "File": "nds32-md-auxiliary5", "Func": "nds32_output_stack_pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242066, "Length": 220, "Cover_Rate": 0.4835164835164835} {"Template_token": ["", "int", "last_argument_regno", "=", "NDS32_FIRST_GPR_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", "-", "", ";", "int", "rb_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "int", "re_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "int", "first_eh_data_regno", "=", "EH_RETURN_DATA_REGNO", "(", "", ")", ";", "int", "rb_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "int", "re_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "SImode", ",", "last_argument_regno", ")", ",", "par_rtx", ")", ")", "{", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_va_args", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_va_args", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "", ";", "}", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "SImode", ",", "first_eh_data_regno", ")", ",", "par_rtx", ")", ")", "{", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_eh_data", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_eh_data", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "", ";", "}", "if", "(", "TARGET_V3PUSH", "&&", "!", "nds32_isr_function_p", "(", "current_function_decl", ")", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", ")", "{"], "ground_truth": ["int", "sp_adjust", ";"], "File": "nds32-md-auxiliary5", "Func": "nds32_output_stack_push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242067, "Length": 205, "Cover_Rate": 0.37962962962962965} {"Template_token": ["", "else", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "rtx", "post_mem", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "rtx", "plus_op", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "rtx", "post_val", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "low_part", "[", "mem", "]", "=", "gen_frame_mem", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "post_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "post_mem", ",", "post_val", ")", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "post_mem", ",", "", ")", ")", ";", "}", "else", "{", "low_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "", ")", ";", "high_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "", ")", ";", "}"], "ground_truth": ["if", "(", "(", "load_p", "&&", "reg_overlap_mentioned_p", "(", "low_part", "[", "", "]", ",", "high_part", "[", "", "]", ")", ")", "||", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{"], "File": "nds32-md-auxiliary5", "Func": "nds32_spilt_doubleword", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242068, "Length": 145, "Cover_Rate": 0.3395784543325527} {"Template_token": ["", "case", "", ":", "return", "'w'", ";", "case", "", ":"], "ground_truth": ["return", "'h'", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_byte_to_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242069, "Length": 12, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "return", "'w'", ";", "case", "", ":", "return", "'h'", ";", "case", "", ":"], "ground_truth": ["return", "'b'", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_byte_to_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242070, "Length": 15, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "case", "GE", ":", "return", "", ";", "case", "LT", ":", "return", "", ";", "default", ":", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_cond_code_str", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242071, "Length": 19, "Cover_Rate": 0.3220338983050847} {"Template_token": ["", "static", "const", "char", "*", "nds32_cond_code_str", "(", "int", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "NE", ":"], "ground_truth": ["return", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_cond_code_str", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242072, "Length": 21, "Cover_Rate": 0.3559322033898305} {"Template_token": ["", "unsigned", "high_part_offset", "=", "subreg_highpart_offset", "(", "SImode", ",", "DImode", ")", ";"], "ground_truth": ["return", "simplify_gen_subreg", "(", "SImode", ",", "reg", ",", "DImode", ",", "high_part_offset", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_di_high_part_subreg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242073, "Length": 22, "Cover_Rate": 0.7333333333333333} {"Template_token": ["", "return", "simplify_gen_subreg", "(", "SImode", ",", "reg", ",", "DImode", ",", "low_part_offset", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_di_low_part_subreg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242076, "Length": 13, "Cover_Rate": 0.43333333333333335} {"Template_token": ["", "int", "padding", "=", "", ";", "while", "(", "regno", "<=", "last_fpr", ")", "{", "if", "(", "(", "regno", "+", "", ")", ">=", "last_fpr", ")", "padding", "=", "gpr_padding_size", ";", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "(", "regno", ")", ")", ";", "addr", "=", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "", "+", "padding", ")", ")", ")", ";", "mem", "=", "gen_frame_mem", "(", "DFmode", ",", "addr", ")", ";"], "ground_truth": ["regno", "+=", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_emit_pop_fpr_callee_saved", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242077, "Length": 73, "Cover_Rate": 0.3989071038251366} {"Template_token": ["", "addr", "=", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "", "+", "padding", ")", ")", ")", ";", "mem", "=", "gen_frame_mem", "(", "DFmode", ",", "addr", ")", ";", "regno", "+=", "", ";", "fpu_insn", "=", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "adjust_sp_rtx", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "", "+", "padding", ")", ")", ";"], "ground_truth": ["dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "NULL_RTX", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_emit_pop_fpr_callee_saved", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242078, "Length": 74, "Cover_Rate": 0.40437158469945356} {"Template_token": ["", "rtx", "fpu_insn", ";", "rtx", "reg", ",", "mem", ";", "unsigned", "int", "regno", "=", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", ";", "unsigned", "int", "last_fpr", "=", "cfun", "->", "machine", "->", "callee_saved_last_fpr_regno", ";", "while", "(", "regno", "<=", "last_fpr", ")", "{", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "DFmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "base_offset", ")", ")", ";", "base_offset", "+=", "", ";", "regno", "+=", "", ";", "fpu_insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";"], "ground_truth": ["RTX_FRAME_RELATED_P", "(", "fpu_insn", ")", "=", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_emit_push_fpr_callee_saved", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242079, "Length": 84, "Cover_Rate": 0.9032258064516129} {"Template_token": ["", "regno", "+=", "", ";", "fpu_insn", "=", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "NULL_RTX", ")", ";", "RTX_FRAME_RELATED_P", "(", "fpu_insn", ")", "=", "", ";"], "ground_truth": ["REG_NOTES", "(", "fpu_insn", ")", "=", "dwarf", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_emit_v3pop_fpr_callee_saved", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242080, "Length": 38, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "int", "fpu_base_addr", "=", "base", ";", "int", "regno", ";", "rtx", "fpu_insn", ";", "rtx", "reg", ",", "mem", ";", "rtx", "dwarf", ";", "regno", "=", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", ";", "while", "(", "regno", "<=", "cfun", "->", "machine", "->", "callee_saved_last_fpr_regno", ")", "{", "reg", "=", "gen_rtx_REG", "(", "DFmode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "DFmode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "fpu_base_addr", ")", ")", ";"], "ground_truth": ["fpu_base_addr", "+=", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_emit_v3pop_fpr_callee_saved", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242081, "Length": 67, "Cover_Rate": 0.5877192982456141} {"Template_token": ["", "}", "else", "if", "(", "clear_zero_bit_copies", ">", "", "&&", "clear_sign_bit_copies", "<", "", "&&", "(", "remainder", "|", "zero_shift_mask", ")", "==", "", ")", "{", "rtx", "shift", "=", "GEN_INT", "(", "clear_zero_bit_copies", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "temp", ",", "source", ",", "shift", ")", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "target", ",", "temp", ",", "shift", ")", ")", ";", "}", "else", "{"], "ground_truth": ["emit_move_insn", "(", "temp", ",", "GEN_INT", "(", "val", ")", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_constant", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242082, "Length": 66, "Cover_Rate": 0.3013698630136986} {"Template_token": ["", "if", "(", "code", "==", "GE", ")", "{", "emit_insn", "(", "gen_slts_compare", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "operands", "[", "", "]", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_slt_compare", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "operands", "[", "", "]", ")", ")", ";", "}", "emit_insn", "(", "gen_xorsi3", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "const1_rtx", ")", ")", ";", "return", "EXPAND_DONE", ";", "}", "case", "LT", ":", "case", "LTU", ":", "if", "(", "code", "==", "LT", ")", "{", "emit_insn", "(", "gen_slts_compare", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "operands", "[", "", "]", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_slt_compare", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "operands", "[", "", "]", ")", ")", ";", "}", "return", "EXPAND_DONE", ";", "case", "LE", ":", "case", "LEU", ":", "if", "(", "GET_CODE", "(", "operands", "[", "", "]", ")", "==", "CONST_INT", ")", "{", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_movsi", "(", "tmp_reg", ",", "gen_int_mode", "(", "INTVAL", "(", "operands", "[", "", "]", ")", "+", "", ",", "SImode", ")", ")", ")", ";", "if", "(", "code", "==", "LE", ")", "{", "emit_insn", "(", "gen_slts_compare", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "tmp_reg", ")", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_slt_compare", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "tmp_reg", ")", ")", ";", "}", "return", "EXPAND_DONE", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_cstore", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242083, "Length": 237, "Cover_Rate": 0.31684491978609625} {"Template_token": ["", "rtx", "newmem", "=", "adjust_address", "(", "src", ",", "GET_MODE", "(", "dst", ")", ",", "bitpos", "/", "BITS_PER_UNIT", ")", ";", "rtx", "base_addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "newmem", ",", "", ")", ")", ";", "emit_insn", "(", "gen_unaligned_loadsi", "(", "dst", ",", "base_addr", ")", ")", ";", "return", "EXPAND_DONE", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_extv", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242084, "Length": 46, "Cover_Rate": 0.3150684931506849} {"Template_token": ["", "tmp", "=", "cmp_op0", ";", "cmp_op0", "=", "cmp_op1", ";", "cmp_op1", "=", "tmp", ";", "new_code", "=", "swap_condition", "(", "new_code", ")", ";", "break", ";", "case", "UNORDERED", ":", "case", "LT", ":", "case", "LE", ":", "case", "EQ", ":", "break", ";", "case", "ORDERED", ":", "case", "NE", ":", "new_code", "=", "reverse_condition", "(", "new_code", ")", ";", "reverse", "=", "", ";", "break", ";", "case", "UNGT", ":", "case", "UNGE", ":", "new_code", "=", "reverse_condition_maybe_unordered", "(", "new_code", ")", ";", "reverse", "=", "", ";", "break", ";", "case", "UNLT", ":", "case", "UNLE", ":", "new_code", "=", "reverse_condition_maybe_unordered", "(", "new_code", ")", ";", "tmp", "=", "cmp_op0", ";", "cmp_op0", "=", "cmp_op1", ";", "cmp_op1", "=", "tmp", ";", "new_code", "=", "swap_condition", "(", "new_code", ")", ";", "reverse", "=", "", ";", "break", ";", "default", ":", "return", ";", "}", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_rtx_SET", "(", "tmp_reg", ",", "gen_rtx_fmt_ee", "(", "new_code", ",", "SImode", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ")", ";", "PUT_CODE", "(", "operands", "[", "", "]", ",", "reverse", "?", "EQ", ":", "NE", ")", ";", "emit_insn", "(", "gen_cbranchsi4", "(", "operands", "[", "", "]", ",", "tmp_reg", ",", "const0_rtx", ",", "operands", "[", "", "]", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_float_cbranch", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242085, "Length": 177, "Cover_Rate": 0.7344398340248963} {"Template_token": ["", "rtx", "cmp_op0", "=", "operands", "[", "", "]", ";", "rtx", "cmp_op1", "=", "operands", "[", "", "]", ";", "rtx", "tmp_reg", ";", "rtx", "tmp", ";", "int", "reverse", "=", "", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GE", ":", "tmp", "=", "cmp_op0", ";", "cmp_op0", "=", "cmp_op1", ";", "cmp_op1", "=", "tmp", ";", "new_code", "=", "swap_condition", "(", "new_code", ")", ";", "break", ";", "case", "UNORDERED", ":", "case", "LT", ":", "case", "LE", ":", "case", "EQ", ":", "break", ";", "case", "ORDERED", ":"], "ground_truth": ["case", "NE", ":"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_float_cbranch", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242086, "Length": 79, "Cover_Rate": 0.3278008298755187} {"Template_token": ["", "enum", "rtx_code", "new_code", "=", "code", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "", "]", ")", ";", "rtx", "cmp_op0", "=", "operands", "[", "", "]", ";", "rtx", "cmp_op1", "=", "operands", "[", "", "]", ";", "rtx", "tmp", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GE", ":", "tmp", "=", "cmp_op0", ";", "cmp_op0", "=", "cmp_op1", ";", "cmp_op1", "=", "tmp", ";", "new_code", "=", "swap_condition", "(", "new_code", ")", ";", "break", ";", "case", "UNORDERED", ":", "case", "LT", ":", "case", "LE", ":", "case", "EQ", ":", "break", ";", "case", "ORDERED", ":", "if", "(", "mode", "==", "SFmode", ")", "emit_insn", "(", "gen_cmpsf_un", "(", "operands", "[", "", "]", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "else", "emit_insn", "(", "gen_cmpdf_un", "(", "operands", "[", "", "]", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "emit_insn", "(", "gen_xorsi3", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "const1_rtx", ")", ")", ";", "return", ";", "case", "NE", ":", "if", "(", "mode", "==", "SFmode", ")", "emit_insn", "(", "gen_cmpsf_eq", "(", "operands", "[", "", "]", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "else", "emit_insn", "(", "gen_cmpdf_eq", "(", "operands", "[", "", "]", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "emit_insn", "(", "gen_xorsi3", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "const1_rtx", ")", ")", ";", "return", ";", "default", ":", "return", ";", "}", "emit_insn", "(", "gen_rtx_SET", "(", "operands", "[", "", "]", ",", "gen_rtx_fmt_ee", "(", "new_code", ",", "SImode", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_float_cstore", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242087, "Length": 230, "Cover_Rate": 0.92} {"Template_token": ["", "cmp_op1", "=", "tmp", ";", "new_code", "=", "swap_condition", "(", "new_code", ")", ";", "break", ";", "case", "UNORDERED", ":", "case", "LT", ":", "case", "LE", ":", "case", "EQ", ":", "break", ";", "case", "ORDERED", ":", "if", "(", "mode", "==", "SFmode", ")", "emit_insn", "(", "gen_cmpsf_un", "(", "operands", "[", "", "]", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "else", "emit_insn", "(", "gen_cmpdf_un", "(", "operands", "[", "", "]", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";"], "ground_truth": ["emit_insn", "(", "gen_xorsi3", "(", "operands", "[", "", "]", ",", "operands", "[", "", "]", ",", "const1_rtx", ")", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_float_cstore", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242088, "Length": 85, "Cover_Rate": 0.34} {"Template_token": ["", "return", ";", "}", "else", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "", "]", ")", ";", "enum", "rtx_code", "new_code", "=", "code", ";", "machine_mode", "cmp0_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ")", ";", "machine_mode", "cmp1_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ")", ";", "rtx", "cmp_op0", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "rtx", "cmp_op1", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "rtx", "tmp", ";", "int", "reverse", "=", "", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GE", ":", "tmp", "=", "cmp_op0", ";", "cmp_op0", "=", "cmp_op1", ";", "cmp_op1", "=", "tmp", ";", "new_code", "=", "swap_condition", "(", "new_code", ")", ";"], "ground_truth": ["break", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_float_movcc", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242089, "Length": 121, "Cover_Rate": 0.3201058201058201} {"Template_token": ["", "rtx", "src", "=", "operands", "[", "", "]", ";", "src", "=", "nds32_legitimize_ict_address", "(", "src", ")", ";", "emit_move_insn", "(", "operands", "[", "", "]", ",", "src", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_ict_move", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242090, "Length": 26, "Cover_Rate": 0.7647058823529411} {"Template_token": ["", "HOST_WIDE_INT", "bitpos", "=", "INTVAL", "(", "operands", "[", "", "]", ")", ";", "rtx", "dst", "=", "operands", "[", "", "]", ";", "rtx", "src", "=", "operands", "[", "", "]", ";", "if", "(", "MEM_P", "(", "dst", ")", "&&", "width", "==", "", "&&", "(", "bitpos", "%", "BITS_PER_UNIT", ")", "==", "", "&&", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "src", ")", ")", "==", "width", ")", "{", "rtx", "newmem", "=", "adjust_address", "(", "dst", ",", "GET_MODE", "(", "src", ")", ",", "bitpos", "/", "BITS_PER_UNIT", ")", ";", "rtx", "base_addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "newmem", ",", "", ")", ")", ";", "emit_insn", "(", "gen_unaligned_storesi", "(", "base_addr", ",", "src", ")", ")", ";", "return", "EXPAND_DONE", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_insv", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242091, "Length": 103, "Cover_Rate": 0.7054794520547946} {"Template_token": ["", "HOST_WIDE_INT", "bitpos", "=", "INTVAL", "(", "operands", "[", "", "]", ")", ";", "rtx", "dst", "=", "operands", "[", "", "]", ";", "rtx", "src", "=", "operands", "[", "", "]", ";", "if", "(", "MEM_P", "(", "dst", ")", "&&", "width", "==", "", "&&", "(", "bitpos", "%", "BITS_PER_UNIT", ")", "==", "", "&&", "GET_MODE_BITSIZE", "(", "GET_MODE", "(", "src", ")", ")", "==", "width", ")", "{", "rtx", "newmem", "=", "adjust_address", "(", "dst", ",", "GET_MODE", "(", "src", ")", ",", "bitpos", "/", "BITS_PER_UNIT", ")", ";", "rtx", "base_addr", "=", "force_reg", "(", "Pmode", ",", "XEXP", "(", "newmem", ",", "", ")", ")", ";", "emit_insn", "(", "gen_unaligned_storesi", "(", "base_addr", ",", "src", ")", ")", ";"], "ground_truth": ["return", "EXPAND_DONE", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_insv", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242092, "Length": 102, "Cover_Rate": 0.6986301369863014} {"Template_token": ["", "enum", "rtx_code", "new_code", "=", "code", ";", "machine_mode", "cmp0_mode", "=", "GET_MODE", "(", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ")", ";", "rtx", "cmp_op0", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "rtx", "cmp_op1", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "rtx", "tmp", ";", "if", "(", "(", "GET_CODE", "(", "operands", "[", "", "]", ")", "==", "EQ", "||", "GET_CODE", "(", "operands", "[", "", "]", ")", "==", "NE", ")", "&&", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", "==", "const0_rtx", ")", "{", "return", "EXPAND_CREATE_TEMPLATE", ";", "}"], "ground_truth": ["else", "if", "(", "(", "TARGET_FPU_SINGLE", "&&", "cmp0_mode", "==", "SFmode", ")", "||", "(", "TARGET_FPU_DOUBLE", "&&", "cmp0_mode", "==", "DFmode", ")", ")", "{"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_movcc", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242093, "Length": 112, "Cover_Rate": 0.33136094674556216} {"Template_token": ["", "if", "(", "new_code", "==", "EQ", "||", "new_code", "==", "NE", ")", "{", "emit_insn", "(", "gen_xorsi3", "(", "tmp", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_fmt_ee", "(", "new_code", ",", "VOIDmode", ",", "tmp", ",", "const0_rtx", ")", ";", "}", "else", "{", "if", "(", "new_code", "==", "LT", ")", "emit_insn", "(", "gen_slts_compare", "(", "tmp", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "else", "if", "(", "new_code", "==", "LTU", ")", "emit_insn", "(", "gen_slt_compare", "(", "tmp", ",", "cmp_op0", ",", "cmp_op1", ")", ")", ";", "else", "gcc_unreachable", "(", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_fmt_ee", "(", "reverse", "?", "EQ", ":", "NE", ",", "VOIDmode", ",", "tmp", ",", "const0_rtx", ")", ";", "}", "}", "return", "EXPAND_CREATE_TEMPLATE", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_movcc", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242094, "Length": 110, "Cover_Rate": 0.3254437869822485} {"Template_token": ["", "emit_move_insn", "(", "operands", "[", "", "]", ",", "src", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_pic_move", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242095, "Length": 11, "Cover_Rate": 0.34375} {"Template_token": ["", "rtx", "src", ";"], "ground_truth": ["src", "=", "nds32_legitimize_pic_address", "(", "operands", "[", "", "]", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_pic_move", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242096, "Length": 13, "Cover_Rate": 0.40625} {"Template_token": ["", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "base", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", "src", "=", "nds32_legitimize_tls_address", "(", "src", ")", ";", "else", "{", "src", "=", "nds32_legitimize_tls_address", "(", "base", ")", ";", "if", "(", "addend", "!=", "const0_rtx", ")", "{", "src", "=", "gen_rtx_PLUS", "(", "SImode", ",", "src", ",", "addend", ")", ";", "src", "=", "force_operand", "(", "src", ",", "operands", "[", "", "]", ")", ";", "}", "}", "emit_move_insn", "(", "operands", "[", "", "]", ",", "src", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_tls_move", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242097, "Length": 68, "Cover_Rate": 0.6355140186915887} {"Template_token": ["", "else", "reg", "[", "", "]", "=", "operands", "[", "", "]", ";", "}", "for", "(", "num_reg", "=", "(", "mode", "==", "DImode", ")", "?", "", ":", "", ";", "num_reg", ">", "", ";", "num_reg", "--", ")", "{", "sub_reg", "=", "gen_lowpart", "(", "QImode", ",", "reg", "[", "", "]", ")", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_move_insn", "(", "sub_reg", ",", "mem", "[", "", "]", ")", ";", "emit_insn", "(", "gen_zero_extendqisi2", "(", "reg", "[", "", "]", ",", "sub_reg", ")", ")", ";", "while", "(", "width", ">", "", ")", "{", "offset", "=", "offset", "+", "offset_adj", ";", "shift", "++", ";", "width", "--", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_move_insn", "(", "temp_sub_reg", ",", "mem", "[", "", "]", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "temp_reg", ",", "temp_reg", ",", "GEN_INT", "(", "shift", "*", "", ")", ")", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "reg", "[", "", "]", ",", "reg", "[", "", "]", ",", "temp_reg", ")", ")", ";", "}", "if", "(", "mode", "==", "DImode", ")", "{", "reg", "[", "", "]", "=", "reg", "[", "", "]", ";", "shift", "=", "", ";"], "ground_truth": ["width", "=", "GET_MODE_SIZE", "(", "SImode", ")", "-", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_unaligned_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242098, "Length": 208, "Cover_Rate": 0.5319693094629157} {"Template_token": ["", "int", "num_reg", ";", "temp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "temp_sub_reg", "=", "gen_lowpart", "(", "QImode", ",", "temp_reg", ")", ";", "if", "(", "mode", "==", "DImode", ")", "{", "reg", "[", "", "]", "=", "nds32_di_low_part_subreg", "(", "operands", "[", "", "]", ")", ";", "reg", "[", "", "]", "=", "nds32_di_high_part_subreg", "(", "operands", "[", "", "]", ")", ";", "width", "=", "GET_MODE_SIZE", "(", "SImode", ")", "-", "", ";", "}", "else", "{", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "{", "reg", "[", "", "]", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "convert_move", "(", "reg", "[", "", "]", ",", "operands", "[", "", "]", ",", "false", ")", ";", "}", "else", "reg", "[", "", "]", "=", "operands", "[", "", "]", ";", "}", "for", "(", "num_reg", "=", "(", "mode", "==", "DImode", ")", "?", "", ":", "", ";", "num_reg", ">", "", ";", "num_reg", "--", ")", "{", "sub_reg", "=", "gen_lowpart", "(", "QImode", ",", "reg", "[", "", "]", ")", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_move_insn", "(", "mem", "[", "", "]", ",", "sub_reg", ")", ";", "while", "(", "width", ">", "", ")", "{", "offset", "=", "offset", "+", "offset_adj", ";", "shift", "++", ";", "width", "--", ";", "mem", "[", "", "]", "=", "gen_rtx_MEM", "(", "QImode", ",", "plus_constant", "(", "Pmode", ",", "operands", "[", "", "]", ",", "offset", ")", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "temp_reg", ",", "reg", "[", "", "]", ",", "GEN_INT", "(", "shift", "*", "", ")", ")", ")", ";", "emit_move_insn", "(", "mem", "[", "", "]", ",", "temp_sub_reg", ")", ";", "}", "if", "(", "mode", "==", "DImode", ")", "{", "reg", "[", "", "]", "=", "reg", "[", "", "]", ";", "shift", "=", "", ";", "width", "=", "GET_MODE_SIZE", "(", "SImode", ")", "-", "", ";", "offset", "=", "offset", "+", "offset_adj", ";", "}", "}"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_expand_unaligned_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242099, "Length": 287, "Cover_Rate": 0.8016759776536313} {"Template_token": ["", "tree", "decl", "=", "SYMBOL_REF_DECL", "(", "x", ")", ";", "return", "decl", "&&", "(", "lookup_attribute", "(", "", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", "!=", "NULL", ")", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_indirect_call_referenced_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242100, "Length": 29, "Cover_Rate": 0.3815789473684211} {"Template_token": ["", "return", "EQ", ";", "case", "EQ", ":", "return", "NE", ";", "case", "GT", ":", "return", "LE", ";", "case", "LE", ":"], "ground_truth": ["return", "GT", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_inverse_cond_code", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242101, "Length": 21, "Cover_Rate": 0.3684210526315789} {"Template_token": ["", "return", "EQ", ";", "case", "EQ", ":", "return", "NE", ";", "case", "GT", ":", "return", "LE", ";", "case", "LE", ":", "return", "GT", ";", "case", "GE", ":", "return", "LT", ";", "case", "LT", ":", "return", "GE", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_inverse_cond_code", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242102, "Length": 41, "Cover_Rate": 0.7192982456140351} {"Template_token": ["", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "nds32_indirect_call_referenced_p", "(", "x", ")", ")", ";", "addr", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "symbol", ")", ",", "UNSPEC_ICT", ")", ";", "addr", "=", "gen_rtx_CONST", "(", "SImode", ",", "addr", ")", ";", "emit_insn", "(", "gen_sethi", "(", "reg", ",", "addr", ")", ")", ";"], "ground_truth": ["x", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_LO_SUM", "(", "Pmode", ",", "reg", ",", "addr", ")", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_legitimize_ict_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242103, "Length": 66, "Cover_Rate": 0.6947368421052632} {"Template_token": ["", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", ";", "rtx", "op0", "=", "XEXP", "(", "addr", ",", "", ")", ";", "rtx", "op1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "(", "GET_CODE", "(", "op0", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "op0", ")", "==", "SYMBOL_REF", "&&", "(", "CONSTANT_POOL_ADDRESS_P", "(", "op0", ")", "||", "SYMBOL_REF_LOCAL_P", "(", "op0", ")", ")", ")", ")", "&&", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "pat", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "", ",", "op0", ")", ",", "UNSPEC_GOTOFF", ")", ";", "pat", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "pat", ",", "op1", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "Pmode", ",", "pat", ")", ";", "emit_insn", "(", "gen_sym_got", "(", "reg", ",", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "pic_offset_table_rtx", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op0", ")", "==", "SYMBOL_REF", "&&", "GET_CODE", "(", "op1", ")", "==", "CONST_INT", ")", "{", "addr", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "op0", ")", ",", "UNSPEC_GOT", ")", ";", "addr", "=", "gen_rtx_CONST", "(", "SImode", ",", "addr", ")", ";", "emit_insn", "(", "gen_sym_got", "(", "reg", ",", "addr", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "addr", "=", "gen_const_mem", "(", "SImode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "pic_offset_table_rtx", ",", "reg", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "addr", ")", ";", "if", "(", "satisfies_constraint_Is15", "(", "op1", ")", ")", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "op1", ")", ";", "else", "{", "rtx", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_movsi", "(", "tmp_reg", ",", "op1", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "reg", ",", "tmp_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_legitimize_pic_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242104, "Length": 264, "Cover_Rate": 0.546583850931677} {"Template_token": ["", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "switch", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_GLOBAL_DYNAMIC", ")", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "x", ")", ",", "UNSPEC_TLSGD", ")", ";", "else", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "x", ")", ",", "UNSPEC_TLSLD", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "pat", ")", ";", "reg0", "=", "gen_rtx_REG", "(", "Pmode", ",", "", ")", ";", "insns", "=", "emit_call_insn", "(", "gen_tls_desc", "(", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insns", ")", ",", "pic_offset_table_rtx", ")", ";", "RTL_CONST_CALL_P", "(", "insns", ")", "=", "", ";", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "reg0", ")", ";", "x", "=", "tmp_reg", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":"], "ground_truth": ["pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "x", ")", ",", "UNSPEC_TLSIE", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_legitimize_tls_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242105, "Length": 155, "Cover_Rate": 0.36556603773584906} {"Template_token": ["", "rtx", "tmp_reg", ";", "rtx", "tp_reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "TP_REGNUM", ")", ";", "rtx", "pat", ",", "insns", ",", "reg0", ";", "int", "relax_group_id", "=", "nds32_alloc_relax_group_id", "(", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "switch", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "case", "TLS_MODEL_LOCAL_DYNAMIC", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", "==", "TLS_MODEL_GLOBAL_DYNAMIC", ")", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "x", ")", ",", "UNSPEC_TLSGD", ")", ";", "else", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "x", ")", ",", "UNSPEC_TLSLD", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "pat", ")", ";", "reg0", "=", "gen_rtx_REG", "(", "Pmode", ",", "", ")", ";", "insns", "=", "emit_call_insn", "(", "gen_tls_desc", "(", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "use_reg", "(", "&", "CALL_INSN_FUNCTION_USAGE", "(", "insns", ")", ",", "pic_offset_table_rtx", ")", ";", "RTL_CONST_CALL_P", "(", "insns", ")", "=", "", ";", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "reg0", ")", ";", "x", "=", "tmp_reg", ";", "break", ";", "case", "TLS_MODEL_INITIAL_EXEC", ":", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "x", ")", ",", "UNSPEC_TLSIE", ")", ";", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "pat", ")", ";", "emit_insn", "(", "gen_tls_ie", "(", "tmp_reg", ",", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "if", "(", "flag_pic", ")", "emit_use", "(", "pic_offset_table_rtx", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp_reg", ",", "tp_reg", ")", ";", "break", ";", "case", "TLS_MODEL_LOCAL_EXEC", ":", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "x", ")", ",", "UNSPEC_TLSLE", ")", ";", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "pat", ")", ";", "emit_insn", "(", "gen_tls_le", "(", "tmp_reg", ",", "pat", ",", "GEN_INT", "(", "relax_group_id", ")", ")", ")", ";", "x", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "tmp_reg", ",", "tp_reg", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "rtx", "base", ",", "addend", ";", "split_const", "(", "x", ",", "&", "base", ",", "&", "addend", ")", ";", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "base", ")", "==", "TLS_MODEL_LOCAL_EXEC", ")", "{"], "ground_truth": ["tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_legitimize_tls_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242106, "Length": 349, "Cover_Rate": 0.8231132075471698} {"Template_token": ["", "bool", "nds32_long_call_p", "(", "rtx", "symbol", ")", "{", "if", "(", "nds32_indirect_call_referenced_p", "(", "symbol", ")", ")", "return", "TARGET_ICT_MODEL_LARGE", ";", "else", "return", "TARGET_CMODEL_LARGE", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_long_call_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242107, "Length": 22, "Cover_Rate": 1.0} {"Template_token": ["", "val", "=", "INTVAL", "(", "XEXP", "(", "op", ",", "", ")", ")", ";", "regno", "=", "REGNO", "(", "XEXP", "(", "op", ",", "", ")", ")", ";", "if", "(", "regno", ">", "", "&&", "regno", "!=", "SP_REGNUM", "&&", "regno", "!=", "FP_REGNUM", ")", "return", "ADDRESS_NOT_16BIT_FORMAT", ";", "switch", "(", "mode_test", ")", "{", "case", "E_QImode", ":", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "case", "E_HImode", ":", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "if", "(", "(", "regno", "==", "", ")", "&&", "(", "val", ">=", "-", "", "&&", "val", "<=", "-", "", "&&", "(", "val", "%", "", "==", "", ")", ")", ")", "return", "ADDRESS_R8_IMM7U", ";", "if", "(", "(", "regno", "==", "FP_REGNUM", ")", "&&", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", ")", ")", "return", "ADDRESS_FP_IMM7U", ";", "else", "if", "(", "(", "regno", "==", "SP_REGNUM", ")", "&&", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", ")", ")", "return", "ADDRESS_SP_IMM7U", ";", "else", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "default", ":", "break", ";", "}", "}", "return", "ADDRESS_NOT_16BIT_FORMAT", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_mem_format", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242108, "Length": 235, "Cover_Rate": 0.44933078393881454} {"Template_token": ["", "regno", "=", "REGNO", "(", "XEXP", "(", "op", ",", "", ")", ")", ";", "if", "(", "regno", ">", "", "&&", "regno", "!=", "SP_REGNUM", "&&", "regno", "!=", "FP_REGNUM", ")", "return", "ADDRESS_NOT_16BIT_FORMAT", ";", "switch", "(", "mode_test", ")", "{", "case", "E_QImode", ":", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "case", "E_HImode", ":", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";", "break", ";", "case", "E_SImode", ":", "case", "E_SFmode", ":", "case", "E_DFmode", ":", "if", "(", "(", "regno", "==", "", ")", "&&", "(", "val", ">=", "-", "", "&&", "val", "<=", "-", "", "&&", "(", "val", "%", "", "==", "", ")", ")", ")", "return", "ADDRESS_R8_IMM7U", ";", "if", "(", "(", "regno", "==", "FP_REGNUM", ")", "&&", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", ")", ")", "return", "ADDRESS_FP_IMM7U", ";", "else", "if", "(", "(", "regno", "==", "SP_REGNUM", ")", "&&", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", ")", ")", "return", "ADDRESS_SP_IMM7U", ";"], "ground_truth": ["else", "if", "(", "val", ">=", "", "&&", "val", "<", "", "&&", "(", "val", "%", "", "==", "", ")", "&&", "regno", "<", "", ")", "return", "ADDRESS_LO_REG_IMM3U", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_mem_format", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242109, "Length": 211, "Cover_Rate": 0.40344168260038243} {"Template_token": ["", "if", "(", "INTVAL", "(", "in0_idx0", ")", "==", "INTVAL", "(", "in1_idx0", ")", "&&", "INTVAL", "(", "in0_idx1", ")", "==", "INTVAL", "(", "in1_idx1", ")", "&&", "INTVAL", "(", "in0_idx0", ")", "!=", "INTVAL", "(", "in0_idx1", ")", ")", "return", "false", ";", "if", "(", "INTVAL", "(", "in0_idx0", ")", "!=", "INTVAL", "(", "in0_idx1", ")", "&&", "INTVAL", "(", "in1_idx0", ")", "!=", "INTVAL", "(", "in1_idx1", ")", ")", "return", "false", ";"], "ground_truth": ["return", "true", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_need_split_sms_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242110, "Length": 63, "Cover_Rate": 0.7875} {"Template_token": ["", "break", ";", "case", "ADDRESS_POST_INC_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_POST_MODIFY_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_FP_IMM7U", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";"], "ground_truth": ["case", "ADDRESS_SP_IMM7U", ":"], "File": "nds32-md-auxiliary", "Func": "nds32_output_16bit_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242112, "Length": 65, "Cover_Rate": 0.3403141361256545} {"Template_token": ["", "case", "ADDRESS_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_POST_INC_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_POST_MODIFY_LO_REG_IMM3U", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "break", ";", "case", "ADDRESS_FP_IMM7U", ":"], "ground_truth": ["output_asm_insn", "(", "", ",", "operands", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_16bit_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242113, "Length": 84, "Cover_Rate": 0.4397905759162304} {"Template_token": ["", "char", "pattern", "[", "", "]", ";", "unsigned", "char", "size", ";", "rtx", "code", ";", "code", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "size", "=", "nds32_byte_to_size", "(", "byte", ")", ";", "switch", "(", "GET_CODE", "(", "code", ")", ")", "{", "case", "REG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "operands", "[", "", "]", "=", "XEXP", "(", "operands", "[", "", "]", ",", "", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "break", ";", "case", "POST_INC", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ",", "byte", ")", ";", "break", ";", "case", "POST_DEC", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ",", "byte", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "code", ",", "", ")", ",", "", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";"], "ground_truth": ["break", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_32bit_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242114, "Length": 181, "Cover_Rate": 0.5186246418338109} {"Template_token": ["", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "break", ";", "case", "CONST_INT", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "case", "LO_SUM", ":", "operands", "[", "", "]", "=", "XEXP", "(", "code", ",", "", ")", ";", "operands", "[", "", "]", "=", "XEXP", "(", "code", ",", "", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_output_32bit_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242115, "Length": 105, "Cover_Rate": 0.3008595988538682} {"Template_token": ["", "case", "POST_MODIFY", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "code", ",", "", ")", ",", "", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "break", ";", "case", "CONST_INT", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "code", ",", "", ")", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "size", ")", ";", "break", ";"], "ground_truth": ["case", "CONST_INT", ":"], "File": "nds32-md-auxiliary", "Func": "nds32_output_32bit_load_s", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242116, "Length": 112, "Cover_Rate": 0.3209169054441261} {"Template_token": ["", "if", "(", "align_p", ")", "strcat", "(", "pattern", ",", "", ")", ";", "noreturn_p", "=", "find_reg_note", "(", "insn", ",", "REG_NORETURN", ",", "NULL_RTX", ")", "!=", "NULL_RTX", ";", "if", "(", "noreturn_p", ")", "{", "if", "(", "TARGET_16_BIT", ")", "strcat", "(", "pattern", ",", "", ")", ";"], "ground_truth": ["else", "strcat", "(", "pattern", ",", "", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_call", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242117, "Length": 48, "Cover_Rate": 0.3380281690140845} {"Template_token": ["", "bool", "noreturn_p", ";", "if", "(", "nds32_long_call_p", "(", "symbol", ")", ")", "strcpy", "(", "pattern", ",", "long_call", ")", ";", "else", "strcpy", "(", "pattern", ",", "call", ")", ";", "if", "(", "flag_pic", "&&", "CONSTANT_P", "(", "symbol", ")", "&&", "!", "nds32_symbol_binds_local_p", "(", "symbol", ")", ")", "strcat", "(", "pattern", ",", "", ")", ";", "if", "(", "align_p", ")", "strcat", "(", "pattern", ",", "", ")", ";"], "ground_truth": ["noreturn_p", "=", "find_reg_note", "(", "insn", ",", "REG_NORETURN", ",", "NULL_RTX", ")", "!=", "NULL_RTX", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_call", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242118, "Length": 71, "Cover_Rate": 0.5} {"Template_token": ["", "output_asm_insn", "(", "", ",", "operands", ")", ";", "}", "else", "output_asm_insn", "(", "", ",", "operands", ")", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";"], "ground_truth": ["if", "(", "TARGET_16_BIT", ")", "return", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_casesi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242119, "Length": 30, "Cover_Rate": 0.46875} {"Template_token": ["", "gcc_assert", "(", "GET_CODE", "(", "diff_vec", ")", "==", "ADDR_DIFF_VEC", ")", ";", "if", "(", "flag_pic", ")", "{", "output_asm_insn", "(", "", ",", "operands", ")", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";", "}", "else", "output_asm_insn", "(", "", ",", "operands", ")", ";", "mode", "=", "GET_MODE", "(", "diff_vec", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "E_HImode", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "E_SImode", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_output_casesi_pc_relative", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242120, "Length": 100, "Cover_Rate": 0.6451612903225806} {"Template_token": ["", "const", "char", "*", "nds32_output_casesi_pc_relative", "(", "rtx", "*", "operands", ")", "{", "machine_mode", "mode", ";", "rtx", "diff_vec", ";", "diff_vec", "=", "PATTERN", "(", "NEXT_INSN", "(", "as_a", "<", "rtx_insn", "*", ">", "(", "operands", "[", "", "]", ")", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "diff_vec", ")", "==", "ADDR_DIFF_VEC", ")", ";", "if", "(", "flag_pic", ")", "{", "output_asm_insn", "(", "", ",", "operands", ")", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";", "output_asm_insn", "(", "", ",", "operands", ")", ";", "}", "else", "output_asm_insn", "(", "", ",", "operands", ")", ";", "mode", "=", "GET_MODE", "(", "diff_vec", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "E_HImode", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "case", "E_SImode", ":", "output_asm_insn", "(", "", ",", "operands", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "output_asm_insn", "(", "", ",", "operands", ")", ";", "if", "(", "TARGET_16_BIT", ")", "return", "", ";", "else", "return", "", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_output_casesi_pc_relative", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242121, "Length": 155, "Cover_Rate": 1.0} {"Template_token": ["", "insn_length", "=", "get_attr_length", "(", "insn", ")", ";", "long_jump_p", "=", "(", "insn_length", "==", "", "||", "insn_length", "==", "", ")", "?", "true", ":", "false", ";", "r5_p", "=", "(", "insn_length", "==", "", "||", "insn_length", "==", "", ")", "?", "true", ":", "false", ";", "code", "=", "GET_CODE", "(", "operands", "[", "", "]", ")", ";"], "ground_truth": ["switch", "(", "code", ")", "{"], "File": "nds32-md-auxiliary", "Func": "nds32_output_cbranchsi4_equality_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242122, "Length": 54, "Cover_Rate": 0.4909090909090909} {"Template_token": ["", "insn_length", "=", "get_attr_length", "(", "insn", ")", ";", "long_jump_p", "=", "(", "insn_length", "==", "", "||", "insn_length", "==", "", ")", "?", "true", ":", "false", ";", "r5_p", "=", "(", "insn_length", "==", "", "||", "insn_length", "==", "", ")", "?", "true", ":", "false", ";", "code", "=", "GET_CODE", "(", "operands", "[", "", "]", ")", ";", "switch", "(", "code", ")", "{"], "ground_truth": ["case", "EQ", ":"], "File": "nds32-md-auxiliary", "Func": "nds32_output_cbranchsi4_equality_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242123, "Length": 57, "Cover_Rate": 0.5181818181818182} {"Template_token": ["", "gcc_assert", "(", "insn_length", "==", "", "||", "insn_length", "==", "", ")", ";", "long_jump_p", "=", "(", "insn_length", "==", "", ")", "?", "true", ":", "false", ";", "code", "=", "GET_CODE", "(", "operands", "[", "", "]", ")", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GE", ":"], "ground_truth": ["case", "LT", ":"], "File": "nds32-md-auxiliary", "Func": "nds32_output_cbranchsi4_greater_less_zero", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242124, "Length": 47, "Cover_Rate": 0.4392523364485981} {"Template_token": ["", "gcc_assert", "(", "insn_length", "==", "", "||", "insn_length", "==", "", ")", ";", "long_jump_p", "=", "(", "insn_length", "==", "", ")", "?", "true", ":", "false", ";", "code", "=", "GET_CODE", "(", "operands", "[", "", "]", ")", ";", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GE", ":", "case", "LT", ":", "case", "LE", ":", "output_cond_branch_compare_zero", "(", "code", ",", "", ",", "long_jump_p", ",", "operands", ",", "false", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}"], "ground_truth": ["return", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_cbranchsi4_greater_less_zero", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242125, "Length": 75, "Cover_Rate": 0.7009345794392523} {"Template_token": ["", "int", "reg", "=", "load_p", "?", "", ":", "", ";", "int", "mem", "=", "load_p", "?", "", ":", "", ";", "rtx", "otherops", "[", "", "]", ";", "rtx", "addr", "=", "XEXP", "(", "operands", "[", "mem", "]", ",", "", ")", ";", "otherops", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "reg", "]", ")", ")", ";", "otherops", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "reg", "]", ")", "+", "", ")", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "POST_INC", ")", "{", "otherops", "[", "", "]", "=", "XEXP", "(", "addr", ",", "", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "load_p", "?", "'l'", ":", "'s'", ")", ";", "}", "else", "{", "otherops", "[", "", "]", "=", "addr", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "load_p", "?", "'l'", ":", "'s'", ")", ";", "}"], "ground_truth": ["output_asm_insn", "(", "pattern", ",", "otherops", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_double", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242126, "Length": 151, "Cover_Rate": 0.867816091954023} {"Template_token": ["", "else", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "CONST_INT_P", "(", "addr_op1", ")", ")", "pattern", "=", "", ";", "else", "if", "(", "GET_CODE", "(", "addr_op0", ")", "==", "MULT", "&&", "REG_P", "(", "addr_op1", ")", "&&", "REG_P", "(", "XEXP", "(", "addr_op0", ",", "", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_op0", ",", "", ")", ")", ")", "pattern", "=", "", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "addr_op0", "=", "XEXP", "(", "addr", ",", "", ")", ";", "addr_op1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "GET_CODE", "(", "addr_op1", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "addr_op1", ",", "", ")", ")", ")", "pattern", "=", "", ";", "else", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "GET_CODE", "(", "addr_op1", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_op1", ",", "", ")", ")", ")", "pattern", "=", "", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_INC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "", ")", ")", ")", "{", "if", "(", "dp", ")", "pattern", "=", "", ";", "else", "pattern", "=", "", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_DEC", ":"], "ground_truth": ["if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "", ")", ")", ")", "{"], "File": "nds32-md-auxiliary", "Func": "nds32_output_float_load", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242127, "Length": 201, "Cover_Rate": 0.5537190082644629} {"Template_token": ["", "else", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "CONST_INT_P", "(", "addr_op1", ")", ")", "pattern", "=", "", ";", "else", "if", "(", "GET_CODE", "(", "addr_op0", ")", "==", "MULT", "&&", "REG_P", "(", "addr_op1", ")", "&&", "REG_P", "(", "XEXP", "(", "addr_op0", ",", "", ")", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_op0", ",", "", ")", ")", ")", "pattern", "=", "", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "addr_op0", "=", "XEXP", "(", "addr", ",", "", ")", ";", "addr_op1", "=", "XEXP", "(", "addr", ",", "", ")", ";", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "GET_CODE", "(", "addr_op1", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "addr_op1", ",", "", ")", ")", ")", "pattern", "=", "", ";", "else", "if", "(", "REG_P", "(", "addr_op0", ")", "&&", "GET_CODE", "(", "addr_op1", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "addr_op1", ",", "", ")", ")", ")", "pattern", "=", "", ";", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_INC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "", ")", ")", ")", "{", "if", "(", "dp", ")", "pattern", "=", "", ";", "else", "pattern", "=", "", ";", "}", "else", "gcc_unreachable", "(", ")", ";", "break", ";", "case", "POST_DEC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "addr", ",", "", ")", ")", ")", "{", "if", "(", "dp", ")", "pattern", "=", "", ";", "else", "pattern", "=", "", ";", "}", "else", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["break", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_float_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242128, "Length": 222, "Cover_Rate": 0.6115702479338843} {"Template_token": ["", "update_base_p", "=", "true", ";", "base_reg", "=", "XEXP", "(", "XEXP", "(", "base_addr", ",", "", ")", ",", "", ")", ";", "}", "const", "char", "*", "update_base", "=", "update_base_p", "?", "", ":", "", ";", "regno", "=", "REGNO", "(", "operands", "[", "", "]", ")", ";", "otherops", "[", "", "]", "=", "operands", "[", "", "]", ";", "otherops", "[", "", "]", "=", "base_reg", ";", "if", "(", "regno", ">=", "", ")", "{", "enable4", "=", "nds32_regno_to_enable4", "(", "regno", ")", ";", "sprintf", "(", "buff", ",", "", ",", "update_base", ",", "enable4", ")", ";", "}", "else", "{", "sprintf", "(", "buff", ",", "", ",", "update_base", ")", ";", "}", "output_asm_insn", "(", "buff", ",", "otherops", ")", ";"], "ground_truth": ["return", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_lmw_single_word", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242129, "Length": 105, "Cover_Rate": 0.5932203389830508} {"Template_token": ["", "update_base_p", "=", "false", ";", "base_reg", "=", "XEXP", "(", "base_addr", ",", "", ")", ";", "}", "else", "{", "update_base_p", "=", "true", ";", "base_reg", "=", "XEXP", "(", "XEXP", "(", "base_addr", ",", "", ")", ",", "", ")", ";", "}", "const", "char", "*", "update_base", "=", "update_base_p", "?", "", ":", "", ";", "regno", "=", "REGNO", "(", "operands", "[", "", "]", ")", ";", "otherops", "[", "", "]", "=", "operands", "[", "", "]", ";", "otherops", "[", "", "]", "=", "base_reg", ";", "if", "(", "regno", ">=", "", ")", "{", "enable4", "=", "nds32_regno_to_enable4", "(", "regno", ")", ";", "sprintf", "(", "buff", ",", "", ",", "update_base", ",", "enable4", ")", ";", "}", "else", "{", "sprintf", "(", "buff", ",", "", ",", "update_base", ")", ";", "}", "output_asm_insn", "(", "buff", ",", "otherops", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_output_lmw_single_word", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242130, "Length": 122, "Cover_Rate": 0.6892655367231638} {"Template_token": ["", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "operands", "[", "", "]", "=", "GEN_INT", "(", "", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";"], "ground_truth": ["return", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_return", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242131, "Length": 63, "Cover_Rate": 0.4701492537313433} {"Template_token": ["", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "operands", "[", "", "]", "=", "GEN_INT", "(", "", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_output_return", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242132, "Length": 102, "Cover_Rate": 0.7611940298507462} {"Template_token": ["", "else", "return", "", ";", "}", "else", "{", "if", "(", "TARGET_BIG_ENDIAN", ")", "return", "", ";", "else", "return", "", ";", "}", "}", "if", "(", "INTVAL", "(", "in0_idx0", ")", "!=", "INTVAL", "(", "in0_idx1", ")", "&&", "INTVAL", "(", "in1_idx0", ")", "!=", "INTVAL", "(", "in1_idx1", ")", ")", "{", "if", "(", "INTVAL", "(", "in0_idx0", ")", "==", "", ")", "{", "if", "(", "TARGET_BIG_ENDIAN", ")", "return", "", ";", "else", "return", "", ";", "}", "else", "{", "if", "(", "TARGET_BIG_ENDIAN", ")", "return", "", ";", "else", "return", "", ";", "}", "}", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["return", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_sms", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242133, "Length": 87, "Cover_Rate": 0.5058139534883721} {"Template_token": ["", "if", "(", "TARGET_BIG_ENDIAN", ")", "return", "", ";", "else", "return", "", ";", "}", "}", "if", "(", "INTVAL", "(", "in0_idx0", ")", "!=", "INTVAL", "(", "in0_idx1", ")", "&&", "INTVAL", "(", "in1_idx0", ")", "!=", "INTVAL", "(", "in1_idx1", ")", ")", "{", "if", "(", "INTVAL", "(", "in0_idx0", ")", "==", "", ")", "{", "if", "(", "TARGET_BIG_ENDIAN", ")", "return", "", ";", "else", "return", "", ";", "}"], "ground_truth": ["else", "{"], "File": "nds32-md-auxiliary", "Func": "nds32_output_sms", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242134, "Length": 60, "Cover_Rate": 0.3488372093023256} {"Template_token": ["", "if", "(", "REG_P", "(", "XEXP", "(", "base_addr", ",", "", ")", ")", ")", "{", "update_base_p", "=", "false", ";", "base_reg", "=", "XEXP", "(", "base_addr", ",", "", ")", ";", "}", "else", "{", "update_base_p", "=", "true", ";", "base_reg", "=", "XEXP", "(", "XEXP", "(", "base_addr", ",", "", ")", ",", "", ")", ";", "}", "const", "char", "*", "update_base", "=", "update_base_p", "?", "", ":", "", ";", "regno", "=", "REGNO", "(", "operands", "[", "", "]", ")", ";", "otherops", "[", "", "]", "=", "base_reg", ";", "otherops", "[", "", "]", "=", "operands", "[", "", "]", ";", "otherops", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "", "]", ")", "+", "", ")", ";", ";", "if", "(", "regno", ">=", "", ")", "{", "enable4", "=", "nds32_regno_to_enable4", "(", "regno", ")", "|", "nds32_regno_to_enable4", "(", "regno", "+", "", ")", ";", "sprintf", "(", "buff", ",", "", ",", "update_base", ",", "enable4", ")", ";", "}", "else", "if", "(", "regno", "==", "", ")", "{"], "ground_truth": ["enable4", "=", "nds32_regno_to_enable4", "(", "regno", "+", "", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_smw_double_word", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242135, "Length": 157, "Cover_Rate": 0.6709401709401709} {"Template_token": ["", "otherops", "[", "", "]", "=", "base_reg", ";", "otherops", "[", "", "]", "=", "operands", "[", "", "]", ";", "otherops", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "REGNO", "(", "operands", "[", "", "]", ")", "+", "", ")", ";", ";", "if", "(", "regno", ">=", "", ")", "{", "enable4", "=", "nds32_regno_to_enable4", "(", "regno", ")", "|", "nds32_regno_to_enable4", "(", "regno", "+", "", ")", ";", "sprintf", "(", "buff", ",", "", ",", "update_base", ",", "enable4", ")", ";", "}", "else", "if", "(", "regno", "==", "", ")", "{", "enable4", "=", "nds32_regno_to_enable4", "(", "regno", "+", "", ")", ";", "sprintf", "(", "buff", ",", "", ",", "update_base", ",", "enable4", ")", ";", "}", "else", "{"], "ground_truth": ["sprintf", "(", "buff", ",", "", ",", "update_base", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_smw_double_word", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242136, "Length": 111, "Cover_Rate": 0.47435897435897434} {"Template_token": ["", "const", "char", "*", "nds32_output_smw_single_word", "(", "rtx", "*", "operands", ")", "{", "char", "buff", "[", "", "]", ";", "unsigned", "regno", ";", "int", "enable4", ";", "bool", "update_base_p", ";", "rtx", "base_addr", "=", "operands", "[", "", "]", ";", "rtx", "base_reg", ";", "rtx", "otherops", "[", "", "]", ";", "if", "(", "REG_P", "(", "XEXP", "(", "base_addr", ",", "", ")", ")", ")", "{", "update_base_p", "=", "false", ";", "base_reg", "=", "XEXP", "(", "base_addr", ",", "", ")", ";", "}", "else", "{", "update_base_p", "=", "true", ";", "base_reg", "=", "XEXP", "(", "XEXP", "(", "base_addr", ",", "", ")", ",", "", ")", ";", "}", "const", "char", "*", "update_base", "=", "update_base_p", "?", "", ":", "", ";", "regno", "=", "REGNO", "(", "operands", "[", "", "]", ")", ";", "otherops", "[", "", "]", "=", "base_reg", ";", "otherops", "[", "", "]", "=", "operands", "[", "", "]", ";", "if", "(", "regno", ">=", "", ")", "{", "enable4", "=", "nds32_regno_to_enable4", "(", "regno", ")", ";"], "ground_truth": ["sprintf", "(", "buff", ",", "", ",", "update_base", ",", "enable4", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_smw_single_word", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242137, "Length": 153, "Cover_Rate": 0.864406779661017} {"Template_token": ["", "else", "{", "update_base_p", "=", "true", ";", "base_reg", "=", "XEXP", "(", "XEXP", "(", "base_addr", ",", "", ")", ",", "", ")", ";", "}", "const", "char", "*", "update_base", "=", "update_base_p", "?", "", ":", "", ";", "regno", "=", "REGNO", "(", "operands", "[", "", "]", ")", ";", "otherops", "[", "", "]", "=", "base_reg", ";", "otherops", "[", "", "]", "=", "operands", "[", "", "]", ";", "if", "(", "regno", ">=", "", ")", "{", "enable4", "=", "nds32_regno_to_enable4", "(", "regno", ")", ";"], "ground_truth": ["sprintf", "(", "buff", ",", "", ",", "update_base", ",", "enable4", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_smw_single_word", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242138, "Length": 84, "Cover_Rate": 0.4745762711864407} {"Template_token": ["", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "}", "else", "{", "operands", "[", "", "]", "=", "GEN_INT", "(", "", ")", ";", "}", "}", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "}", "else", "{", "int", "pop_en4_only_p", "=", "", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_callee_saved", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_size", "&&", "!", "cfun", "->", "machine", "->", "gp_size", "&&", "!", "cfun", "->", "machine", "->", "lp_size", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "{", "return", "", ";", "}", "else", "{", "if", "(", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "pop_en4_only_p", "=", "", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "pop_en4_only_p", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "fp_size", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "gp_size", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "lp_size", "?", "", ":", "", ")", ";", "}", "}"], "ground_truth": ["output_asm_insn", "(", "pattern", ",", "operands", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_stack_pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242139, "Length": 229, "Cover_Rate": 0.5216400911161732} {"Template_token": ["", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "}", "else", "{", "operands", "[", "", "]", "=", "GEN_INT", "(", "", ")", ";", "}", "}", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "}", "else", "{", "int", "pop_en4_only_p", "=", "", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_callee_saved", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_size", "&&", "!", "cfun", "->", "machine", "->", "gp_size", "&&", "!", "cfun", "->", "machine", "->", "lp_size", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "{", "return", "", ";", "}", "else", "{", "if", "(", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "pop_en4_only_p", "=", "", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "pop_en4_only_p", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "fp_size", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "gp_size", "?", "", ":", "", ",", "cfun", "->", "machine", "->", "lp_size", "?", "", ":", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_output_stack_pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242140, "Length": 219, "Cover_Rate": 0.4988610478359909} {"Template_token": ["", "char", "pattern", "[", "", "]", ";", "rtx", "operands", "[", "", "]", ";", "int", "rb_va_args", "=", "cfun", "->", "machine", "->", "va_args_first_regno", ";", "int", "re_va_args", "=", "cfun", "->", "machine", "->", "va_args_last_regno", ";", "int", "last_argument_regno", "=", "NDS32_FIRST_GPR_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", "-", "", ";", "int", "rb_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "int", "re_eh_data", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "int", "first_eh_data_regno", "=", "EH_RETURN_DATA_REGNO", "(", "", ")", ";", "int", "rb_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "int", "re_callee_saved", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "SImode", ",", "last_argument_regno", ")", ",", "par_rtx", ")", ")", "{", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_va_args", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_va_args", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "", ";", "}", "if", "(", "reg_mentioned_p", "(", "gen_rtx_REG", "(", "SImode", ",", "first_eh_data_regno", ")", ",", "par_rtx", ")", ")", "{", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_eh_data", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_eh_data", ")", ";", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "", ";", "}", "if", "(", "NDS32_V3PUSH_AVAILABLE_P", ")", "{", "int", "sp_adjust", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", ")", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "operands", "[", "", "]", "=", "GEN_INT", "(", "sp_adjust", ")", ";", "}", "else", "{", "operands", "[", "", "]", "=", "GEN_INT", "(", "", ")", ";", "}", "}", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ")", ";", "}", "else", "{", "int", "push_en4_only_p", "=", "", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "rb_callee_saved", ")", ";", "operands", "[", "", "]", "=", "gen_rtx_REG", "(", "SImode", ",", "re_callee_saved", ")", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_size", "&&", "!", "cfun", "->", "machine", "->", "gp_size", "&&", "!", "cfun", "->", "machine", "->", "lp_size", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "operands", "[", "", "]", ")", "==", "SP_REGNUM", ")", "{"], "ground_truth": ["return", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_stack_push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242141, "Length": 425, "Cover_Rate": 0.8110687022900763} {"Template_token": ["", "else", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_output_symrel", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242142, "Length": 25, "Cover_Rate": 0.43103448275862066} {"Template_token": ["", "else", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", "", ")", ";", "output_asm_insn", "(", "pattern", ",", "operands", ")", ";"], "ground_truth": ["return", "", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_symrel", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242143, "Length": 24, "Cover_Rate": 0.41379310344827586} {"Template_token": ["", "char", "pattern", "[", "", "]", ";", "if", "(", "TARGET_RELAX_HINT", ")", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", "", "", "", "", ")", ";", "else", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", "", "", "", "", ")", ";"], "ground_truth": ["output_asm_insn", "(", "pattern", ",", "operands", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_tls_desc", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242144, "Length": 50, "Cover_Rate": 0.78125} {"Template_token": ["", "else", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", "", "", ")", ";", "}", "else", "{", "if", "(", "TARGET_RELAX_HINT", ")", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", "", ")", ";", "else", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", "", ")", ";", "}"], "ground_truth": ["output_asm_insn", "(", "pattern", ",", "operands", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_output_tls_ie", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242145, "Length": 57, "Cover_Rate": 0.57} {"Template_token": ["", "case", "", ":", "return", "", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_regno_to_enable4", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242146, "Length": 14, "Cover_Rate": 0.3111111111111111} {"Template_token": ["", "int", "mem", "=", "load_p", "?", "", ":", "", ";", "rtx", "reg_rtx", "=", "load_p", "?", "operands", "[", "", "]", ":", "operands", "[", "", "]", ";", "rtx", "mem_rtx", "=", "load_p", "?", "operands", "[", "", "]", ":", "operands", "[", "", "]", ";", "rtx", "low_part", "[", "", "]", ",", "high_part", "[", "", "]", ";", "rtx", "sub_mem", "=", "XEXP", "(", "mem_rtx", ",", "", ")", ";", "low_part", "[", "reg", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "reg_rtx", ",", "GET_MODE", "(", "reg_rtx", ")", ",", "", ")", ";", "high_part", "[", "reg", "]", "=", "simplify_gen_subreg", "(", "SImode", ",", "reg_rtx", ",", "GET_MODE", "(", "reg_rtx", ")", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_DEC", ")", "{", "sub_mem", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "low_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "sub_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "sub_mem", ",", "GEN_INT", "(", "", ")", ")", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "sub_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "sub_mem", ",", "GEN_INT", "(", "-", "", ")", ")", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_INC", ")", "{", "sub_mem", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "low_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "sub_mem", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "sub_mem", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "rtx", "post_mem", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "rtx", "plus_op", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "rtx", "post_val", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "low_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "post_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "post_mem", ",", "post_val", ")", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "post_mem", ",", "", ")", ")", ";", "}", "else", "{", "low_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "", ")", ";", "high_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "", ")", ";", "}", "if", "(", "(", "load_p", "&&", "reg_overlap_mentioned_p", "(", "low_part", "[", "", "]", ",", "high_part", "[", "", "]", ")", ")", "||", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "operands", "[", "", "]", "=", "high_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "high_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "low_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "low_part", "[", "", "]", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_spilt_doubleword", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242147, "Length": 418, "Cover_Rate": 0.8672199170124482} {"Template_token": ["", "sub_mem", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "low_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "sub_mem", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_INC", "(", "Pmode", ",", "sub_mem", ")", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "rtx", "post_mem", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "rtx", "plus_op", "=", "XEXP", "(", "sub_mem", ",", "", ")", ";", "rtx", "post_val", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "low_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_POST_MODIFY", "(", "Pmode", ",", "post_mem", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "post_mem", ",", "post_val", ")", ")", ")", ";", "high_part", "[", "mem", "]", "=", "gen_rtx_MEM", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "post_mem", ",", "", ")", ")", ";", "}", "else", "{", "low_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "", ")", ";", "high_part", "[", "mem", "]", "=", "adjust_address", "(", "mem_rtx", ",", "SImode", ",", "", ")", ";", "}", "if", "(", "(", "load_p", "&&", "reg_overlap_mentioned_p", "(", "low_part", "[", "", "]", ",", "high_part", "[", "", "]", ")", ")", "||", "GET_CODE", "(", "sub_mem", ")", "==", "POST_MODIFY", ")", "{", "operands", "[", "", "]", "=", "high_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "high_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "low_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "low_part", "[", "", "]", ";", "}", "else", "{", "operands", "[", "", "]", "=", "low_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "low_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "high_part", "[", "", "]", ";", "operands", "[", "", "]", "=", "high_part", "[", "", "]", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_spilt_doubleword", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242148, "Length": 273, "Cover_Rate": 0.5663900414937759} {"Template_token": ["", "rtx", "src_high_part", ",", "src_low_part", ";", "rtx", "dst_high_part", ",", "dst_low_part", ";", "dst_high_part", "=", "nds32_di_high_part_subreg", "(", "dst", ")", ";", "dst_low_part", "=", "nds32_di_low_part_subreg", "(", "dst", ")", ";", "src_high_part", "=", "nds32_di_high_part_subreg", "(", "src", ")", ";", "src_low_part", "=", "nds32_di_low_part_subreg", "(", "src", ")", ";", "if", "(", "CONST_INT_P", "(", "shiftamount", ")", ")", "{", "if", "(", "INTVAL", "(", "shiftamount", ")", "<", "", ")", "{", "rtx", "ext_start", ";", "ext_start", "=", "gen_int_mode", "(", "", "-", "INTVAL", "(", "shiftamount", ")", ",", "SImode", ")", ";", "emit_insn", "(", "gen_wext", "(", "dst_high_part", ",", "src", ",", "ext_start", ")", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "dst_low_part", ",", "src_low_part", ",", "shiftamount", ")", ")", ";", "}", "else", "{", "rtx", "new_shift_amout", "=", "gen_int_mode", "(", "INTVAL", "(", "shiftamount", ")", "-", "", ",", "SImode", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "dst_high_part", ",", "src_low_part", ",", "new_shift_amout", ")", ")", ";", "emit_move_insn", "(", "dst_low_part", ",", "GEN_INT", "(", "", ")", ")", ";", "}", "}", "else", "{", "rtx", "dst_low_part_l32", ",", "dst_high_part_l32", ";", "rtx", "dst_low_part_g32", ",", "dst_high_part_g32", ";", "rtx", "new_shift_amout", ",", "select_reg", ";", "dst_low_part_l32", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "dst_high_part_l32", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "dst_low_part_g32", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "dst_high_part_g32", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "new_shift_amout", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "select_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "ext_start", ";", "ext_start", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "ext_start", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "shiftamount", ")", ")", ";", "emit_insn", "(", "gen_wext", "(", "dst_high_part_l32", ",", "src", ",", "ext_start", ")", ")", ";"], "ground_truth": ["emit_insn", "(", "gen_cmovzsi", "(", "dst_high_part_l32", ",", "shiftamount", ",", "src_high_part", ",", "dst_high_part_l32", ")", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_split_ashiftdi3", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242149, "Length": 251, "Cover_Rate": 0.7070422535211267} {"Template_token": ["", "nds32_split_shiftrtdi3", "(", "dst", ",", "src", ",", "shiftamount", ",", "true", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_split_lshiftrtdi3", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242153, "Length": 12, "Cover_Rate": 0.48} {"Template_token": ["", "emit_insn", "(", "gen_slt_compare", "(", "select_reg", ",", "shiftamount", ",", "GEN_INT", "(", "", ")", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "low5bit", ",", "shiftamount", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ")", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "low5bit_inv", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "low5bit", ")", ")", ";", "emit_insn", "(", "gen_wext", "(", "dst_low_part_l32", ",", "src", ",", "shiftamount", ")", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "dst_low_part_g32_tmpl", ",", "src_high_part", ",", "low5bit", ")", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "dst_low_part_g32_tmph", ",", "src_low_part", ",", "low5bit_inv", ")", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "dst_low_part_g32", ",", "dst_low_part_g32_tmpl", ",", "dst_low_part_g32_tmph", ")", ")", ";", "emit_insn", "(", "gen_cmovnsi", "(", "dst_low_part", ",", "select_reg", ",", "dst_low_part_l32", ",", "dst_low_part_g32", ")", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "minus32sa", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "shiftamount", ")", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "dst_high_part_l32_tmpl", ",", "src_high_part", ",", "shiftamount", ")", ")", ";", "emit_insn", "(", "gen_ashlsi3", "(", "dst_high_part_l32_tmph", ",", "src_low_part", ",", "minus32sa", ")", ")", ";"], "ground_truth": ["emit_insn", "(", "gen_iorsi3", "(", "dst_high_part_l32", ",", "dst_high_part_l32_tmpl", ",", "dst_high_part_l32_tmph", ")", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_split_rotatertdi3", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242154, "Length": 164, "Cover_Rate": 0.41309823677581864} {"Template_token": ["", "if", "(", "logic_shift_p", ")", "{", "emit_insn", "(", "gen_lshrsi3", "(", "dst_low_part", ",", "src_high_part", ",", "new_shift_amout", ")", ")", ";", "emit_move_insn", "(", "dst_high_part", ",", "const0_rtx", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_ashrsi3", "(", "dst_low_part", ",", "src_high_part", ",", "new_shift_amout", ")", ")", ";", "emit_insn", "(", "gen_ashrsi3", "(", "dst_high_part", ",", "src_high_part", ",", "GEN_INT", "(", "", ")", ")", ")", ";", "}", "}", "}", "else", "{", "rtx", "dst_low_part_l32", ",", "dst_high_part_l32", ";", "rtx", "dst_low_part_g32", ",", "dst_high_part_g32", ";", "rtx", "new_shift_amout", ",", "select_reg", ";", "dst_low_part_l32", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "dst_high_part_l32", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "dst_low_part_g32", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "dst_high_part_g32", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "new_shift_amout", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "select_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "shiftamount", ",", "shiftamount", ",", "GEN_INT", "(", "", ")", ")", ")", ";", "if", "(", "logic_shift_p", ")", "{", "emit_insn", "(", "gen_uwext", "(", "dst_low_part_l32", ",", "src", ",", "shiftamount", ")", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "dst_high_part_l32", ",", "src_high_part", ",", "shiftamount", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "new_shift_amout", ",", "shiftamount", ",", "GEN_INT", "(", "", ")", ")", ")", ";", "emit_insn", "(", "gen_lshrsi3", "(", "dst_low_part_g32", ",", "src_high_part", ",", "new_shift_amout", ")", ")", ";", "emit_move_insn", "(", "dst_high_part_g32", ",", "const0_rtx", ")", ";", "}", "else", "{", "emit_insn", "(", "gen_wext", "(", "dst_low_part_l32", ",", "src", ",", "shiftamount", ")", ")", ";", "emit_insn", "(", "gen_ashrsi3", "(", "dst_high_part_l32", ",", "src_high_part", ",", "shiftamount", ")", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "new_shift_amout", ",", "shiftamount", ",", "GEN_INT", "(", "", ")", ")", ")", ";", "emit_insn", "(", "gen_ashrsi3", "(", "dst_low_part_g32", ",", "src_high_part", ",", "new_shift_amout", ")", ")", ";", "emit_insn", "(", "gen_ashrsi3", "(", "dst_high_part_g32", ",", "src_high_part", ",", "GEN_INT", "(", "", ")", ")", ")", ";", "}", "emit_insn", "(", "gen_slt_compare", "(", "select_reg", ",", "shiftamount", ",", "GEN_INT", "(", "", ")", ")", ")", ";", "emit_insn", "(", "gen_cmovnsi", "(", "dst_low_part", ",", "select_reg", ",", "dst_low_part_l32", ",", "dst_low_part_g32", ")", ")", ";", "emit_insn", "(", "gen_cmovnsi", "(", "dst_high_part", ",", "select_reg", ",", "dst_high_part_l32", ",", "dst_high_part_g32", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_split_shiftrtdi3", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242155, "Length": 308, "Cover_Rate": 0.6875} {"Template_token": ["", "void", "nds32_split_sms", "(", "rtx", "out", ",", "rtx", "in0", ",", "rtx", "in1", ",", "rtx", "in0_idx0", ",", "rtx", "in1_idx0", ",", "rtx", "in0_idx1", ",", "rtx", "in1_idx1", ")", "{", "rtx", "result0", "=", "gen_reg_rtx", "(", "SImode", ")", ";"], "ground_truth": ["rtx", "result1", "=", "gen_reg_rtx", "(", "SImode", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_split_sms", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242156, "Length": 41, "Cover_Rate": 0.47674418604651164} {"Template_token": ["", "static", "bool", "nds32_symbol_binds_local_p", "(", "const_rtx", "x", ")", "{"], "ground_truth": ["return", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "targetm", ".", "binds_local_p", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_symbol_binds_local_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242157, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "return", "(", "SYMBOL_REF_DECL", "(", "x", ")", "?", "targetm", ".", "binds_local_p", "(", "SYMBOL_REF_DECL", "(", "x", ")", ")", ":", "SYMBOL_REF_LOCAL_P", "(", "x", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-md-auxiliary", "Func": "nds32_symbol_binds_local_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242158, "Length": 24, "Cover_Rate": 0.75} {"Template_token": ["", "if", "(", "!", "targetm", ".", "have_tls", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "PLUS", ")", "x", "=", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ";"], "ground_truth": ["if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "true", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_tls_referenced_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242159, "Length": 62, "Cover_Rate": 0.8493150684931506} {"Template_token": ["", "else", "{", "if", "(", "GET_CODE", "(", "base_addr", ")", "==", "POST_INC", "&&", "REG_P", "(", "XEXP", "(", "base_addr", ",", "", ")", ")", ")", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "nds32-md-auxiliary", "Func": "nds32_valid_smw_lwm_base_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242160, "Length": 28, "Cover_Rate": 0.4057971014492754} {"Template_token": ["", "const", "char", "*", "cond_code", ";", "bool", "align_p", "=", "NDS32_ALIGN_P", "(", ")", ";", "const", "char", "*", "align", "=", "align_p", "?", "", ":", "", ";", "if", "(", "long_jump_p", ")", "{", "int", "inverse_code", "=", "nds32_inverse_cond_code", "(", "code", ")", ";", "cond_code", "=", "nds32_cond_code_str", "(", "inverse_code", ")", ";", "if", "(", "ta_implied_p", "&&", "TARGET_16_BIT", ")", "{", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "cond_code", ",", "suffix", ",", "align", ")", ";", "}", "else", "{", "snprintf", "(", "pattern", ",", "sizeof", "(", "pattern", ")", ",", "", ",", "cond_code", ",", "suffix", ",", "align", ")", ";", "}", "}", "else", "{"], "ground_truth": ["cond_code", "=", "nds32_cond_code_str", "(", "code", ")", ";"], "File": "nds32-md-auxiliary", "Func": "output_cond_branch_compare_zero", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242161, "Length": 100, "Cover_Rate": 0.5524861878453039} {"Template_token": ["", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "op", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "op", ")", ")", "-", "", ";", "i", ">=", "", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "op", ",", "i", ")", "-", "", ";", "j", ">=", "", ";", "j", "--", ")", "if", "(", "symbolic_reference_mentioned_p", "(", "XVECEXP", "(", "op", ",", "i", ",", "j", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "symbolic_reference_mentioned_p", "(", "XEXP", "(", "op", ",", "i", ")", ")", ")", "return", "true", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "nds32-md-auxiliary", "Func": "symbolic_reference_mentioned_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242162, "Length": 110, "Cover_Rate": 0.7586206896551724} {"Template_token": ["", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";"], "ground_truth": ["XVECEXP", "(", "result", ",", "", ",", "par_index", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";"], "File": "nds32-memory-manipulation2", "Func": "nds32_expand_load_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242163, "Length": 42, "Cover_Rate": 0.3442622950819672} {"Template_token": ["", "int", "maximum_bytes", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "maximum_bytes", "=", "", ";", "else", "maximum_bytes", "=", "", ";", "if", "(", "GET_CODE", "(", "total_bytes", ")", "!=", "CONST_INT", "||", "GET_CODE", "(", "alignment", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "total_bytes", ")", ">", "maximum_bytes", "||", "INTVAL", "(", "total_bytes", ")", "&", "", "||", "INTVAL", "(", "alignment", ")", "&", "", ")", "return", "", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";"], "ground_truth": ["out_words", "=", "in_words", "=", "INTVAL", "(", "total_bytes", ")", "/", "UNITS_PER_WORD", ";"], "File": "nds32-memory-manipulation2", "Func": "nds32_expand_movmemqi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242164, "Length": 95, "Cover_Rate": 0.6209150326797386} {"Template_token": ["", "dst_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";", "out_words", "=", "in_words", "=", "INTVAL", "(", "total_bytes", ")", "/", "UNITS_PER_WORD", ";", "emit_insn", "(", "nds32_expand_load_multiple", "(", "", ",", "in_words", ",", "src_base_reg", ",", "srcmem", ")", ")", ";", "emit_insn", "(", "nds32_expand_store_multiple", "(", "", ",", "out_words", ",", "dst_base_reg", ",", "dstmem", ")", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation2", "Func": "nds32_expand_movmemqi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242165, "Length": 71, "Cover_Rate": 0.46405228758169936} {"Template_token": ["", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";"], "ground_truth": ["XVECEXP", "(", "result", ",", "", ",", "par_index", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";"], "File": "nds32-memory-manipulation2", "Func": "nds32_expand_store_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242166, "Length": 42, "Cover_Rate": 0.3442622950819672} {"Template_token": ["", "offset", "=", "par_index", "*", "", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";"], "ground_truth": ["XVECEXP", "(", "result", ",", "", ",", "par_index", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";"], "File": "nds32-memory-manipulation2", "Func": "nds32_expand_store_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242167, "Length": 59, "Cover_Rate": 0.48360655737704916} {"Template_token": ["", "rtx", "nds32_expand_load_multiple", "(", "int", "base_regno", ",", "int", "count", ",", "rtx", "base_addr", ",", "rtx", "basemem", ")", "{", "int", "par_index", ";", "int", "offset", ";", "rtx", "result", ";", "rtx", "new_addr", ",", "mem", ",", "reg", ";", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "for", "(", "par_index", "=", "", ";", "par_index", "<", "count", ";", "par_index", "++", ")", "{", "offset", "=", "par_index", "*", "", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";", "XVECEXP", "(", "result", ",", "", ",", "par_index", ")", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "}"], "ground_truth": ["return", "result", ";"], "File": "nds32-memory-manipulation3", "Func": "nds32_expand_load_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242168, "Length": 119, "Cover_Rate": 0.9916666666666667} {"Template_token": ["", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";"], "ground_truth": ["XVECEXP", "(", "result", ",", "", ",", "par_index", ")", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";"], "File": "nds32-memory-manipulation3", "Func": "nds32_expand_store_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242169, "Length": 40, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "rtx", "nds32_expand_store_multiple", "(", "int", "base_regno", ",", "int", "count", ",", "rtx", "base_addr", ",", "rtx", "basemem", ")", "{", "int", "par_index", ";", "int", "offset", ";", "rtx", "result", ";", "rtx", "new_addr", ",", "mem", ",", "reg", ";", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "for", "(", "par_index", "=", "", ";", "par_index", "<", "count", ";", "par_index", "++", ")", "{", "offset", "=", "par_index", "*", "", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";", "XVECEXP", "(", "result", ",", "", ",", "par_index", ")", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "}"], "ground_truth": ["return", "result", ";"], "File": "nds32-memory-manipulation3", "Func": "nds32_expand_store_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242170, "Length": 119, "Cover_Rate": 0.9916666666666667} {"Template_token": ["", "rtx", "word_mode_end", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "size_for_word", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "size_for_word", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "size", ",", "gen_int_mode", "(", "~", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "byte_mode_size", ",", "size", ")", ";", "emit_cmp_and_jump_insns", "(", "size_for_word", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "", ",", "word_mode_end_label", ")", ";", "word_mode_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "itr", ",", "size_for_word", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "byte_mode_size_tmp", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "size", ",", "GEN_INT", "(", "", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "byte_mode_size", ",", "byte_mode_size_tmp", ")", ";", "emit_label", "(", "word_mode_label", ")", ";", "emit_insn", "(", "gen_unaligned_store_update_base_w", "(", "itr", ",", "itr", ",", "value", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "word_mode_end", ",", "itr", ",", "NE", ",", "NULL", ",", "Pmode", ",", "", ",", "word_mode_label", ")", ";", "emit_label", "(", "word_mode_end_label", ")", ";", "return", "byte_mode_size", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation5", "Func": "emit_setmem_word_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242171, "Length": 156, "Cover_Rate": 0.78} {"Template_token": ["", "if", "(", "!", "optimize_size", "&&", "optimize", ">", "", ")", "return", "nds32_expand_movmemsi_loop", "(", "dstmem", ",", "srcmem", ",", "total_bytes", ",", "alignment", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242172, "Length": 24, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "bool", "nds32_expand_movmemsi", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "total_bytes", ",", "rtx", "alignment", ")", "{", "if", "(", "nds32_expand_movmemsi_unroll", "(", "dstmem", ",", "srcmem", ",", "total_bytes", ",", "alignment", ")", ")", "return", "true", ";"], "ground_truth": ["if", "(", "!", "optimize_size", "&&", "optimize", ">", "", ")", "return", "nds32_expand_movmemsi_loop", "(", "dstmem", ",", "srcmem", ",", "total_bytes", ",", "alignment", ")", ";"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242173, "Length": 53, "Cover_Rate": 0.9298245614035088} {"Template_token": ["", "if", "(", "CONST_INT_P", "(", "size", ")", ")", "return", "nds32_expand_movmemsi_loop_known_size", "(", "dstmem", ",", "srcmem", ",", "size", ",", "alignment", ")", ";", "else", "return", "nds32_expand_movmemsi_loop_unknown_size", "(", "dstmem", ",", "srcmem", ",", "size", ",", "alignment", ")", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242174, "Length": 33, "Cover_Rate": 0.66} {"Template_token": ["", "if", "(", "CONST_INT_P", "(", "size", ")", ")", "return", "nds32_expand_movmemsi_loop_known_size", "(", "dstmem", ",", "srcmem", ",", "size", ",", "alignment", ")", ";"], "ground_truth": ["else", "return", "nds32_expand_movmemsi_loop_unknown_size", "(", "dstmem", ",", "srcmem", ",", "size", ",", "alignment", ")", ";"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242175, "Length": 32, "Cover_Rate": 0.64} {"Template_token": ["", "return", "nds32_expand_movmemsi_loop_unknown_size", "(", "dstmem", ",", "srcmem", ",", "size", ",", "alignment", ")", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi_loop_known_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242176, "Length": 13, "Cover_Rate": 0.43333333333333335} {"Template_token": ["", "static", "bool", "nds32_expand_movmemsi_loop_unknown_size", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "size", ",", "rtx", "alignment", ")", "{", "rtx", "dst_base_reg", ",", "src_base_reg", ";", "rtx", "dst_itr", ",", "src_itr", ";", "rtx", "dstmem_m", ",", "srcmem_m", ",", "dst_itr_m", ",", "src_itr_m", ";", "rtx", "dst_end", ";", "rtx", "size_least_3_bit", ";", "rtx", "double_word_end", ";", "rtx", "double_word_mode_loop", ",", "byte_mode_entry", ",", "byte_mode_loop", ",", "end_label", ";", "rtx", "tmp", ";", "rtx", "mask_least_3_bit", ";", "int", "start_regno", ";", "bool", "align_to_4_bytes", "=", "(", "INTVAL", "(", "alignment", ")", "&", "", ")", "==", "", ";", "if", "(", "TARGET_ISA_V3M", "&&", "!", "align_to_4_bytes", ")", "return", "", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "start_regno", "=", "", ";", "else", "start_regno", "=", "", ";", "dst_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "src_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dst_end", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "mask_least_3_bit", "=", "GEN_INT", "(", "~", "", ")", ";", "double_word_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_entry", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "end_label", "=", "gen_label_rtx", "(", ")", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";", "size_least_3_bit", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "size", ",", "mask_least_3_bit", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_cmp_and_jump_insns", "(", "size_least_3_bit", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "", ",", "byte_mode_entry", ")", ";", "double_word_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size_least_3_bit", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";"], "ground_truth": ["emit_label", "(", "double_word_mode_loop", ")", ";"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi_loop_unknown_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242178, "Length": 281, "Cover_Rate": 0.6627358490566038} {"Template_token": ["", "static", "bool", "nds32_expand_movmemsi_unroll", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "total_bytes", ",", "rtx", "alignment", ")", "{", "rtx", "dst_base_reg", ",", "src_base_reg", ";", "rtx", "tmp_reg", ";", "int", "maximum_bytes", ";", "int", "maximum_bytes_per_inst", ";", "int", "maximum_regs", ";", "int", "start_regno", ";", "int", "i", ",", "inst_num", ";", "HOST_WIDE_INT", "remain_bytes", ",", "remain_words", ";", "bool", "align_to_4_bytes", "=", "(", "INTVAL", "(", "alignment", ")", "&", "", ")", "==", "", ";", "bool", "align_to_2_bytes", "=", "(", "INTVAL", "(", "alignment", ")", "&", "", ")", "==", "", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "maximum_regs", "=", "", ";", "maximum_bytes", "=", "", ";", "start_regno", "=", "", ";", "}", "else", "{", "maximum_regs", "=", "", ";", "maximum_bytes", "=", "", ";", "start_regno", "=", "", ";", "}", "maximum_bytes_per_inst", "=", "maximum_regs", "*", "UNITS_PER_WORD", ";", "if", "(", "GET_CODE", "(", "total_bytes", ")", "!=", "CONST_INT", "||", "GET_CODE", "(", "alignment", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "total_bytes", ")", ">", "maximum_bytes", "||", "MEM_VOLATILE_P", "(", "dstmem", ")", "||", "MEM_VOLATILE_P", "(", "srcmem", ")", "||", "(", "TARGET_ISA_V3M", "&&", "!", "align_to_4_bytes", ")", ")", "return", "false", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";", "remain_bytes", "=", "INTVAL", "(", "total_bytes", ")", ";", "inst_num", "=", "(", "(", "INTVAL", "(", "total_bytes", ")", "+", "(", "maximum_bytes_per_inst", "-", "", ")", ")", "/", "maximum_bytes_per_inst", ")", "-", "", ";", "for", "(", "i", "=", "", ";", "i", "<", "inst_num", ";", "i", "++", ")", "{", "nds32_emit_mem_move_block", "(", "start_regno", ",", "maximum_regs", ",", "&", "dst_base_reg", ",", "&", "dstmem", ",", "&", "src_base_reg", ",", "&", "srcmem", ",", "true", ")", ";", "}", "remain_bytes", "-=", "maximum_bytes_per_inst", "*", "inst_num", ";", "remain_words", "=", "remain_bytes", "/", "UNITS_PER_WORD", ";", "remain_bytes", "=", "remain_bytes", "-", "(", "remain_words", "*", "UNITS_PER_WORD", ")", ";", "if", "(", "remain_words", "!=", "", ")", "{", "if", "(", "remain_bytes", "!=", "", ")", "nds32_emit_mem_move_block", "(", "start_regno", ",", "remain_words", ",", "&", "dst_base_reg", ",", "&", "dstmem", ",", "&", "src_base_reg", ",", "&", "srcmem", ",", "true", ")", ";", "else", "{", "if", "(", "remain_words", "==", "", ")", "{", "if", "(", "align_to_4_bytes", ")", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "SImode", ",", "", ")", ";", "else", "{", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_unaligned_load_w", "(", "tmp_reg", ",", "gen_rtx_MEM", "(", "SImode", ",", "src_base_reg", ")", ")", ")", ";", "emit_insn", "(", "gen_unaligned_store_w", "(", "gen_rtx_MEM", "(", "SImode", ",", "dst_base_reg", ")", ",", "tmp_reg", ")", ")", ";", "}", "}", "else", "nds32_emit_mem_move_block", "(", "start_regno", ",", "remain_words", ",", "&", "dst_base_reg", ",", "&", "dstmem", ",", "&", "src_base_reg", ",", "&", "srcmem", ",", "false", ")", ";", "}", "}", "switch", "(", "remain_bytes", ")", "{", "case", "", ":", "case", "", ":", "{", "if", "(", "align_to_2_bytes", ")", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "HImode", ",", "", ")", ";", "else", "{", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "QImode", ",", "", ")", ";", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "QImode", ",", "", ")", ";", "}", "if", "(", "remain_bytes", "==", "", ")", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "QImode", ",", "", ")", ";", "break", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_movmemsi_unroll", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242179, "Length": 466, "Cover_Rate": 0.9357429718875502} {"Template_token": ["", "rtx", "value4word", ";", "rtx", "value4byte", ";", "rtx", "dst", ";", "rtx", "byte_mode_size", ";", "dst", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "value4word", "=", "nds32_gen_dup_4_byte_to_word_value", "(", "value", ")", ";", "byte_mode_size", "=", "emit_setmem_word_loop", "(", "dst", ",", "size", ",", "value4word", ")", ";", "value4byte", "=", "simplify_gen_subreg", "(", "QImode", ",", "value4word", ",", "SImode", ",", "subreg_lowpart_offset", "(", "QImode", ",", "SImode", ")", ")", ";"], "ground_truth": ["emit_setmem_byte_loop", "(", "dst", ",", "byte_mode_size", ",", "value4byte", ",", "false", ")", ";"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_setmem_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242180, "Length": 73, "Cover_Rate": 0.8021978021978022} {"Template_token": ["", "byte_mode_size", "=", "emit_setmem_word_loop", "(", "dst", ",", "size", ",", "value4word", ")", ";", "value4byte", "=", "simplify_gen_subreg", "(", "QImode", ",", "value4word", ",", "SImode", ",", "subreg_lowpart_offset", "(", "QImode", ",", "SImode", ")", ")", ";", "emit_setmem_byte_loop", "(", "dst", ",", "byte_mode_size", ",", "value4byte", ",", "false", ")", ";"], "ground_truth": ["return", "true", ";"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_setmem_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242181, "Length": 43, "Cover_Rate": 0.4725274725274725} {"Template_token": ["", "rtx", "last_2_bit", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "byte_loop_base", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "byte_loop_size", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "remain_size", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "new_base_reg", ";", "rtx", "value4byte", ",", "value4word", ";", "rtx", "byte_mode_size", ";", "rtx", "last_byte_loop_label", "=", "gen_label_rtx", "(", ")", ";", "size", "=", "force_reg", "(", "SImode", ",", "size", ")", ";", "value4word", "=", "nds32_gen_dup_4_byte_to_word_value", "(", "value", ")", ";", "value4byte", "=", "simplify_gen_subreg", "(", "QImode", ",", "value4word", ",", "SImode", ",", "", ")", ";", "emit_move_insn", "(", "byte_loop_size", ",", "size", ")", ";", "emit_move_insn", "(", "byte_loop_base", ",", "base_reg", ")", ";", "emit_cmp_and_jump_insns", "(", "size", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "LE", ",", "NULL", ",", "SImode", ",", "", ",", "last_byte_loop_label", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "last_2_bit", ",", "base_reg", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ")", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "need_align_bytes", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "last_2_bit", ")", ")", ";", "new_base_reg", "=", "emit_setmem_byte_loop", "(", "base_reg", ",", "need_align_bytes", ",", "value4byte", ",", "true", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "remain_size", ",", "size", ",", "need_align_bytes", ")", ")", ";", "byte_mode_size", "=", "emit_setmem_word_loop", "(", "new_base_reg", ",", "remain_size", ",", "value4word", ")", ";", "emit_move_insn", "(", "byte_loop_base", ",", "new_base_reg", ")", ";", "emit_move_insn", "(", "byte_loop_size", ",", "byte_mode_size", ")", ";"], "ground_truth": ["emit_label", "(", "last_byte_loop_label", ")", ";"], "File": "nds32-memory-manipulation5", "Func": "nds32_expand_setmem_loop_v3m", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242182, "Length": 204, "Cover_Rate": 0.796875} {"Template_token": ["", "}", "else", "{", "rtx", "tmp1", ",", "tmp2", ",", "tmp3", ",", "tmp4", ",", "final_value", ";", "tmp1", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "value", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp2", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "tmp1", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp3", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "tmp1", ",", "tmp2", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp4", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "tmp3", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "final_value", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "tmp3", ",", "tmp4", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "value4word", ",", "final_value", ")", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation5", "Func": "nds32_gen_dup_4_byte_to_word_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242183, "Length": 132, "Cover_Rate": 0.5892857142857143} {"Template_token": ["", "emit_move_insn", "(", "value4word", ",", "new_val", ")", ";", "}", "else", "{", "rtx", "tmp1", ",", "tmp2", ",", "tmp3", ",", "tmp4", ",", "final_value", ";", "tmp1", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "value", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp2", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "tmp1", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp3", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "tmp1", ",", "tmp2", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp4", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "tmp3", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";"], "ground_truth": ["final_value", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "tmp3", ",", "tmp4", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";"], "File": "nds32-memory-manipulation5", "Func": "nds32_gen_dup_4_byte_to_word_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242184, "Length": 131, "Cover_Rate": 0.5848214285714286} {"Template_token": ["", "src_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";", "if", "(", "total_bytes", "<", "", ")", "{", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_label", "(", "byte_mode_loop", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "src_itr", ",", "QImode", ",", "true", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "dst_itr", ",", "QImode", ",", "false", ")", ";", "emit_cmp_and_jump_insns", "(", "dst_itr", ",", "dst_end", ",", "NE", ",", "NULL", ",", "SImode", ",", "", ",", "byte_mode_loop", ")", ";", "return", "true", ";", "}", "else", "if", "(", "total_bytes", "%", "", "==", "", ")", "{", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_label", "(", "double_word_mode_loop", ")", ";", "src_itr_m", "=", "src_itr", ";", "dst_itr_m", "=", "dst_itr", ";", "srcmem_m", "=", "srcmem", ";", "dstmem_m", "=", "dstmem", ";"], "ground_truth": ["nds32_emit_mem_move_block", "(", "start_regno", ",", "", ",", "&", "dst_itr_m", ",", "&", "dstmem_m", ",", "&", "src_itr_m", ",", "&", "srcmem_m", ",", "true", ")", ";"], "File": "nds32-memory-manipulation6", "Func": "nds32_expand_movmemsi_loop_known_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242185, "Length": 187, "Cover_Rate": 0.48195876288659795} {"Template_token": ["", "rtx", "end_label", "=", "gen_label_rtx", "(", ")", ";", "value", "=", "force_reg", "(", "QImode", ",", "value", ")", ";", "if", "(", "need_end", ")", "end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "itr", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_cmp_and_jump_insns", "(", "size", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "", ",", "end_label", ")", ";", "if", "(", "!", "need_end", ")", "end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "itr", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_label", "(", "byte_mode_label", ")", ";", "nds32_emit_post_inc_load_store", "(", "value", ",", "itr", ",", "QImode", ",", "false", ")", ";", "emit_cmp_and_jump_insns", "(", "end", ",", "itr", ",", "NE", ",", "NULL", ",", "Pmode", ",", "", ",", "byte_mode_label", ")", ";"], "ground_truth": ["emit_label", "(", "end_label", ")", ";"], "File": "nds32-memory-manipulation", "Func": "emit_setmem_byte_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242186, "Length": 118, "Cover_Rate": 0.7283950617283951} {"Template_token": ["", "rtx", "end_label", "=", "gen_label_rtx", "(", ")", ";", "value", "=", "force_reg", "(", "QImode", ",", "value", ")", ";", "if", "(", "need_end", ")", "end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "itr", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_cmp_and_jump_insns", "(", "size", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "", ",", "end_label", ")", ";", "if", "(", "!", "need_end", ")", "end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "itr", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_label", "(", "byte_mode_label", ")", ";"], "ground_truth": ["nds32_emit_post_inc_load_store", "(", "value", ",", "itr", ",", "QImode", ",", "false", ")", ";"], "File": "nds32-memory-manipulation", "Func": "emit_setmem_byte_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242187, "Length": 96, "Cover_Rate": 0.5925925925925926} {"Template_token": ["", "byte_mode_size_tmp", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "size", ",", "GEN_INT", "(", "", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "byte_mode_size", ",", "byte_mode_size_tmp", ")", ";", "emit_label", "(", "word_mode_label", ")", ";", "emit_insn", "(", "gen_unaligned_store_update_base_dw", "(", "itr", ",", "itr", ",", "value", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "word_mode_end", ",", "itr", ",", "NE", ",", "NULL", ",", "Pmode", ",", "", ",", "word_mode_label", ")", ";", "emit_label", "(", "word_mode_end_label", ")", ";", "return", "byte_mode_size", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation", "Func": "emit_setmem_doubleword_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242188, "Length": 72, "Cover_Rate": 0.36} {"Template_token": ["", "static", "void", "nds32_emit_load_store", "(", "rtx", "reg", ",", "rtx", "mem", ",", "enum", "machine_mode", "mode", ",", "int", "offset", ",", "bool", "load_p", ")", "{", "rtx", "new_mem", ";", "new_mem", "=", "adjust_address", "(", "mem", ",", "mode", ",", "offset", ")", ";", "if", "(", "load_p", ")", "emit_move_insn", "(", "reg", ",", "new_mem", ")", ";"], "ground_truth": ["else", "emit_move_insn", "(", "new_mem", ",", "reg", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_emit_load_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242189, "Length": 54, "Cover_Rate": 0.9818181818181818} {"Template_token": ["", "gcc_assert", "(", "MEM_P", "(", "src", ")", "&&", "MEM_P", "(", "dst", ")", ")", ";", "rtx", "tmp_reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "nds32_emit_load_store", "(", "tmp_reg", ",", "src", ",", "mode", ",", "addr_offset", ",", "true", ")", ";"], "ground_truth": ["nds32_emit_load_store", "(", "tmp_reg", ",", "dst", ",", "mode", ",", "addr_offset", ",", "false", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_emit_mem_move", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242191, "Length": 47, "Cover_Rate": 0.7121212121212122} {"Template_token": ["", "static", "void", "nds32_emit_mem_move", "(", "rtx", "src", ",", "rtx", "dst", ",", "enum", "machine_mode", "mode", ",", "int", "addr_offset", ")", "{", "gcc_assert", "(", "MEM_P", "(", "src", ")", "&&", "MEM_P", "(", "dst", ")", ")", ";", "rtx", "tmp_reg", "=", "gen_reg_rtx", "(", "mode", ")", ";", "nds32_emit_load_store", "(", "tmp_reg", ",", "src", ",", "mode", ",", "addr_offset", ",", "true", ")", ";"], "ground_truth": ["nds32_emit_load_store", "(", "tmp_reg", ",", "dst", ",", "mode", ",", "addr_offset", ",", "false", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_emit_mem_move", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242192, "Length": 65, "Cover_Rate": 0.9848484848484849} {"Template_token": ["", "emit_insn", "(", "nds32_expand_store_multiple", "(", "base_regno", ",", "count", ",", "*", "dst_base_reg", ",", "*", "dst_mem", ",", "update_base_reg_p", ",", "&", "new_base_reg", ")", ")", ";", "if", "(", "update_base_reg_p", ")", "{", "*", "dst_base_reg", "=", "new_base_reg", ";"], "ground_truth": ["*", "dst_mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "*", "dst_base_reg", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_emit_mem_move_block", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242193, "Length": 42, "Cover_Rate": 0.35} {"Template_token": ["", "if", "(", "update_base_reg_p", ")", "{", "*", "src_base_reg", "=", "new_base_reg", ";", "*", "src_mem", "=", "gen_rtx_MEM", "(", "SImode", ",", "*", "src_base_reg", ")", ";", "}", "emit_insn", "(", "nds32_expand_store_multiple", "(", "base_regno", ",", "count", ",", "*", "dst_base_reg", ",", "*", "dst_mem", ",", "update_base_reg_p", ",", "&", "new_base_reg", ")", ")", ";"], "ground_truth": ["if", "(", "update_base_reg_p", ")", "{"], "File": "nds32-memory-manipulation", "Func": "nds32_emit_mem_move_block", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242194, "Length": 48, "Cover_Rate": 0.4} {"Template_token": ["", "else", "emit_move_insn", "(", "gen_rtx_MEM", "(", "mode", ",", "base_reg", ")", ",", "reg", ")", ";", "emit_move_insn", "(", "base_reg", ",", "plus_constant", "(", "Pmode", ",", "base_reg", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation", "Func": "nds32_emit_post_inc_load_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242195, "Length": 31, "Cover_Rate": 0.36470588235294116} {"Template_token": ["", "gcc_assert", "(", "GET_MODE", "(", "reg", ")", "==", "mode", ")", ";", "gcc_assert", "(", "GET_MODE", "(", "base_reg", ")", "==", "Pmode", ")", ";", "if", "(", "load_p", ")", "emit_move_insn", "(", "reg", ",", "gen_rtx_MEM", "(", "mode", ",", "base_reg", ")", ")", ";", "else", "emit_move_insn", "(", "gen_rtx_MEM", "(", "mode", ",", "base_reg", ")", ",", "reg", ")", ";"], "ground_truth": ["emit_move_insn", "(", "base_reg", ",", "plus_constant", "(", "Pmode", ",", "base_reg", ",", "GET_MODE_SIZE", "(", "mode", ")", ")", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_emit_post_inc_load_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242196, "Length": 66, "Cover_Rate": 0.7764705882352941} {"Template_token": ["", "static", "bool", "nds32_expand_cpymemsi_loop", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "size", ",", "rtx", "alignment", ")", "{"], "ground_truth": ["if", "(", "CONST_INT_P", "(", "size", ")", ")", "return", "nds32_expand_cpymemsi_loop_known_size", "(", "dstmem", ",", "srcmem", ",", "size", ",", "alignment", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_cpymemsi_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242199, "Length": 36, "Cover_Rate": 0.72} {"Template_token": ["", "rtx", "dst_itr", ",", "src_itr", ";", "rtx", "dstmem_m", ",", "srcmem_m", ",", "dst_itr_m", ",", "src_itr_m", ";", "rtx", "dst_end", ";", "rtx", "double_word_mode_loop", ",", "byte_mode_loop", ";", "rtx", "tmp", ";", "int", "start_regno", ";", "bool", "align_to_4_bytes", "=", "(", "INTVAL", "(", "alignment", ")", "&", "", ")", "==", "", ";", "unsigned", "HOST_WIDE_INT", "total_bytes", "=", "UINTVAL", "(", "size", ")", ";", "if", "(", "TARGET_ISA_V3M", "&&", "!", "align_to_4_bytes", ")", "return", "", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "start_regno", "=", "", ";", "else", "start_regno", "=", "", ";", "dst_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "src_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dst_end", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "double_word_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";", "if", "(", "total_bytes", "<", "", ")", "{", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_label", "(", "byte_mode_loop", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "src_itr", ",", "QImode", ",", "true", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "dst_itr", ",", "QImode", ",", "false", ")", ";", "emit_cmp_and_jump_insns", "(", "dst_itr", ",", "dst_end", ",", "NE", ",", "NULL", ",", "SImode", ",", "", ",", "byte_mode_loop", ")", ";", "return", "true", ";", "}", "else", "if", "(", "total_bytes", "%", "", "==", "", ")", "{", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_label", "(", "double_word_mode_loop", ")", ";", "src_itr_m", "=", "src_itr", ";", "dst_itr_m", "=", "dst_itr", ";", "srcmem_m", "=", "srcmem", ";", "dstmem_m", "=", "dstmem", ";"], "ground_truth": ["nds32_emit_mem_move_block", "(", "start_regno", ",", "", ",", "&", "dst_itr_m", ",", "&", "dstmem_m", ",", "&", "src_itr_m", ",", "&", "srcmem_m", ",", "true", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_cpymemsi_loop_known_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242200, "Length": 315, "Cover_Rate": 0.8118556701030928} {"Template_token": ["", "else", "start_regno", "=", "", ";", "dst_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "src_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dst_end", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "double_word_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";", "if", "(", "total_bytes", "<", "", ")", "{", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_label", "(", "byte_mode_loop", ")", ";", "nds32_emit_post_inc_load_store", "(", "tmp", ",", "src_itr", ",", "QImode", ",", "true", ")", ";"], "ground_truth": ["nds32_emit_post_inc_load_store", "(", "tmp", ",", "dst_itr", ",", "QImode", ",", "false", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_cpymemsi_loop_known_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242201, "Length": 140, "Cover_Rate": 0.36082474226804123} {"Template_token": ["", "int", "start_regno", ";", "bool", "align_to_4_bytes", "=", "(", "INTVAL", "(", "alignment", ")", "&", "", ")", "==", "", ";", "if", "(", "TARGET_ISA_V3M", "&&", "!", "align_to_4_bytes", ")", "return", "", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "start_regno", "=", "", ";", "else", "start_regno", "=", "", ";", "dst_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "src_itr", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "dst_end", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "QImode", ")", ";", "mask_least_3_bit", "=", "GEN_INT", "(", "~", "", ")", ";", "double_word_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_entry", "=", "gen_label_rtx", "(", ")", ";", "byte_mode_loop", "=", "gen_label_rtx", "(", ")", ";", "end_label", "=", "gen_label_rtx", "(", ")", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "src_base_reg", "=", "copy_to_mode_reg", "(", "Pmode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";", "size_least_3_bit", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "size", ",", "mask_least_3_bit", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "dst_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_move_insn", "(", "dst_itr", ",", "dst_base_reg", ")", ";", "emit_move_insn", "(", "src_itr", ",", "src_base_reg", ")", ";", "emit_cmp_and_jump_insns", "(", "size_least_3_bit", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "", ",", "byte_mode_entry", ")", ";", "double_word_end", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "dst_base_reg", ",", "size_least_3_bit", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_label", "(", "double_word_mode_loop", ")", ";", "src_itr_m", "=", "src_itr", ";", "dst_itr_m", "=", "dst_itr", ";"], "ground_truth": ["srcmem_m", "=", "srcmem", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_cpymemsi_loop_unknown_size", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242202, "Length": 233, "Cover_Rate": 0.5495283018867925} {"Template_token": ["", "src_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "srcmem", ",", "", ")", ")", ";", "remain_bytes", "=", "INTVAL", "(", "total_bytes", ")", ";", "inst_num", "=", "(", "(", "INTVAL", "(", "total_bytes", ")", "+", "(", "maximum_bytes_per_inst", "-", "", ")", ")", "/", "maximum_bytes_per_inst", ")", "-", "", ";", "for", "(", "i", "=", "", ";", "i", "<", "inst_num", ";", "i", "++", ")", "{", "nds32_emit_mem_move_block", "(", "start_regno", ",", "maximum_regs", ",", "&", "dst_base_reg", ",", "&", "dstmem", ",", "&", "src_base_reg", ",", "&", "srcmem", ",", "true", ")", ";", "}", "remain_bytes", "-=", "maximum_bytes_per_inst", "*", "inst_num", ";", "remain_words", "=", "remain_bytes", "/", "UNITS_PER_WORD", ";", "remain_bytes", "=", "remain_bytes", "-", "(", "remain_words", "*", "UNITS_PER_WORD", ")", ";", "if", "(", "remain_words", "!=", "", ")", "{", "if", "(", "remain_bytes", "!=", "", ")", "nds32_emit_mem_move_block", "(", "start_regno", ",", "remain_words", ",", "&", "dst_base_reg", ",", "&", "dstmem", ",", "&", "src_base_reg", ",", "&", "srcmem", ",", "true", ")", ";", "else", "{", "if", "(", "remain_words", "==", "", ")", "{", "if", "(", "align_to_4_bytes", ")", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "SImode", ",", "", ")", ";", "else", "{", "tmp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_unaligned_load_w", "(", "tmp_reg", ",", "gen_rtx_MEM", "(", "SImode", ",", "src_base_reg", ")", ")", ")", ";", "emit_insn", "(", "gen_unaligned_store_w", "(", "gen_rtx_MEM", "(", "SImode", ",", "dst_base_reg", ")", ",", "tmp_reg", ")", ")", ";", "}", "}", "else", "nds32_emit_mem_move_block", "(", "start_regno", ",", "remain_words", ",", "&", "dst_base_reg", ",", "&", "dstmem", ",", "&", "src_base_reg", ",", "&", "srcmem", ",", "false", ")", ";", "}", "}", "switch", "(", "remain_bytes", ")", "{", "case", "", ":", "case", "", ":", "{", "if", "(", "align_to_2_bytes", ")", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "HImode", ",", "", ")", ";", "else", "{", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "QImode", ",", "", ")", ";", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "QImode", ",", "", ")", ";", "}", "if", "(", "remain_bytes", "==", "", ")", "nds32_emit_mem_move", "(", "srcmem", ",", "dstmem", ",", "QImode", ",", "", ")", ";", "break", ";", "}"], "ground_truth": ["case", "", ":"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_cpymemsi_unroll", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242203, "Length": 298, "Cover_Rate": 0.5983935742971888} {"Template_token": ["", "*", "update_base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "return", "gen_unaligned_load_update_base_w", "(", "*", "update_base_reg", ",", "reg", ",", "base_addr", ")", ";", "}", "else", "return", "gen_unaligned_load_w", "(", "reg", ",", "gen_rtx_MEM", "(", "SImode", ",", "base_addr", ")", ")", ";", "}", "if", "(", "update_base_reg_p", ")", "{", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", "+", "", ")", ")", ";", "start_idx", "=", "", ";", "}", "else", "{", "result", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "count", ")", ")", ";", "start_idx", "=", "", ";", "}", "if", "(", "update_base_reg_p", ")", "{", "offset", "=", "count", "*", "", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "*", "update_base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "XVECEXP", "(", "result", ",", "", ",", "", ")", "=", "gen_rtx_SET", "(", "*", "update_base_reg", ",", "new_addr", ")", ";", "}", "for", "(", "par_index", "=", "", ";", "par_index", "<", "count", ";", "par_index", "++", ")", "{", "offset", "=", "par_index", "*", "", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";", "XVECEXP", "(", "result", ",", "", ",", "(", "par_index", "+", "start_idx", ")", ")", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "}", "return", "result", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_load_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242204, "Length": 206, "Cover_Rate": 0.7657992565055762} {"Template_token": ["", "if", "(", "optimize_size", "||", "optimize", "<", "", ")", "return", "false", ";", "if", "(", "TARGET_ISA_V3M", "&&", "!", "align_to_4_bytes", ")", "return", "nds32_expand_setmem_loop_v3m", "(", "dstmem", ",", "size", ",", "value", ")", ";"], "ground_truth": ["if", "(", "nds32_expand_setmem_unroll", "(", "dstmem", ",", "size", ",", "value", ",", "align", ",", "expected_align", ",", "expected_size", ")", ")", "return", "true", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_setmem", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242205, "Length": 48, "Cover_Rate": 0.5052631578947369} {"Template_token": ["", "if", "(", "nds32_expand_setmem_unroll", "(", "dstmem", ",", "size", ",", "value", ",", "align", ",", "expected_align", ",", "expected_size", ")", ")", "return", "true", ";"], "ground_truth": ["return", "nds32_expand_setmem_loop", "(", "dstmem", ",", "size", ",", "value", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_setmem", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242206, "Length": 30, "Cover_Rate": 0.3157894736842105} {"Template_token": ["", "rtx", "byte_mode_size", ";", "dst", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "value4doubleword", "=", "nds32_gen_dup_8_byte_to_double_word_value", "(", "value", ")", ";", "byte_mode_size", "=", "emit_setmem_doubleword_loop", "(", "dst", ",", "size", ",", "value4doubleword", ")", ";"], "ground_truth": ["value4byte", "=", "simplify_gen_subreg", "(", "QImode", ",", "value4doubleword", ",", "DImode", ",", "subreg_lowpart_offset", "(", "QImode", ",", "DImode", ")", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_setmem_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242207, "Length": 53, "Cover_Rate": 0.5824175824175825} {"Template_token": ["", "value4doubleword", "=", "nds32_gen_dup_8_byte_to_double_word_value", "(", "value", ")", ";", "byte_mode_size", "=", "emit_setmem_doubleword_loop", "(", "dst", ",", "size", ",", "value4doubleword", ")", ";", "value4byte", "=", "simplify_gen_subreg", "(", "QImode", ",", "value4doubleword", ",", "DImode", ",", "subreg_lowpart_offset", "(", "QImode", ",", "DImode", ")", ")", ";", "emit_setmem_byte_loop", "(", "dst", ",", "byte_mode_size", ",", "value4byte", ",", "false", ")", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_setmem_loop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242208, "Length": 51, "Cover_Rate": 0.5604395604395604} {"Template_token": ["", "rtx", "byte_loop_size", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "remain_size", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "rtx", "new_base_reg", ";", "rtx", "value4byte", ",", "value4doubleword", ";", "rtx", "byte_mode_size", ";", "rtx", "last_byte_loop_label", "=", "gen_label_rtx", "(", ")", ";", "size", "=", "force_reg", "(", "SImode", ",", "size", ")", ";", "value4doubleword", "=", "nds32_gen_dup_8_byte_to_double_word_value", "(", "value", ")", ";", "value4byte", "=", "simplify_gen_subreg", "(", "QImode", ",", "value4doubleword", ",", "DImode", ",", "subreg_lowpart_offset", "(", "QImode", ",", "DImode", ")", ")", ";", "emit_move_insn", "(", "byte_loop_size", ",", "size", ")", ";", "emit_move_insn", "(", "byte_loop_base", ",", "base_reg", ")", ";", "emit_cmp_and_jump_insns", "(", "size", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "LE", ",", "NULL", ",", "SImode", ",", "", ",", "last_byte_loop_label", ")", ";", "emit_insn", "(", "gen_andsi3", "(", "last_2_bit", ",", "base_reg", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ")", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "need_align_bytes", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "last_2_bit", ")", ")", ";", "new_base_reg", "=", "emit_setmem_byte_loop", "(", "base_reg", ",", "need_align_bytes", ",", "value4byte", ",", "true", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "remain_size", ",", "size", ",", "need_align_bytes", ")", ")", ";"], "ground_truth": ["byte_mode_size", "=", "emit_setmem_doubleword_loop", "(", "new_base_reg", ",", "remain_size", ",", "value4doubleword", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_setmem_loop_v3m", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242209, "Length": 174, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "unsigned", "maximum_regs", ",", "maximum_bytes", ",", "start_regno", ",", "regno", ";", "rtx", "value4word", ";", "rtx", "dst_base_reg", ",", "new_base_reg", ";", "unsigned", "HOST_WIDE_INT", "remain_bytes", ",", "remain_words", ",", "prepare_regs", ",", "fill_per_smw", ";", "unsigned", "HOST_WIDE_INT", "real_size", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "maximum_regs", "=", "", ";", "maximum_bytes", "=", "", ";", "start_regno", "=", "", ";", "}", "else", "{", "maximum_regs", "=", "", ";", "maximum_bytes", "=", "", ";", "start_regno", "=", "", ";", "}", "real_size", "=", "UINTVAL", "(", "size", ")", "&", "GET_MODE_MASK", "(", "SImode", ")", ";", "if", "(", "!", "(", "CONST_INT_P", "(", "size", ")", "&&", "real_size", "<=", "maximum_bytes", ")", ")", "return", "false", ";", "remain_bytes", "=", "real_size", ";", "gcc_assert", "(", "GET_MODE", "(", "value", ")", "==", "QImode", "||", "CONST_INT_P", "(", "value", ")", ")", ";", "value4word", "=", "nds32_gen_dup_4_byte_to_word_value", "(", "value", ")", ";", "prepare_regs", "=", "remain_bytes", "/", "UNITS_PER_WORD", ";", "dst_base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "dstmem", ",", "", ")", ")", ";", "if", "(", "prepare_regs", ">", "maximum_regs", ")", "prepare_regs", "=", "maximum_regs", ";", "fill_per_smw", "=", "prepare_regs", "*", "UNITS_PER_WORD", ";", "regno", "=", "start_regno", ";", "switch", "(", "prepare_regs", ")", "{", "case", "", ":", "default", ":", "{", "rtx", "reg0", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "rtx", "reg1", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "+", "", ")", ";", "unsigned", "last_regno", "=", "start_regno", "+", "prepare_regs", "-", "", ";", "emit_move_insn", "(", "reg0", ",", "value4word", ")", ";", "emit_move_insn", "(", "reg1", ",", "value4word", ")", ";", "rtx", "regd", "=", "gen_rtx_REG", "(", "DImode", ",", "regno", ")", ";", "regno", "+=", "", ";", "while", "(", "regno", "<=", "last_regno", ")", "{", "if", "(", "(", "regno", "+", "", ")", "<=", "last_regno", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "DImode", ",", "regno", ")", ";", "emit_move_insn", "(", "reg", ",", "regd", ")", ";", "regno", "+=", "", ";", "}", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "emit_move_insn", "(", "reg", ",", "reg0", ")", ";", "regno", "+=", "", ";", "}", "}", "break", ";", "}", "case", "", ":", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", "++", ")", ";", "emit_move_insn", "(", "reg", ",", "value4word", ")", ";", "}", "break", ";", "case", "", ":", "break", ";", "}", "if", "(", "fill_per_smw", ")", "for", "(", ";", "remain_bytes", ">=", "fill_per_smw", ";", "remain_bytes", "-=", "fill_per_smw", ")", "{", "emit_insn", "(", "nds32_expand_store_multiple", "(", "start_regno", ",", "prepare_regs", ",", "dst_base_reg", ",", "dstmem", ",", "true", ",", "&", "new_base_reg", ")", ")", ";", "dst_base_reg", "=", "new_base_reg", ";", "dstmem", "=", "gen_rtx_MEM", "(", "SImode", ",", "dst_base_reg", ")", ";", "}", "remain_words", "=", "remain_bytes", "/", "UNITS_PER_WORD", ";", "if", "(", "remain_words", ")", "{", "emit_insn", "(", "nds32_expand_store_multiple", "(", "start_regno", ",", "remain_words", ",", "dst_base_reg", ",", "dstmem", ",", "true", ",", "&", "new_base_reg", ")", ")", ";", "dst_base_reg", "=", "new_base_reg", ";"], "ground_truth": ["dstmem", "=", "gen_rtx_MEM", "(", "SImode", ",", "dst_base_reg", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_setmem_unroll", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242210, "Length": 420, "Cover_Rate": 0.813953488372093} {"Template_token": ["", "}", "if", "(", "update_base_reg_p", ")", "{", "offset", "=", "count", "*", "", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "*", "update_base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "XVECEXP", "(", "result", ",", "", ",", "", ")", "=", "gen_rtx_SET", "(", "*", "update_base_reg", ",", "new_addr", ")", ";", "}", "for", "(", "par_index", "=", "", ";", "par_index", "<", "count", ";", "par_index", "++", ")", "{", "offset", "=", "par_index", "*", "", ";", "new_addr", "=", "plus_constant", "(", "Pmode", ",", "base_addr", ",", "offset", ")", ";", "mem", "=", "adjust_automodify_address_nv", "(", "basemem", ",", "SImode", ",", "new_addr", ",", "offset", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "base_regno", "+", "par_index", ")", ";", "XVECEXP", "(", "result", ",", "", ",", "par_index", "+", "start_idx", ")", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "}", "return", "result", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_store_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242211, "Length": 127, "Cover_Rate": 0.4756554307116105} {"Template_token": ["", "emit_insn", "(", "gen_unspec_ffb", "(", "ffb_result", ",", "tmp", ",", "target_char", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "ffb_result", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "", ",", "loop_label", ")", ";", "target_char_ptr", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "base_reg", ",", "ffb_result", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "length", "=", "expand_binop", "(", "Pmode", ",", "sub_optab", ",", "target_char_ptr", ",", "backup_base_reg", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";"], "ground_truth": ["emit_move_insn", "(", "result", ",", "length", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_strlen", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242212, "Length": 74, "Cover_Rate": 0.3523809523809524} {"Template_token": ["", "rtx", "loop_label", ",", "tmp", ";", "if", "(", "optimize_size", "||", "optimize", "<", "", ")", "return", "false", ";", "gcc_assert", "(", "MEM_P", "(", "str", ")", ")", ";", "gcc_assert", "(", "CONST_INT_P", "(", "target_char", ")", "||", "REG_P", "(", "target_char", ")", ")", ";", "base_reg", "=", "copy_to_mode_reg", "(", "SImode", ",", "XEXP", "(", "str", ",", "", ")", ")", ";", "loop_label", "=", "gen_label_rtx", "(", ")", ";", "ffb_result", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "backup_base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_move_insn", "(", "backup_base_reg", ",", "base_reg", ")", ";", "emit_label", "(", "loop_label", ")", ";", "emit_insn", "(", "gen_unaligned_load_update_base_w", "(", "base_reg", ",", "tmp", ",", "base_reg", ")", ")", ";", "emit_insn", "(", "gen_unspec_ffb", "(", "ffb_result", ",", "tmp", ",", "target_char", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "ffb_result", ",", "const0_rtx", ",", "EQ", ",", "NULL", ",", "SImode", ",", "", ",", "loop_label", ")", ";", "target_char_ptr", "=", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "base_reg", ",", "ffb_result", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "length", "=", "expand_binop", "(", "Pmode", ",", "sub_optab", ",", "target_char_ptr", ",", "backup_base_reg", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";"], "ground_truth": ["emit_move_insn", "(", "result", ",", "length", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_expand_strlen", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242213, "Length": 176, "Cover_Rate": 0.8380952380952381} {"Template_token": ["", "rtx", "value4word", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "nds32_gen_dup_4_byte_to_word_value_aux", "(", "value", ",", "value4word", ")", ";", "return", "value4word", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation", "Func": "nds32_gen_dup_4_byte_to_word_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242214, "Length": 19, "Cover_Rate": 0.7037037037037037} {"Template_token": ["", "emit_move_insn", "(", "value4word", ",", "new_val", ")", ";", "}", "else", "{", "if", "(", "NDS32_EXT_DSP_P", "(", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "convert_move", "(", "tmp", ",", "value", ",", "true", ")", ";", "emit_insn", "(", "gen_insvsi_internal", "(", "tmp", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "tmp", ")", ")", ";", "emit_insn", "(", "gen_pkbbsi_1", "(", "value4word", ",", "tmp", ",", "tmp", ")", ")", ";", "}", "else", "{", "rtx", "tmp1", ",", "tmp2", ",", "tmp3", ",", "tmp4", ";", "tmp1", "=", "expand_binop", "(", "SImode", ",", "and_optab", ",", "value", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp2", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "tmp1", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp3", "=", "expand_binop", "(", "SImode", ",", "ior_optab", ",", "tmp1", ",", "tmp2", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "tmp4", "=", "expand_binop", "(", "SImode", ",", "ashl_optab", ",", "tmp3", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "NULL_RTX", ",", "", ",", "OPTAB_WIDEN", ")", ";", "emit_insn", "(", "gen_iorsi3", "(", "value4word", ",", "tmp3", ",", "tmp4", ")", ")", ";", "}", "}", "return", "value4word", ";"], "ground_truth": ["}"], "File": "nds32-memory-manipulation", "Func": "nds32_gen_dup_4_byte_to_word_value_aux", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242215, "Length": 184, "Cover_Rate": 0.7076923076923077} {"Template_token": ["", "gcc_assert", "(", "GET_MODE", "(", "value", ")", "==", "QImode", "||", "CONST_INT_P", "(", "value", ")", ")", ";", "if", "(", "CONST_INT_P", "(", "value", ")", ")", "{", "unsigned", "HOST_WIDE_INT", "val", "=", "UINTVAL", "(", "value", ")", "&", "GET_MODE_MASK", "(", "QImode", ")", ";", "rtx", "new_val", "=", "gen_int_mode", "(", "val", "|", "(", "val", "<<", "", ")", "|", "(", "val", "<<", "", ")", "|", "(", "val", "<<", "", ")", ",", "SImode", ")", ";", "emit_move_insn", "(", "value4word", ",", "new_val", ")", ";", "}", "else", "{", "if", "(", "NDS32_EXT_DSP_P", "(", ")", ")", "{", "rtx", "tmp", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "convert_move", "(", "tmp", ",", "value", ",", "true", ")", ";", "emit_insn", "(", "gen_insvsi_internal", "(", "tmp", ",", "gen_int_mode", "(", "", ",", "SImode", ")", ",", "tmp", ")", ")", ";", "emit_insn", "(", "gen_pkbbsi_1", "(", "value4word", ",", "tmp", ",", "tmp", ")", ")", ";", "}"], "ground_truth": ["else", "{"], "File": "nds32-memory-manipulation", "Func": "nds32_gen_dup_4_byte_to_word_value_aux", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242216, "Length": 131, "Cover_Rate": 0.5038461538461538} {"Template_token": ["", "rtx", "value4doubleword", "=", "gen_reg_rtx", "(", "DImode", ")", ";", "nds32_gen_dup_4_byte_to_word_value_aux", "(", "value", ",", "nds32_di_low_part_subreg", "(", "value4doubleword", ")", ")", ";", "emit_move_insn", "(", "nds32_di_high_part_subreg", "(", "value4doubleword", ")", ",", "nds32_di_low_part_subreg", "(", "value4doubleword", ")", ")", ";"], "ground_truth": ["return", "value4doubleword", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_gen_dup_8_byte_to_double_word_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242217, "Length": 34, "Cover_Rate": 0.7906976744186046} {"Template_token": ["", "static", "rtx", "nds32_gen_dup_8_byte_to_double_word_value", "(", "rtx", "value", ")", "{", "rtx", "value4doubleword", "=", "gen_reg_rtx", "(", "DImode", ")", ";"], "ground_truth": ["nds32_gen_dup_4_byte_to_word_value_aux", "(", "value", ",", "nds32_di_low_part_subreg", "(", "value4doubleword", ")", ")", ";"], "File": "nds32-memory-manipulation", "Func": "nds32_gen_dup_8_byte_to_double_word_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242218, "Length": 26, "Cover_Rate": 0.6046511627906976} {"Template_token": ["", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "PATTERN", "(", "consumer", ")", ";", "break", ";"], "ground_truth": ["default", ":"], "File": "nds32-pipelines-auxiliary5", "Func": "n7_consumed_by_ii_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242219, "Length": 138, "Cover_Rate": 0.46621621621621623} {"Template_token": ["", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_udivmodsi4", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "extract_branch_condition_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "", ")", ";", "break", ";"], "ground_truth": ["default", ":"], "File": "nds32-pipelines-auxiliary5", "Func": "n8_consumed_by_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242220, "Length": 131, "Cover_Rate": 0.6649746192893401} {"Template_token": ["", "case", "TYPE_MUL", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_udivmodsi4", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "extract_branch_condition_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "", ")", ";", "break", ";", "default", ":"], "ground_truth": ["gcc_unreachable", "(", ")", ";"], "File": "nds32-pipelines-auxiliary5", "Func": "n8_consumed_by_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242221, "Length": 138, "Cover_Rate": 0.700507614213198} {"Template_token": ["", "if", "(", "GET_CODE", "(", "PATTERN", "(", "consumer", ")", ")", "==", "SET", ")", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "else", "return", "true", ";", "break", ";", "case", "TYPE_LOAD", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";"], "ground_truth": ["case", "TYPE_LOAD_MULTIPLE", ":"], "File": "nds32-pipelines-auxiliary5", "Func": "n9_2r1w_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242222, "Length": 127, "Cover_Rate": 0.3597733711048159} {"Template_token": ["", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "consumer", ")", "==", "CODE_FOR_udivmodsi4", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MMU", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "consumer", ")", ")", "==", "SET", ")", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "else", "return", "true", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "PATTERN", "(", "consumer", ")", ";", "break", ";", "default", ":"], "ground_truth": ["gcc_unreachable", "(", ")", ";"], "File": "nds32-pipelines-auxiliary5", "Func": "n9_3r2w_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242223, "Length": 132, "Cover_Rate": 0.6055045871559633} {"Template_token": ["", "return", "(", "e8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg1", ")", "||", "e8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "if", "(", "!", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "def_reg", "=", "extract_base_reg", "(", "producer", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "e8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary5", "Func": "nds32_e8_ex_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242224, "Length": 78, "Cover_Rate": 0.3107569721115538} {"Template_token": ["", "bool", "nds32_n8_ex_to_ii_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", ";", "switch", "(", "get_attr_type", "(", "producer", ")", ")", "{", "case", "TYPE_ALU", ":", "if", "(", "movd44_insn_p", "(", "producer", ")", ")", "def_reg", "=", "extract_movd44_odd_reg", "(", "producer", ")", ";", "else", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "producer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "producer", ")", "==", "CODE_FOR_udivmodsi4", ")", "def_reg", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "else", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":"], "ground_truth": ["if", "(", "!", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";"], "File": "nds32-pipelines-auxiliary5", "Func": "nds32_n8_ex_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242225, "Length": 138, "Cover_Rate": 0.8466257668711656} {"Template_token": ["", "case", "TYPE_ALU", ":", "if", "(", "movd44_insn_p", "(", "producer", ")", ")", "def_reg", "=", "extract_movd44_odd_reg", "(", "producer", ")", ";", "else", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "INSN_CODE", "(", "producer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "producer", ")", "==", "CODE_FOR_udivmodsi4", ")", "def_reg", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "else", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";"], "ground_truth": ["case", "TYPE_LOAD", ":"], "File": "nds32-pipelines-auxiliary5", "Func": "nds32_n8_ex_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242226, "Length": 95, "Cover_Rate": 0.5828220858895705} {"Template_token": ["", "if", "(", "INSN_CODE", "(", "producer", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "producer", ")", "==", "CODE_FOR_udivmodsi4", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "return", "(", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary5", "Func": "nds32_n9_3r2w_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242227, "Length": 61, "Cover_Rate": 0.4485294117647059} {"Template_token": ["", "}", "if", "(", "GET_CODE", "(", "reg1_1", ")", "==", "NOT", ")", "{", "if", "(", "rtx_equal_p", "(", "reg1_1", ",", "reg2_0", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg1_0", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg2_1", ")", ";", "if", "(", "rtx_equal_p", "(", "reg1_1", ",", "reg2_1", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg1_0", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg2_0", ")", ";", "}", "if", "(", "GET_CODE", "(", "reg2_0", ")", "==", "NOT", ")", "{", "if", "(", "rtx_equal_p", "(", "reg2_0", ",", "reg1_0", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg2_1", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg1_1", ")", ";"], "ground_truth": ["if", "(", "rtx_equal_p", "(", "reg2_0", ",", "reg1_1", ")", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "reg2_1", ")", "||", "reg_overlap_p", "(", "def_reg", ",", "reg1_0", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "bpick_ra_rb_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242228, "Length": 118, "Cover_Rate": 0.36645962732919257} {"Template_token": ["", "case", "TYPE_LOAD_MULTIPLE", ":", "gcc_assert", "(", "parallel_elements", "(", "insn", ")", ">=", "", ")", ";", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "", ")", "plus_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "else", "{", "mem_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "", ")", ")", ";", "if", "(", "GET_CODE", "(", "mem_rtx", ")", "==", "UNSPEC", ")", "mem_rtx", "=", "XVECEXP", "(", "mem_rtx", ",", "", ",", "", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "", ")", ";", "}", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "gcc_assert", "(", "parallel_elements", "(", "insn", ")", ">=", "", ")", ";", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "", ")", "plus_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "else", "{", "mem_rtx", "=", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "", ")", ")", ";", "if", "(", "GET_CODE", "(", "mem_rtx", ")", "==", "UNSPEC", ")", "mem_rtx", "=", "XVECEXP", "(", "mem_rtx", ",", "", ",", "", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "", ")", ";", "}", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "mem_rtx", "=", "extract_mem_rtx", "(", "insn", ")", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "mem_rtx", ",", "", ")", ")", ")", "{", "case", "POST_INC", ":", "return", "MEM_ACCESS_DIR_POS", ";", "case", "POST_DEC", ":", "return", "MEM_ACCESS_DIR_NEG", ";", "case", "PLUS", ":", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "", ")", ";", "break", ";", "case", "POST_MODIFY", ":", "plus_rtx", "=", "XEXP", "(", "XEXP", "(", "mem_rtx", ",", "", ")", ",", "", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "determine_access_direction", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242229, "Length": 264, "Cover_Rate": 0.7521367521367521} {"Template_token": ["", "return", "n8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "e8_consumed_by_addr_in_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242230, "Length": 9, "Cover_Rate": 0.45} {"Template_token": ["", "bool", "e8_consumed_by_ex_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "case", "TYPE_STORE", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":"], "ground_truth": ["case", "TYPE_DIV", ":"], "File": "nds32-pipelines-auxiliary", "Func": "e8_consumed_by_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242232, "Length": 49, "Cover_Rate": 0.620253164556962} {"Template_token": ["", "case", "PARALLEL", ":", "return", "extract_nth_lmsw_access_reg", "(", "insn", ",", "index", ")", ";", "case", "SET", ":", "return", "extract_nth_ls2_access_reg", "(", "insn", ",", "index", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_access_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242233, "Length": 29, "Cover_Rate": 0.5576923076923077} {"Template_token": ["", "rtx", "extract_nth_access_reg", "(", "rtx_insn", "*", "insn", ",", "int", "index", ")", "{", "switch", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", ")", "{"], "ground_truth": ["case", "PARALLEL", ":"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_access_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242234, "Length": 25, "Cover_Rate": 0.4807692307692308} {"Template_token": ["", "rtx", "extract_nth_access_rtx", "(", "rtx_insn", "*", "insn", ",", "int", "n", ")", "{", "int", "n_elems", "=", "parallel_elements", "(", "insn", ")", ";", "int", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "memory_access_direction", "direction", "=", "determine_access_direction", "(", "insn", ")", ";", "gcc_assert", "(", "direction", "!=", "MEM_ACCESS_DIR_UNKNOWN", ")", ";"], "ground_truth": ["if", "(", "direction", "==", "MEM_ACCESS_DIR_NEG", ")", "n", "=", "-", "", "*", "n", "-", "", ";"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_access_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242235, "Length": 57, "Cover_Rate": 0.5480769230769231} {"Template_token": ["", "memory_access_direction", "direction", "=", "determine_access_direction", "(", "insn", ")", ";", "gcc_assert", "(", "direction", "!=", "MEM_ACCESS_DIR_UNKNOWN", ")", ";", "if", "(", "direction", "==", "MEM_ACCESS_DIR_NEG", ")", "n", "=", "-", "", "*", "n", "-", "", ";", "if", "(", "post_update_rtx_index", "!=", "-", "", ")", "{", "if", "(", "n", ">=", "", "&&", "post_update_rtx_index", "<=", "n", ")", "++", "n", ";", "else", "if", "(", "n", "<", "", "&&", "post_update_rtx_index", ">=", "n", "+", "n_elems", ")", "--", "n", ";", "}"], "ground_truth": ["return", "parallel_element", "(", "insn", ",", "n", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_access_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242236, "Length": 76, "Cover_Rate": 0.7307692307692307} {"Template_token": ["", "rtx", "nth_rtx", "=", "extract_nth_access_rtx", "(", "insn", ",", "n", ")", ";", "if", "(", "nth_rtx", "==", "NULL_RTX", ")", "return", "NULL_RTX", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD_MULTIPLE", ":", "return", "SET_DEST", "(", "nth_rtx", ")", ";"], "ground_truth": ["case", "TYPE_STORE_MULTIPLE", ":"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_lmsw_access_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242237, "Length": 39, "Cover_Rate": 0.609375} {"Template_token": ["", "if", "(", "direction", "==", "MEM_ACCESS_DIR_NEG", ")", "n", "=", "-", "", "*", "n", "-", "", ";", "}", "if", "(", "n", "<", "-", "", "||", "n", ">", "", ")", "return", "NULL_RTX", ";", "if", "(", "n", "<", "", ")", "n", "=", "", "+", "n", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "reg", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "reg", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}"], "ground_truth": ["gcc_assert", "(", "REG_P", "(", "reg", ")", "||", "GET_CODE", "(", "reg", ")", "==", "SUBREG", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "extract_nth_ls2_access_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242238, "Length": 102, "Cover_Rate": 0.5125628140703518} {"Template_token": ["", "case", "TYPE_DPACK", ":", "case", "TYPE_DINSB", ":", "case", "TYPE_DCMP", ":", "case", "TYPE_DCLIP", ":", "case", "TYPE_DALUROUND", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_ALU_SHIFT", ":", "use_rtx", "=", "extract_shift_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_PBSADA", ":", "return", "pbsada_insn_ra_rb_dep_reg_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_MAC", ":", "case", "TYPE_DMAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "consumer", ")", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "", ")", ")", ";"], "ground_truth": ["else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "gw_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242239, "Length": 98, "Cover_Rate": 0.3798449612403101} {"Template_token": ["", "if", "(", "REG_P", "(", "def_reg", ")", ")", "{", "return", "rtx_equal_p", "(", "def_reg", ",", "use_rtx", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", "&&", "GET_MODE", "(", "def_reg", ")", "==", "SImode", "&&", "rtx_equal_p", "(", "SUBREG_REG", "(", "def_reg", ")", ",", "use_rtx", ")", ")", "{"], "ground_truth": ["if", "(", "TARGET_BIG_ENDIAN", "&&", "SUBREG_BYTE", "(", "def_reg", ")", "==", "", ")", "return", "true", ";"], "File": "nds32-pipelines-auxiliary", "Func": "movd44_even_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242240, "Length": 59, "Cover_Rate": 0.5130434782608696} {"Template_token": ["", "rtx", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "if", "(", "REG_P", "(", "def_reg", ")", ")", "{", "return", "rtx_equal_p", "(", "def_reg", ",", "use_rtx", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", "&&", "GET_MODE", "(", "def_reg", ")", "==", "SImode", "&&", "rtx_equal_p", "(", "SUBREG_REG", "(", "def_reg", ")", ",", "use_rtx", ")", ")", "{", "if", "(", "TARGET_BIG_ENDIAN", "&&", "SUBREG_BYTE", "(", "def_reg", ")", "==", "", ")", "return", "true", ";", "if", "(", "!", "TARGET_BIG_ENDIAN", "&&", "SUBREG_BYTE", "(", "def_reg", ")", "==", "", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "movd44_even_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242241, "Length": 89, "Cover_Rate": 0.7739130434782608} {"Template_token": ["", "case", "TYPE_ALU_SHIFT", ":", "use_rtx", "=", "extract_shift_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_PBSADA", ":", "return", "pbsada_insn_ra_rb_dep_reg_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_MAC", ":", "case", "TYPE_DMAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "consumer", ")", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_DWEXT", ":", "return", "wext_odd_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_DBPICK", ":", "return", "bpick_ra_rb_dep_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_MMU", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "consumer", ")", ")", "==", "SET", ")", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "else", "return", "true", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":"], "ground_truth": ["use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "n10_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242242, "Length": 139, "Cover_Rate": 0.5387596899224806} {"Template_token": ["", "gcc_assert", "(", "GET_CODE", "(", "unspec_rtx", ")", "==", "UNSPEC", ")", ";", "operand_ra", "=", "XVECEXP", "(", "unspec_rtx", ",", "", ",", "", ")", ";", "operand_rb", "=", "XVECEXP", "(", "unspec_rtx", ",", "", ",", "", ")", ";", "if", "(", "rtx_equal_p", "(", "def_reg", ",", "operand_ra", ")", "||", "rtx_equal_p", "(", "def_reg", ",", "operand_rb", ")", ")", "return", "true", ";"], "ground_truth": ["return", "false", ";"], "File": "nds32-pipelines-auxiliary", "Func": "n13_alu_e1_insn_dep_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242243, "Length": 54, "Cover_Rate": 0.33540372670807456} {"Template_token": ["", "bool", "n13_alu_e1_insn_dep_reg_p", "(", "rtx_insn", "*", "alu_e1_insn", ",", "rtx", "def_reg", ")", "{", "rtx", "unspec_rtx", ",", "operand_ra", ",", "operand_rb", ";", "rtx", "src_rtx", ",", "dst_rtx", ";", "switch", "(", "INSN_CODE", "(", "alu_e1_insn", ")", ")", "{", "case", "CODE_FOR_unspec_bsp", ":", "case", "CODE_FOR_unspec_bse", ":", "unspec_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "alu_e1_insn", ",", "", ")", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "unspec_rtx", ")", "==", "UNSPEC", ")", ";", "operand_ra", "=", "XVECEXP", "(", "unspec_rtx", ",", "", ",", "", ")", ";", "operand_rb", "=", "XVECEXP", "(", "unspec_rtx", ",", "", ",", "", ")", ";", "if", "(", "rtx_equal_p", "(", "def_reg", ",", "operand_ra", ")", "||", "rtx_equal_p", "(", "def_reg", ",", "operand_rb", ")", ")", "return", "true", ";", "return", "false", ";", "case", "CODE_FOR_move_di", ":", "case", "CODE_FOR_move_df", ":", "src_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "alu_e1_insn", ")", ")", ";", "dst_rtx", "=", "SET_DEST", "(", "PATTERN", "(", "alu_e1_insn", ")", ")", ";", "if", "(", "REG_P", "(", "dst_rtx", ")", "&&", "REG_P", "(", "src_rtx", ")", "&&", "rtx_equal_p", "(", "src_rtx", ",", "def_reg", ")", ")", "return", "true", ";", "return", "false", ";", "default", ":", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "n13_alu_e1_insn_dep_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242244, "Length": 160, "Cover_Rate": 0.9937888198757764} {"Template_token": ["", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MAC", ":", "use_rtx", "=", "extract_mac_non_acc_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "consumer", ")", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MMU", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "consumer", ")", ")", "==", "SET", ")", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "else", "return", "true", ";", "break", ";"], "ground_truth": ["case", "TYPE_BRANCH", ":"], "File": "nds32-pipelines-auxiliary", "Func": "n13_consumed_by_e1_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242245, "Length": 93, "Cover_Rate": 0.45588235294117646} {"Template_token": ["", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "consumer", ")", ")", "use_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "consumer", ",", "", ")", ")", ";", "else", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_MMU", ":", "if", "(", "GET_CODE", "(", "PATTERN", "(", "consumer", ")", ")", "==", "SET", ")", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "else", "return", "true", ";", "break", ";", "case", "TYPE_BRANCH", ":"], "ground_truth": ["use_rtx", "=", "extract_branch_target_rtx", "(", "consumer", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "n13_consumed_by_e1_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242246, "Length": 76, "Cover_Rate": 0.37254901960784315} {"Template_token": ["", "bool", "n13_consumed_by_e2_dep_p", "(", "rtx_insn", "*", "consumer", ",", "rtx", "def_reg", ")", "{", "rtx", "use_rtx", ";", "switch", "(", "get_attr_type", "(", "consumer", ")", ")", "{", "case", "TYPE_ALU", ":", "case", "TYPE_STORE", ":", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_ALU_SHIFT", ":", "use_rtx", "=", "extract_shift_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_PBSADA", ":", "return", "pbsada_insn_rt_dep_reg_p", "(", "consumer", ",", "def_reg", ")", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "extract_branch_condition_rtx", "(", "consumer", ")", ";", "break", ";", "default", ":"], "ground_truth": ["gcc_unreachable", "(", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "n13_consumed_by_e2_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242247, "Length": 95, "Cover_Rate": 0.8482142857142857} {"Template_token": ["", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":"], "ground_truth": ["use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "n7_consumed_by_ii_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242248, "Length": 103, "Cover_Rate": 0.3588850174216028} {"Template_token": ["", "break", ";", "case", "TYPE_LOAD", ":", "if", "(", "load_single_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE", ":", "if", "(", "store_single_p", "(", "consumer", ")", "&&", "(", "!", "post_update_insn_p", "(", "consumer", ")", "||", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", ")", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";"], "ground_truth": ["break", ";"], "File": "nds32-pipelines-auxiliary", "Func": "n8_consumed_by_addr_in_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242249, "Length": 87, "Cover_Rate": 0.6444444444444445} {"Template_token": ["", "case", "TYPE_STORE", ":", "if", "(", "post_update_insn_p", "(", "consumer", ")", ")", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "else", "use_rtx", "=", "extract_mem_rtx", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "if", "(", "!", "post_update_insn_p", "(", "consumer", ")", "&&", "!", "immed_offset_p", "(", "extract_mem_rtx", "(", "consumer", ")", ")", ")", "return", "false", ";", "use_rtx", "=", "SET_SRC", "(", "PATTERN", "(", "consumer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "use_rtx", "=", "extract_base_reg", "(", "consumer", ")", ";", "if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";", "use_rtx", "=", "extract_nth_access_rtx", "(", "consumer", ",", "", ")", ";", "break", ";", "case", "TYPE_BRANCH", ":", "use_rtx", "=", "PATTERN", "(", "consumer", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}"], "ground_truth": ["if", "(", "reg_overlap_p", "(", "def_reg", ",", "use_rtx", ")", ")", "return", "true", ";"], "File": "nds32-pipelines-auxiliary", "Func": "n9_2r1w_consumed_by_ex_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242250, "Length": 145, "Cover_Rate": 0.42151162790697677} {"Template_token": ["", "if", "(", "(", "REG_P", "(", "dest", ")", "||", "GET_CODE", "(", "dest", ")", "==", "SUBREG", ")", "&&", "(", "GET_CODE", "(", "src", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "src", ")", "==", "HIGH", ")", ")", "return", "false", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "return", "(", "e8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg1", ")", "||", "e8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";"], "ground_truth": ["break", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_ex_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242251, "Length": 133, "Cover_Rate": 0.5495867768595041} {"Template_token": ["", "if", "(", "last_def_reg", "==", "NULL_RTX", ")", "return", "false", ";", "gcc_assert", "(", "REG_P", "(", "last_def_reg", ")", "||", "GET_CODE", "(", "last_def_reg", ")", "==", "SUBREG", ")", ";", "return", "e8_consumed_by_ex_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242252, "Length": 33, "Cover_Rate": 0.5892857142857143} {"Template_token": ["", "bool", "nds32_e8_last_load_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";", "if", "(", "last_def_reg", "==", "NULL_RTX", ")", "return", "false", ";", "gcc_assert", "(", "REG_P", "(", "last_def_reg", ")", "||", "GET_CODE", "(", "last_def_reg", ")", "==", "SUBREG", ")", ";", "return", "e8_consumed_by_ex_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242253, "Length": 56, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "last_def_reg", "==", "NULL_RTX", ")", "return", "false", ";"], "ground_truth": ["gcc_assert", "(", "REG_P", "(", "last_def_reg", ")", "||", "GET_CODE", "(", "last_def_reg", ")", "==", "SUBREG", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_last_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242254, "Length": 24, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "gcc_assert", "(", "REG_P", "(", "last_def_reg", ")", "||", "GET_CODE", "(", "last_def_reg", ")", "==", "SUBREG", ")", ";"], "ground_truth": ["return", "e8_consumed_by_addr_in_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_last_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242255, "Length": 23, "Cover_Rate": 0.4107142857142857} {"Template_token": ["", "bool", "nds32_e8_load_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "return", "e8_consumed_by_ex_p", "(", "consumer", ",", "def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242256, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";"], "ground_truth": ["return", "e8_consumed_by_ex_p", "(", "consumer", ",", "def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242257, "Length": 19, "Cover_Rate": 0.59375} {"Template_token": ["", "bool", "nds32_e8_load_to_ii_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{"], "ground_truth": ["rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_e8_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242258, "Length": 23, "Cover_Rate": 0.71875} {"Template_token": ["", "return", "nds32_n10_ex_to_ex_p", "(", "producer", ",", "consumer", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_gw_ex_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242259, "Length": 9, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "bool", "nds32_gw_last_load_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";"], "ground_truth": ["return", "gw_consumed_by_ex_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_gw_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242261, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";"], "ground_truth": ["return", "gw_consumed_by_ex_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_gw_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242262, "Length": 19, "Cover_Rate": 0.59375} {"Template_token": ["", "case", "TYPE_DMAC", ":", "case", "TYPE_DALUROUND", ":", "case", "TYPE_DBPICK", ":", "case", "TYPE_DWEXT", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "return", "(", "gw_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "gw_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":"], "ground_truth": ["gcc_unreachable", "(", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_gw_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242263, "Length": 97, "Cover_Rate": 0.6689655172413793} {"Template_token": ["", "if", "(", "!", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";"], "ground_truth": ["return", "reg_overlap_p", "(", "extract_base_reg", "(", "producer", ")", ",", "extract_mem_rtx", "(", "consumer", ")", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n10_ex_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242264, "Length": 25, "Cover_Rate": 0.3472222222222222} {"Template_token": ["", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "return", "(", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n10_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242266, "Length": 80, "Cover_Rate": 0.5517241379310345} {"Template_token": ["", "case", "TYPE_DWEXT", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "return", "(", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n10_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n10_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242267, "Length": 89, "Cover_Rate": 0.6137931034482759} {"Template_token": ["", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "return", "(", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_e2_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242268, "Length": 63, "Cover_Rate": 0.3620689655172414} {"Template_token": ["", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "return", "(", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";", "}", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";"], "ground_truth": ["default", ":"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_e2_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242269, "Length": 66, "Cover_Rate": 0.3793103448275862} {"Template_token": ["", "bool", "nds32_n13_last_load_to_e1_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";", "return", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_load_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242270, "Length": 32, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "nds32_n13_last_load_to_e1_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";"], "ground_truth": ["return", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_load_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242271, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "bool", "nds32_n13_last_load_to_e2_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{"], "ground_truth": ["rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_load_to_e2_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242272, "Length": 23, "Cover_Rate": 0.71875} {"Template_token": ["", "bool", "nds32_n13_last_load_to_e2_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{"], "ground_truth": ["rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_load_to_e2_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242273, "Length": 23, "Cover_Rate": 0.71875} {"Template_token": ["", "rtx", "last_two_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";", "if", "(", "last_two_def_reg", "==", "NULL_RTX", ")", "return", "false", ";"], "ground_truth": ["return", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "last_two_def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_two_load_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242274, "Length": 28, "Cover_Rate": 0.6829268292682927} {"Template_token": ["", "bool", "nds32_n13_last_two_load_to_e1_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "last_two_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";", "if", "(", "last_two_def_reg", "==", "NULL_RTX", ")", "return", "false", ";", "return", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "last_two_def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_last_two_load_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242275, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";"], "ground_truth": ["gcc_assert", "(", "get_attr_type", "(", "producer", ")", "==", "TYPE_LOAD", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_load_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242276, "Length": 21, "Cover_Rate": 0.3684210526315789} {"Template_token": ["", "gcc_assert", "(", "get_attr_type", "(", "producer", ")", "==", "TYPE_LOAD", ")", ";", "gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";", "return", "n13_consumed_by_e1_dep_p", "(", "consumer", ",", "def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_load_to_e1_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242277, "Length": 34, "Cover_Rate": 0.5964912280701754} {"Template_token": ["", "bool", "nds32_n13_load_to_e2_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "gcc_assert", "(", "get_attr_type", "(", "producer", ")", "==", "TYPE_LOAD", ")", ";", "gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";"], "ground_truth": ["return", "n13_consumed_by_e2_dep_p", "(", "consumer", ",", "def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_load_to_e2_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242278, "Length": 56, "Cover_Rate": 0.9824561403508771} {"Template_token": ["", "gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";", "return", "n13_consumed_by_e2_dep_p", "(", "consumer", ",", "def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n13_load_to_e2_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242279, "Length": 24, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "bool", "nds32_n7_last_load_to_ii_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";", "if", "(", "last_def_reg", "==", "NULL_RTX", ")", "return", "false", ";"], "ground_truth": ["gcc_assert", "(", "REG_P", "(", "last_def_reg", ")", "||", "GET_CODE", "(", "last_def_reg", ")", "==", "SUBREG", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n7_last_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242280, "Length": 57, "Cover_Rate": 0.8636363636363636} {"Template_token": ["", "if", "(", "last_def_reg", "==", "NULL_RTX", ")", "return", "false", ";", "gcc_assert", "(", "REG_P", "(", "last_def_reg", ")", "||", "GET_CODE", "(", "last_def_reg", ")", "==", "SUBREG", ")", ";", "return", "n7_consumed_by_ii_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n7_last_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242281, "Length": 33, "Cover_Rate": 0.5} {"Template_token": ["", "bool", "nds32_n7_load_to_ii_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{"], "ground_truth": ["if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n7_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242282, "Length": 22, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "break", ";", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "def_reg", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "else", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD", ":"], "ground_truth": ["case", "TYPE_STORE", ":"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_ex_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242283, "Length": 61, "Cover_Rate": 0.3961038961038961} {"Template_token": ["", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "def_reg", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "else", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "case", "TYPE_LOAD_MULTIPLE", ":", "case", "TYPE_STORE_MULTIPLE", ":"], "ground_truth": ["if", "(", "!", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_ex_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242284, "Length": 58, "Cover_Rate": 0.37662337662337664} {"Template_token": ["", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";"], "ground_truth": ["if", "(", "last_def_reg", "==", "NULL_RTX", ")", "return", "false", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242285, "Length": 20, "Cover_Rate": 0.30303030303030304} {"Template_token": ["", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";"], "ground_truth": ["rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242286, "Length": 21, "Cover_Rate": 0.3181818181818182} {"Template_token": ["", "rtx", "last_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "-", "", ")", ";", "if", "(", "last_def_reg", "==", "NULL_RTX", ")", "return", "false", ";", "gcc_assert", "(", "REG_P", "(", "last_def_reg", ")", "||", "GET_CODE", "(", "last_def_reg", ")", "==", "SUBREG", ")", ";", "return", "n8_consumed_by_addr_in_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_last_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242287, "Length": 44, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "gcc_assert", "(", "REG_P", "(", "last_def_reg", ")", "||", "GET_CODE", "(", "last_def_reg", ")", "==", "SUBREG", ")", ";", "return", "n8_consumed_by_addr_in_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_last_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242288, "Length": 24, "Cover_Rate": 0.36363636363636365} {"Template_token": ["", "if", "(", "last_two_def_reg", "==", "NULL_RTX", ")", "return", "false", ";", "gcc_assert", "(", "REG_P", "(", "last_two_def_reg", ")", "||", "GET_CODE", "(", "last_two_def_reg", ")", "==", "SUBREG", ")", ";"], "ground_truth": ["return", "n8_consumed_by_addr_in_p", "(", "consumer", ",", "last_two_def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_last_load_two_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242289, "Length": 32, "Cover_Rate": 0.4383561643835616} {"Template_token": ["", "int", "index", "=", "-", "", ";", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "index", "=", "-", "", ";"], "ground_truth": ["rtx", "last_two_def_reg", "=", "extract_nth_access_reg", "(", "producer", ",", "index", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_last_load_two_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242290, "Length": 28, "Cover_Rate": 0.3835616438356164} {"Template_token": ["", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";"], "ground_truth": ["return", "n8_consumed_by_ex_p", "(", "consumer", ",", "def_reg", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242291, "Length": 29, "Cover_Rate": 0.6904761904761905} {"Template_token": ["", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "return", "n8_consumed_by_addr_in_p", "(", "consumer", ",", "def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n8_load_to_ii_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242292, "Length": 20, "Cover_Rate": 0.47619047619047616} {"Template_token": ["", "bool", "nds32_n9_2r1w_mm_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "def_reg", ";", "switch", "(", "get_attr_type", "(", "producer", ")", ")", "{", "case", "TYPE_LOAD", ":", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "case", "TYPE_MUL", ":", "case", "TYPE_MAC", ":", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "producer", ")", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "n9_2r1w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n9_2r1w_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242293, "Length": 82, "Cover_Rate": 1.0} {"Template_token": ["", "break", ";", "case", "TYPE_DIV", ":", "if", "(", "divmod_p", "(", "producer", ")", ")", "{", "rtx", "def_reg1", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";", "rtx", "def_reg2", "=", "SET_DEST", "(", "parallel_element", "(", "producer", ",", "", ")", ")", ";"], "ground_truth": ["return", "(", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg1", ")", "||", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "def_reg2", ")", ")", ";"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n9_3r2w_mm_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242294, "Length": 56, "Cover_Rate": 0.4409448818897638} {"Template_token": ["", "if", "(", "post_update_insn_p", "(", "producer", ")", ")", "return", "false", ";", "size_t", "i", ";", "size_t", "n_elems", "=", "parallel_elements", "(", "producer", ")", ";", "rtx", "base_reg", "=", "extract_base_reg", "(", "producer", ")", ";", "for", "(", "i", "=", "", ";", "i", "<", "n_elems", ";", "++", "i", ")", "{", "rtx", "load_rtx", "=", "extract_nth_access_rtx", "(", "producer", ",", "i", ")", ";", "rtx", "list_element", "=", "SET_DEST", "(", "load_rtx", ")", ";", "if", "(", "rtx_equal_p", "(", "base_reg", ",", "list_element", ")", "&&", "i", "!=", "n_elems", "-", "", ")", "{", "last_def_reg", "=", "base_reg", ";", "break", ";", "}", "}", "return", "n9_2r1w_consumed_by_ex_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";", "}", "else", "return", "n9_3r2w_consumed_by_ex_dep_p", "(", "consumer", ",", "last_def_reg", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "nds32_n9_last_load_to_ex_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242295, "Length": 104, "Cover_Rate": 0.7761194029850746} {"Template_token": ["", "rtx", "pbsada_rb", "=", "XVECEXP", "(", "unspec_rtx", ",", "", ",", "", ")", ";"], "ground_truth": ["if", "(", "rtx_equal_p", "(", "def_reg", ",", "pbsada_ra", ")", "||", "rtx_equal_p", "(", "def_reg", ",", "pbsada_rb", ")", ")", "return", "true", ";"], "File": "nds32-pipelines-auxiliary", "Func": "pbsada_insn_ra_rb_dep_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242296, "Length": 31, "Cover_Rate": 0.3974358974358974} {"Template_token": ["", "if", "(", "rtx_equal_p", "(", "def_reg", ",", "pbsada_rt", ")", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "pbsada_insn_rt_dep_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242297, "Length": 16, "Cover_Rate": 0.43243243243243246} {"Template_token": ["", "rtx", "pbsada_rt", "=", "SET_DEST", "(", "PATTERN", "(", "pbsada_insn", ")", ")", ";", "if", "(", "rtx_equal_p", "(", "def_reg", ",", "pbsada_rt", ")", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "pbsada_insn_rt_dep_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242298, "Length": 27, "Cover_Rate": 0.7297297297297297} {"Template_token": ["", "bool", "reg_overlap_p", "(", "rtx", "x", ",", "rtx", "in", ")", "{", "if", "(", "x", "==", "NULL_RTX", "||", "in", "==", "NULL_RTX", ")", "return", "false", ";", "return", "static_cast", "<", "bool", ">", "(", "reg_overlap_mentioned_p", "(", "x", ",", "in", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-pipelines-auxiliary", "Func": "reg_overlap_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242300, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "GET_MODE", "(", "def_reg", ")", "==", "DImode", ")", "return", "reg_overlap_p", "(", "def_reg", ",", "use_reg", ")", ";", "gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";", "gcc_assert", "(", "REG_P", "(", "use_reg", ")", "||", "GET_CODE", "(", "use_reg", ")", "==", "SUBREG", ")", ";", "if", "(", "REG_P", "(", "def_reg", ")", ")", "{", "if", "REG_P", "(", "use_reg", ")", "{", "if", "(", "!", "TARGET_BIG_ENDIAN", ")", "return", "REGNO", "(", "def_reg", ")", "==", "REGNO", "(", "use_reg", ")", "+", "", ";", "else", "return", "REGNO", "(", "def_reg", ")", "==", "REGNO", "(", "use_reg", ")", ";", "}"], "ground_truth": ["else", "return", "true", ";"], "File": "nds32-pipelines-auxiliary", "Func": "wext_odd_dep_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242301, "Length": 96, "Cover_Rate": 0.43243243243243246} {"Template_token": ["", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "~", "ival", ")", ")", ";", "return", "(", "TARGET_PERF_EXT", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates2", "Func": "nds32_can_use_bclr_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242302, "Length": 26, "Cover_Rate": 0.7222222222222222} {"Template_token": ["", "return", "(", "TARGET_PERF_EXT", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates2", "Func": "nds32_can_use_bclr_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242303, "Length": 12, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "int", "nds32_can_use_bitci_p", "(", "int", "ival", ")", "{", "return", "(", "TARGET_ISA_V3", "&&", "(", "ival", "<", "", ")", "&&", "satisfies_constraint_Iu15", "(", "gen_int_mode", "(", "~", "ival", ",", "SImode", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates2", "Func": "nds32_can_use_bitci_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242304, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "int", "one_bit_count", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", ")", ";", "return", "(", "TARGET_PERF_EXT", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates2", "Func": "nds32_can_use_btgl_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242307, "Length": 28, "Cover_Rate": 0.8} {"Template_token": ["", "int", "nds32_can_use_btgl_p", "(", "int", "ival", ")", "{", "int", "one_bit_count", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", ")", ";"], "ground_truth": ["return", "(", "TARGET_PERF_EXT", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "File": "nds32-predicates2", "Func": "nds32_can_use_btgl_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242308, "Length": 34, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "int", "first_elt_regno", ";", "rtx", "elt", ";", "count", "=", "XVECLEN", "(", "op", ",", "", ")", ";", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", "||", "count", "<=", "", "||", "count", ">", "", ")", "return", "false", ";", "if", "(", "load_p", ")", "{", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";"], "ground_truth": ["first_elt_regno", "=", "REGNO", "(", "SET_DEST", "(", "elt", ")", ")", ";"], "File": "nds32-predicates2", "Func": "nds32_valid_multiple_load_store", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242309, "Length": 86, "Cover_Rate": 0.5341614906832298} {"Template_token": ["", "int", "one_bit_count", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "~", "ival", ")", ")", ";"], "ground_truth": ["return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "File": "nds32-predicates5", "Func": "nds32_can_use_bclr_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242310, "Length": 28, "Cover_Rate": 0.7777777777777778} {"Template_token": ["", "int", "nds32_can_use_bclr_p", "(", "int", "ival", ")", "{", "int", "one_bit_count", ";"], "ground_truth": ["one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "~", "ival", ")", ")", ";"], "File": "nds32-predicates5", "Func": "nds32_can_use_bclr_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242311, "Length": 24, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "int", "nds32_can_use_bset_p", "(", "int", "ival", ")", "{", "int", "one_bit_count", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", ")", ";", "return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates5", "Func": "nds32_can_use_bset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242312, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "int", "one_bit_count", ";"], "ground_truth": ["one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", ")", ";"], "File": "nds32-predicates5", "Func": "nds32_can_use_bset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242313, "Length": 16, "Cover_Rate": 0.45714285714285713} {"Template_token": ["", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", ")", ";", "return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates5", "Func": "nds32_can_use_btgl_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242314, "Length": 25, "Cover_Rate": 0.7142857142857143} {"Template_token": ["", "int", "shift_adv", ";", "int", "shift", "=", "", ";", "int", "nelem", ";", "switch", "(", "GET_MODE", "(", "op", ")", ")", "{", "case", "E_V2HImode", ":", "mask", "=", "", ";", "shift_adv", "=", "", ";", "nelem", "=", "", ";", "break", ";", "case", "E_V4QImode", ":", "mask", "=", "", ";", "shift_adv", "=", "", ";", "nelem", "=", "", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "TARGET_BIG_ENDIAN", ")", "{", "for", "(", "i", "=", "", ";", "i", "<", "nelem", ";", "++", "i", ")", "{", "HOST_WIDE_INT", "val", "=", "XINT", "(", "XVECEXP", "(", "op", ",", "", ",", "nelem", "-", "i", "-", "", ")", ",", "", ")", ";", "hwint", "|=", "(", "val", "&", "mask", ")", "<<", "shift", ";"], "ground_truth": ["shift", "=", "shift", "+", "shift_adv", ";"], "File": "nds32-predicates", "Func": "const_vector_to_hwint", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242316, "Length": 116, "Cover_Rate": 0.6073298429319371} {"Template_token": ["", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "TARGET_BIG_ENDIAN", ")", "{", "for", "(", "i", "=", "", ";", "i", "<", "nelem", ";", "++", "i", ")", "{", "HOST_WIDE_INT", "val", "=", "XINT", "(", "XVECEXP", "(", "op", ",", "", ",", "nelem", "-", "i", "-", "", ")", ",", "", ")", ";", "hwint", "|=", "(", "val", "&", "mask", ")", "<<", "shift", ";", "shift", "=", "shift", "+", "shift_adv", ";", "}", "}", "else", "{", "for", "(", "i", "=", "", ";", "i", "<", "nelem", ";", "++", "i", ")", "{", "HOST_WIDE_INT", "val", "=", "XINT", "(", "XVECEXP", "(", "op", ",", "", ",", "i", ")", ",", "", ")", ";", "hwint", "|=", "(", "val", "&", "mask", ")", "<<", "shift", ";", "shift", "=", "shift", "+", "shift_adv", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "const_vector_to_hwint", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242317, "Length": 117, "Cover_Rate": 0.612565445026178} {"Template_token": ["", "bool", "nds32_can_use_bclr_p", "(", "HOST_WIDE_INT", "ival", ")", "{", "int", "one_bit_count", ";", "unsigned", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "SImode", ")", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "~", "ival", ")", "&", "mask", ")", ";"], "ground_truth": ["return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "File": "nds32-predicates", "Func": "nds32_can_use_bclr_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242318, "Length": 46, "Cover_Rate": 0.9787234042553191} {"Template_token": ["", "bool", "nds32_can_use_bitci_p", "(", "HOST_WIDE_INT", "ival", ")", "{"], "ground_truth": ["return", "(", "TARGET_ISA_V3", "&&", "(", "ival", "<", "", ")", "&&", "satisfies_constraint_Iu15", "(", "gen_int_mode", "(", "~", "ival", ",", "SImode", ")", ")", ")", ";"], "File": "nds32-predicates", "Func": "nds32_can_use_bitci_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242319, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "bool", "nds32_can_use_bitci_p", "(", "HOST_WIDE_INT", "ival", ")", "{"], "ground_truth": ["return", "(", "TARGET_ISA_V3", "&&", "(", "ival", "<", "", ")", "&&", "satisfies_constraint_Iu15", "(", "gen_int_mode", "(", "~", "ival", ",", "SImode", ")", ")", ")", ";"], "File": "nds32-predicates", "Func": "nds32_can_use_bitci_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242320, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", "&", "mask", ")", ";"], "ground_truth": ["return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "File": "nds32-predicates", "Func": "nds32_can_use_bset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242321, "Length": 26, "Cover_Rate": 0.5652173913043478} {"Template_token": ["", "unsigned", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "SImode", ")", ";", "one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", "&", "mask", ")", ";", "return", "(", "TARGET_EXT_PERF", "&&", "(", "one_bit_count", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_can_use_bset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242322, "Length": 36, "Cover_Rate": 0.782608695652174} {"Template_token": ["", "int", "one_bit_count", ";", "unsigned", "HOST_WIDE_INT", "mask", "=", "GET_MODE_MASK", "(", "SImode", ")", ";"], "ground_truth": ["one_bit_count", "=", "popcount_hwi", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "(", "ival", ")", "&", "mask", ")", ";"], "File": "nds32-predicates", "Func": "nds32_can_use_btgl_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242323, "Length": 27, "Cover_Rate": 0.5869565217391305} {"Template_token": ["", "machine_mode", "cmp0_mode", "=", "GET_MODE", "(", "XEXP", "(", "cmp_rtx", ",", "", ")", ")", ";", "machine_mode", "cmp1_mode", "=", "GET_MODE", "(", "XEXP", "(", "cmp_rtx", ",", "", ")", ")", ";", "enum", "rtx_code", "cond", "=", "GET_CODE", "(", "cmp_rtx", ")", ";", "if", "(", "(", "cmp0_mode", "==", "DFmode", "||", "cmp0_mode", "==", "SFmode", ")", "&&", "(", "cmp1_mode", "==", "DFmode", "||", "cmp1_mode", "==", "SFmode", ")", "&&", "(", "cond", "==", "ORDERED", "||", "cond", "==", "UNORDERED", ")", ")", "return", "true", ";"], "ground_truth": ["return", "false", ";"], "File": "nds32-predicates", "Func": "nds32_cond_move_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242324, "Length": 73, "Cover_Rate": 0.9012345679012346} {"Template_token": ["", "int", "i", ";", "int", "check_regno", ";", "rtx", "elt", ";", "rtx", "elt_reg", ";", "rtx", "elt_mem", ";", "for", "(", "i", "=", "", ";", "i", "<", "count", ";", "i", "++", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "i", "+", "par_index", ")", ";", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", ")", "return", "false", ";", "elt_reg", "=", "load_p", "?", "SET_DEST", "(", "elt", ")", ":", "SET_SRC", "(", "elt", ")", ";", "elt_mem", "=", "load_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "if", "(", "GET_CODE", "(", "elt_reg", ")", "!=", "REG", "||", "GET_MODE", "(", "elt_reg", ")", "!=", "SImode", ")", "return", "false", ";"], "ground_truth": ["if", "(", "GET_CODE", "(", "elt_mem", ")", "!=", "MEM", "||", "GET_MODE", "(", "elt_mem", ")", "!=", "SImode", ")", "return", "false", ";"], "File": "nds32-predicates", "Func": "nds32_consecutive_registers_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242325, "Length": 120, "Cover_Rate": 0.718562874251497} {"Template_token": ["", "int", "check_regno", ";", "rtx", "elt", ";", "rtx", "elt_reg", ";", "rtx", "elt_mem", ";", "for", "(", "i", "=", "", ";", "i", "<", "count", ";", "i", "++", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "i", "+", "par_index", ")", ";", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", ")", "return", "false", ";", "elt_reg", "=", "load_p", "?", "SET_DEST", "(", "elt", ")", ":", "SET_SRC", "(", "elt", ")", ";", "elt_mem", "=", "load_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "if", "(", "GET_CODE", "(", "elt_reg", ")", "!=", "REG", "||", "GET_MODE", "(", "elt_reg", ")", "!=", "SImode", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "elt_mem", ")", "!=", "MEM", "||", "GET_MODE", "(", "elt_mem", ")", "!=", "SImode", ")", "return", "false", ";", "check_regno", "=", "first_elt_regno", "+", "i", ";"], "ground_truth": ["if", "(", "REGNO", "(", "elt_reg", ")", "!=", "(", "unsigned", "int", ")", "check_regno", ")", "return", "false", ";"], "File": "nds32-predicates", "Func": "nds32_consecutive_registers_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242326, "Length": 139, "Cover_Rate": 0.8323353293413174} {"Template_token": ["", "const", "REAL_VALUE_TYPE", "*", "rv", ";", "long", "val", ";", "rv", "=", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ";"], "ground_truth": ["REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "rv", ",", "val", ")", ";"], "File": "nds32-predicates", "Func": "nds32_const_double_range_ok_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242327, "Length": 23, "Cover_Rate": 0.3382352941176471} {"Template_token": ["", "const", "REAL_VALUE_TYPE", "*", "rv", ";", "long", "val", ";", "rv", "=", "CONST_DOUBLE_REAL_VALUE", "(", "op", ")", ";", "REAL_VALUE_TO_TARGET_SINGLE", "(", "*", "rv", ",", "val", ")", ";", "return", "val", ">=", "lower", "&&", "val", "<", "upper", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_const_double_range_ok_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242328, "Length": 33, "Cover_Rate": 0.4852941176470588} {"Template_token": ["", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "x", "=", "XEXP", "(", "x", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "{", "switch", "(", "XINT", "(", "x", ",", "", ")", ")", "{", "case", "UNSPEC_GOTINIT", ":", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLT", ":", "case", "UNSPEC_TLSGD", ":", "case", "UNSPEC_TLSLD", ":", "case", "UNSPEC_TLSIE", ":", "case", "UNSPEC_TLSLE", ":", "return", "false", ";", "default", ":", "return", "true", ";", "}", "}", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_const_unspec_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242329, "Length": 94, "Cover_Rate": 0.7833333333333333} {"Template_token": ["", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", ")", "{", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "", ")", ")", "==", "SYMBOL_REF", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "", ")", ")", "==", "CONST_INT", ")", "{", "if", "(", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", ")", "&&", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "XEXP", "(", "addr", ",", "", ")", ")", ")", "&&", "!", "satisfies_constraint_Is14", "(", "XEXP", "(", "addr", ",", "", ")", ")", ")", "return", "false", ";", "if", "(", "(", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "INTVAL", "(", "XEXP", "(", "addr", ",", "", ")", ")", ")", "&&", "!", "satisfies_constraint_Is14", "(", "XEXP", "(", "addr", ",", "", ")", ")", ")", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_float_mem_operand_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242330, "Length": 121, "Cover_Rate": 0.6836158192090396} {"Template_token": ["", "if", "(", "mem_src", "!=", "NULL_RTX", ")", "{", "if", "(", "(", "GET_CODE", "(", "mem_src", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "mem_src", ")", "==", "SIGN_EXTEND", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "", ")", ";", "if", "(", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "==", "SYMBOL_REF", ")", "||", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "==", "LO_SUM", ")", ")", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_symbol_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242331, "Length": 74, "Cover_Rate": 0.5692307692307692} {"Template_token": ["", "bool", "nds32_valid_CVhi_p", "(", "rtx", "op", ")", "{", "HOST_WIDE_INT", "ival", "=", "const_vector_to_hwint", "(", "op", ")", ";", "return", "(", "ival", "!=", "", ")", "&&", "(", "(", "ival", "&", "", ")", "==", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_valid_CVhi_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242332, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "nds32_valid_CVhi_p", "(", "rtx", "op", ")", "{"], "ground_truth": ["HOST_WIDE_INT", "ival", "=", "const_vector_to_hwint", "(", "op", ")", ";"], "File": "nds32-predicates", "Func": "nds32_valid_CVhi_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242333, "Length": 15, "Cover_Rate": 0.45454545454545453} {"Template_token": ["", "bool", "nds32_valid_CVp5_p", "(", "rtx", "op", ")", "{", "HOST_WIDE_INT", "ival", "=", "const_vector_to_hwint", "(", "op", ")", ";"], "ground_truth": ["return", "(", "ival", "<", "(", "(", "", "<<", "", ")", "+", "", ")", ")", "&&", "(", "ival", ">=", "(", "", "+", "", ")", ")", ";"], "File": "nds32-predicates", "Func": "nds32_valid_CVp5_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242334, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "return", "(", "ival", "<", "(", "(", "", "<<", "", ")", "+", "", ")", ")", "&&", "(", "ival", ">=", "(", "", "+", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_valid_CVp5_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242335, "Length": 26, "Cover_Rate": 0.6341463414634146} {"Template_token": ["", "bool", "nds32_valid_CVs2_p", "(", "rtx", "op", ")", "{", "HOST_WIDE_INT", "ival", "=", "const_vector_to_hwint", "(", "op", ")", ";", "return", "(", "ival", "<", "(", "", "<<", "", ")", ")", "&&", "(", "ival", ">=", "-", "(", "", "<<", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_valid_CVs2_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242336, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "HOST_WIDE_INT", "ival", "=", "const_vector_to_hwint", "(", "op", ")", ";", "return", "(", "ival", "<", "(", "", "<<", "", ")", ")", "&&", "(", "ival", ">=", "-", "(", "", "<<", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32-predicates", "Func": "nds32_valid_CVs5_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242337, "Length": 31, "Cover_Rate": 0.8157894736842105} {"Template_token": ["", "int", "update_base_elt_idx", ";", "int", "offset", ";", "rtx", "elt", ";", "rtx", "update_base", ";", "if", "(", "bim_p", ")", "{", "count", "=", "XVECLEN", "(", "op", ",", "", ")", "-", "", ";", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "", ")", ";", "}", "else", "{", "count", "=", "XVECLEN", "(", "op", ",", "", ")", ";", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "", ")", ";", "}", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", "||", "count", "<=", "", "||", "count", ">", "", ")", "return", "false", ";", "if", "(", "load_p", ")", "{", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";", "first_elt_regno", "=", "REGNO", "(", "SET_DEST", "(", "elt", ")", ")", ";", "}", "else", "{", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";", "first_elt_regno", "=", "REGNO", "(", "SET_SRC", "(", "elt", ")", ")", ";", "}", "if", "(", "!", "nds32_consecutive_registers_load_store_p", "(", "op", ",", "load_p", ",", "bim_p", "?", "", ":", "", ",", "first_elt_regno", ",", "count", ")", ")", "return", "false", ";", "if", "(", "bim_p", ")", "{", "update_base_elt_idx", "=", "", ";", "update_base", "=", "XVECEXP", "(", "op", ",", "", ",", "update_base_elt_idx", ")", ";", "if", "(", "!", "REG_P", "(", "SET_DEST", "(", "update_base", ")", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "update_base", ")", ")", "!=", "PLUS", ")", "return", "false", ";", "else", "{", "offset", "=", "count", "*", "UNITS_PER_WORD", ";"], "ground_truth": ["elt", "=", "XEXP", "(", "SET_SRC", "(", "update_base", ")", ",", "", ")", ";"], "File": "nds32-predicates", "Func": "nds32_valid_multiple_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242338, "Length": 254, "Cover_Rate": 0.8466666666666667} {"Template_token": ["", "int", "offset", ";", "rtx", "elt", ";", "rtx", "update_base", ";", "if", "(", "bim_p", ")", "{", "count", "=", "XVECLEN", "(", "op", ",", "", ")", "-", "", ";", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "", ")", ";", "}", "else", "{", "count", "=", "XVECLEN", "(", "op", ",", "", ")", ";", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "", ")", ";", "}", "if", "(", "GET_CODE", "(", "elt", ")", "!=", "SET", "||", "count", "<=", "", "||", "count", ">", "", ")", "return", "false", ";", "if", "(", "load_p", ")", "{", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";", "first_elt_regno", "=", "REGNO", "(", "SET_DEST", "(", "elt", ")", ")", ";", "}", "else", "{", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "elt", ")", ")", "!=", "REG", "||", "GET_CODE", "(", "SET_DEST", "(", "elt", ")", ")", "!=", "MEM", ")", "return", "false", ";", "first_elt_regno", "=", "REGNO", "(", "SET_SRC", "(", "elt", ")", ")", ";", "}", "if", "(", "!", "nds32_consecutive_registers_load_store_p", "(", "op", ",", "load_p", ",", "bim_p", "?", "", ":", "", ",", "first_elt_regno", ",", "count", ")", ")", "return", "false", ";", "if", "(", "bim_p", ")", "{", "update_base_elt_idx", "=", "", ";"], "ground_truth": ["update_base", "=", "XVECEXP", "(", "op", ",", "", ",", "update_base_elt_idx", ")", ";"], "File": "nds32-predicates", "Func": "nds32_valid_multiple_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242339, "Length": 202, "Cover_Rate": 0.6733333333333333} {"Template_token": ["", "first_regno", "=", "REGNO", "(", "elt_reg", ")", ";", "if", "(", "!", "nds32_consecutive_registers_load_store_p", "(", "op", ",", "!", "push_p", "?", "true", ":", "false", ",", "", ",", "first_regno", ",", "rest_count", ")", ")", "return", "false", ";", "}", "index", "=", "rest_count", ";", "if", "(", "index", "<", "", ")", "return", "false", ";", "if", "(", "save_fp", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "index", ")", ";", "elt_mem", "=", "push_p", "?", "SET_DEST", "(", "elt", ")", ":", "SET_SRC", "(", "elt", ")", ";", "elt_reg", "=", "push_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "index", "++", ";", "if", "(", "GET_CODE", "(", "elt_mem", ")", "!=", "MEM", "||", "GET_CODE", "(", "elt_reg", ")", "!=", "REG", "||", "REGNO", "(", "elt_reg", ")", "!=", "FP_REGNUM", ")", "return", "false", ";", "}", "if", "(", "save_gp", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "index", ")", ";", "elt_mem", "=", "push_p", "?", "SET_DEST", "(", "elt", ")", ":", "SET_SRC", "(", "elt", ")", ";", "elt_reg", "=", "push_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "index", "++", ";"], "ground_truth": ["if", "(", "GET_CODE", "(", "elt_mem", ")", "!=", "MEM", "||", "GET_CODE", "(", "elt_reg", ")", "!=", "REG", "||", "REGNO", "(", "elt_reg", ")", "!=", "GP_REGNUM", ")", "return", "false", ";"], "File": "nds32-predicates", "Func": "nds32_valid_stack_push_pop_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242340, "Length": 192, "Cover_Rate": 0.3742690058479532} {"Template_token": ["", "elt_reg", "=", "push_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "first_regno", "=", "REGNO", "(", "elt_reg", ")", ";", "if", "(", "!", "nds32_consecutive_registers_load_store_p", "(", "op", ",", "!", "push_p", "?", "true", ":", "false", ",", "", ",", "first_regno", ",", "rest_count", ")", ")", "return", "false", ";", "}", "index", "=", "rest_count", ";", "if", "(", "index", "<", "", ")", "return", "false", ";", "if", "(", "save_fp", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "index", ")", ";", "elt_mem", "=", "push_p", "?", "SET_DEST", "(", "elt", ")", ":", "SET_SRC", "(", "elt", ")", ";", "elt_reg", "=", "push_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "index", "++", ";", "if", "(", "GET_CODE", "(", "elt_mem", ")", "!=", "MEM", "||", "GET_CODE", "(", "elt_reg", ")", "!=", "REG", "||", "REGNO", "(", "elt_reg", ")", "!=", "FP_REGNUM", ")", "return", "false", ";", "}", "if", "(", "save_gp", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "index", ")", ";", "elt_mem", "=", "push_p", "?", "SET_DEST", "(", "elt", ")", ":", "SET_SRC", "(", "elt", ")", ";", "elt_reg", "=", "push_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "index", "++", ";", "if", "(", "GET_CODE", "(", "elt_mem", ")", "!=", "MEM", "||", "GET_CODE", "(", "elt_reg", ")", "!=", "REG", "||", "REGNO", "(", "elt_reg", ")", "!=", "GP_REGNUM", ")", "return", "false", ";", "}", "if", "(", "save_lp", ")", "{", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "index", ")", ";", "elt_mem", "=", "push_p", "?", "SET_DEST", "(", "elt", ")", ":", "SET_SRC", "(", "elt", ")", ";", "elt_reg", "=", "push_p", "?", "SET_SRC", "(", "elt", ")", ":", "SET_DEST", "(", "elt", ")", ";", "index", "++", ";", "if", "(", "GET_CODE", "(", "elt_mem", ")", "!=", "MEM", "||", "GET_CODE", "(", "elt_reg", ")", "!=", "REG", "||", "REGNO", "(", "elt_reg", ")", "!=", "LP_REGNUM", ")", "return", "false", ";", "}", "elt", "=", "XVECEXP", "(", "op", ",", "", ",", "total_count", "-", "", ")", ";", "elt_reg", "=", "SET_DEST", "(", "elt", ")", ";"], "ground_truth": ["elt_plus", "=", "SET_SRC", "(", "elt", ")", ";"], "File": "nds32-predicates", "Func": "nds32_valid_stack_push_pop_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242341, "Length": 308, "Cover_Rate": 0.6003898635477583} {"Template_token": ["", "if", "(", "!", "(", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_lo_sum", "||", "nds32_symbol_load_store_p", "(", "use_insn", ")", "||", "(", "nds32_reg_base_load_store_p", "(", "use_insn", ")", "&&", "!", "nds32_sp_base_or_plus_load_store_p", "(", "use_insn", ")", ")", ")", ")", "return", ";", "}", "group_id", "=", "GEN_INT", "(", "relax_group_id", ")", ";", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "sethi", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";"], "ground_truth": ["if", "(", "active_insn_p", "(", "use_insn", ")", ")", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "use_insn", ")", ";"], "File": "nds32-relax-opt2", "Func": "nds32_group_insns", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242342, "Length": 106, "Cover_Rate": 0.4491525423728814} {"Template_token": ["", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "dominated_by_p", "(", "CDI_DOMINATORS", ",", "BLOCK_FOR_INSN", "(", "use_insn", ")", ",", "BLOCK_FOR_INSN", "(", "sethi", ")", ")", ")", "return", ";", "use_record", "=", "DF_INSN_USES", "(", "use_insn", ")", ";", "if", "(", "DF_REF_CHAIN", "(", "use_record", ")", "&&", "DF_REF_CHAIN", "(", "use_record", ")", "->", "next", ")", "return", ";", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", ";", "if", "(", "!", "(", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_lo_sum", "||", "nds32_symbol_load_store_p", "(", "use_insn", ")", "||", "(", "nds32_reg_base_load_store_p", "(", "use_insn", ")", "&&", "!", "nds32_sp_base_or_plus_load_store_p", "(", "use_insn", ")", ")", ")", ")", "return", ";", "}", "group_id", "=", "GEN_INT", "(", "relax_group_id", ")", ";", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "sethi", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";"], "ground_truth": ["if", "(", "active_insn_p", "(", "use_insn", ")", ")", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "use_insn", ")", ";"], "File": "nds32-relax-opt2", "Func": "nds32_group_insns", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242343, "Length": 198, "Cover_Rate": 0.8389830508474576} {"Template_token": ["", "gcc_assert", "(", "NOTE_P", "(", "insn", ")", ")", ";", "for", "(", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "insn", ";", "insn", "=", "next_active_insn", "(", "insn", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_sethi", "&&", "nds32_symbolic_operand", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "", ")", ",", "SImode", ")", ")", "nds32_group_insns", "(", "insn", ")", ";", "}"], "ground_truth": ["}"], "File": "nds32-relax-opt2", "Func": "nds32_relax_group", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242344, "Length": 69, "Cover_Rate": 0.5307692307692308} {"Template_token": ["", "calculate_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "gcc_assert", "(", "NOTE_P", "(", "insn", ")", ")", ";", "for", "(", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "insn", ";", "insn", "=", "next_active_insn", "(", "insn", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_sethi", "&&", "nds32_symbolic_operand", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "", ")", ",", "SImode", ")", ")", "nds32_group_insns", "(", "insn", ")", ";", "}", "}", "df_insn_rescan_all", "(", ")", ";", "df_finish_pass", "(", "false", ")", ";"], "ground_truth": ["free_dominance_info", "(", "CDI_DOMINATORS", ")", ";"], "File": "nds32-relax-opt2", "Func": "nds32_relax_group", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242345, "Length": 94, "Cover_Rate": 0.7230769230769231} {"Template_token": ["", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "nds32_relax_opt", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "execute", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242346, "Length": 14, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "gate", "(", "function", "*", ")", "{", "return", "TARGET_RELAX_HINT", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "gate", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242348, "Length": 11, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "gate", "(", "function", "*", ")", "{"], "ground_truth": ["return", "TARGET_RELAX_HINT", ";"], "File": "nds32-relax-opt", "Func": "gate", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242349, "Length": 10, "Cover_Rate": 0.9090909090909091} {"Template_token": ["", "int", "nds32_alloc_relax_group_id", "(", ")", "{", "return", "relax_group_id", "++", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_alloc_relax_group_id", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242353, "Length": 10, "Cover_Rate": 1.0} {"Template_token": ["", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_FLOAD", "&&", "GET_CODE", "(", "pat", ")", "==", "SET", "&&", "(", "GET_MODE", "(", "XEXP", "(", "pat", ",", "", ")", ")", "==", "SFmode", "||", "GET_MODE", "(", "XEXP", "(", "pat", ",", "", ")", ")", "==", "DFmode", ")", "&&", "MEM_P", "(", "XEXP", "(", "pat", ",", "", ")", ")", ")", "{"], "ground_truth": ["rtx", "addr", "=", "XEXP", "(", "XEXP", "(", "pat", ",", "", ")", ",", "", ")", ";"], "File": "nds32-relax-opt", "Func": "nds32_float_reg_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242354, "Length": 76, "Cover_Rate": 0.5757575757575758} {"Template_token": ["", "if", "(", "!", "dominated_by_p", "(", "CDI_DOMINATORS", ",", "BLOCK_FOR_INSN", "(", "use_insn", ")", ",", "BLOCK_FOR_INSN", "(", "insn", ")", ")", ")", "return", ";", "use_record", "=", "DF_INSN_USES", "(", "use_insn", ")", ";", "if", "(", "DF_REF_CHAIN", "(", "use_record", ")", "&&", "DF_REF_CHAIN", "(", "use_record", ")", "->", "next", ")", "return", ";", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", ";", "if", "(", "!", "nds32_float_reg_load_store_p", "(", "use_insn", ")", "||", "find_post_update_rtx", "(", "use_insn", ")", "!=", "-", "", ")", "return", ";", "}"], "ground_truth": ["group_id", "=", "GEN_INT", "(", "nds32_alloc_relax_group_id", "(", ")", ")", ";"], "File": "nds32-relax-opt", "Func": "nds32_group_float_insns", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242355, "Length": 81, "Cover_Rate": 0.3767441860465116} {"Template_token": ["", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", ";", "if", "(", "!", "nds32_float_reg_load_store_p", "(", "use_insn", ")", "||", "find_post_update_rtx", "(", "use_insn", ")", "!=", "-", "", ")", "return", ";", "}", "group_id", "=", "GEN_INT", "(", "nds32_alloc_relax_group_id", "(", ")", ")", ";", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "insn", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";"], "ground_truth": ["emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "use_insn", ")", ";"], "File": "nds32-relax-opt", "Func": "nds32_group_float_insns", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242356, "Length": 97, "Cover_Rate": 0.4511627906976744} {"Template_token": ["", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", ";", "if", "(", "!", "(", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_lo_sum", "||", "nds32_symbol_load_store_p", "(", "use_insn", ")", "||", "(", "nds32_reg_base_load_store_p", "(", "use_insn", ")", "&&", "!", "nds32_sp_base_or_plus_load_store_p", "(", "use_insn", ")", ")", ")", ")", "return", ";", "}", "group_id", "=", "GEN_INT", "(", "nds32_alloc_relax_group_id", "(", ")", ")", ";", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "sethi", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "active_insn_p", "(", "use_insn", ")", ")", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "use_insn", ")", ";", "if", "(", "use_insn", "!=", "NULL", "&&", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_lo_sum", "&&", "!", "nds32_const_unspec_p", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "use_insn", ")", ")", ",", "", ")", ")", ")", "{", "int", "sym_type", "=", "nds32_pic_tls_symbol_type", "(", "use_insn", ")", ";", "valid", "=", "nds32_pic_tls_group", "(", "use_insn", ",", "RELAX_ORI", ",", "sym_type", ")", ";", "while", "(", "!", "nds32_group_infos", ".", "is_empty", "(", ")", ")", "{", "use_insn", "=", "nds32_group_infos", ".", "pop", "(", ")", ";", "if", "(", "valid", ")", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "use_insn", ")", ";", "}", "}", "}"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_group_insns", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242357, "Length": 204, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "rtx", "group_id", ";", "bool", "valid", ";", "def_record", "=", "DF_INSN_DEFS", "(", "sethi", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "dominated_by_p", "(", "CDI_DOMINATORS", ",", "BLOCK_FOR_INSN", "(", "use_insn", ")", ",", "BLOCK_FOR_INSN", "(", "sethi", ")", ")", ")", "return", ";", "use_record", "=", "DF_INSN_USES", "(", "use_insn", ")", ";", "if", "(", "DF_REF_CHAIN", "(", "use_record", ")", "&&", "DF_REF_CHAIN", "(", "use_record", ")", "->", "next", ")", "return", ";", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", ";", "if", "(", "!", "(", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_lo_sum", "||", "nds32_symbol_load_store_p", "(", "use_insn", ")", "||", "(", "nds32_reg_base_load_store_p", "(", "use_insn", ")", "&&", "!", "nds32_sp_base_or_plus_load_store_p", "(", "use_insn", ")", ")", ")", ")", "return", ";", "}", "group_id", "=", "GEN_INT", "(", "nds32_alloc_relax_group_id", "(", ")", ")", ";", "emit_insn_before", "(", "gen_relax_group", "(", "group_id", ")", ",", "sethi", ")", ";", "for", "(", "link", "=", "DF_REF_CHAIN", "(", "def_record", ")", ";", "link", ";", "link", "=", "link", "->", "next", ")", "{"], "ground_truth": ["if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";"], "File": "nds32-relax-opt", "Func": "nds32_group_insns", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242358, "Length": 187, "Cover_Rate": 0.5789473684210527} {"Template_token": ["", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "unspec_relax_group", "=", "XEXP", "(", "XVECEXP", "(", "pat", ",", "", ",", "", ")", ",", "", ")", ";"], "ground_truth": ["int", "group_id", "=", "nds32_alloc_relax_group_id", "(", ")", ";"], "File": "nds32-relax-opt", "Func": "nds32_group_tls_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242359, "Length": 32, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "unspec_relax_group", "=", "XEXP", "(", "XVECEXP", "(", "pat", ",", "", ",", "", ")", ",", "", ")", ";", "int", "group_id", "=", "nds32_alloc_relax_group_id", "(", ")", ";", "while", "(", "GET_CODE", "(", "pat", ")", "!=", "SET", "&&", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", ")", "{", "pat", "=", "XVECEXP", "(", "pat", ",", "", ",", "", ")", ";", "}", "if", "(", "GET_CODE", "(", "unspec_relax_group", ")", "==", "UNSPEC", "&&", "XINT", "(", "unspec_relax_group", ",", "", ")", "==", "UNSPEC_VOLATILE_RELAX_GROUP", ")", "{", "XVECEXP", "(", "unspec_relax_group", ",", "", ",", "", ")", "=", "GEN_INT", "(", "group_id", ")", ";", "}"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_group_tls_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242360, "Length": 96, "Cover_Rate": 0.9230769230769231} {"Template_token": ["", "static", "bool", "nds32_ict_const_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "x", "=", "XEXP", "(", "x", ",", "", ")", ";"], "ground_truth": ["return", "nds32_indirect_call_referenced_p", "(", "x", ")", ";"], "File": "nds32-relax-opt", "Func": "nds32_ict_const_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242361, "Length": 33, "Cover_Rate": 0.868421052631579} {"Template_token": ["", "switch", "(", "relax_type", ")", "{", "case", "RELAX_ORI", ":", "if", "(", "(", "sym_type", "==", "UNSPEC_TLSLE", "||", "sym_type", "==", "UNSPEC_GOTOFF", ")", "&&", "(", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_addsi3", ")", ")", "{", "pat", "=", "XEXP", "(", "PATTERN", "(", "use_insn", ")", ",", "", ")", ";", "new_pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "XEXP", "(", "pat", ",", "", ")", ",", "XEXP", "(", "pat", ",", "", ")", ")", ",", "UNSPEC_ADD32", ")", ";", "validate_replace_rtx", "(", "pat", ",", "new_pat", ",", "use_insn", ")", ";"], "ground_truth": ["nds32_group_infos", ".", "safe_push", "(", "use_insn", ")", ";"], "File": "nds32-relax-opt", "Func": "nds32_pic_tls_group", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242362, "Length": 86, "Cover_Rate": 0.3628691983122363} {"Template_token": ["", "if", "(", "!", "DF_REF_INSN_INFO", "(", "link", "->", "ref", ")", ")", "continue", ";", "use_insn", "=", "DF_REF_INSN", "(", "link", "->", "ref", ")", ";", "if", "(", "!", "dominated_by_p", "(", "CDI_DOMINATORS", ",", "BLOCK_FOR_INSN", "(", "use_insn", ")", ",", "BLOCK_FOR_INSN", "(", "def_insn", ")", ")", ")", "return", "FALSE", ";", "if", "(", "!", "active_insn_p", "(", "use_insn", ")", ")", "return", "FALSE", ";", "switch", "(", "relax_type", ")", "{", "case", "RELAX_ORI", ":", "if", "(", "(", "sym_type", "==", "UNSPEC_TLSLE", "||", "sym_type", "==", "UNSPEC_GOTOFF", ")", "&&", "(", "recog_memoized", "(", "use_insn", ")", "==", "CODE_FOR_addsi3", ")", ")", "{", "pat", "=", "XEXP", "(", "PATTERN", "(", "use_insn", ")", ",", "", ")", ";", "new_pat", "=", "gen_rtx_UNSPEC", "(", "SImode", ",", "gen_rtvec", "(", "", ",", "XEXP", "(", "pat", ",", "", ")", ",", "XEXP", "(", "pat", ",", "", ")", ")", ",", "UNSPEC_ADD32", ")", ";", "validate_replace_rtx", "(", "pat", ",", "new_pat", ",", "use_insn", ")", ";", "nds32_group_infos", ".", "safe_push", "(", "use_insn", ")", ";", "}", "else", "if", "(", "nds32_plus_reg_load_store_p", "(", "use_insn", ")", "&&", "!", "nds32_sp_base_or_plus_load_store_p", "(", "use_insn", ")", ")", "nds32_group_infos", ".", "safe_push", "(", "use_insn", ")", ";", "else", "return", "FALSE", ";", "break", ";"], "ground_truth": ["default", ":"], "File": "nds32-relax-opt", "Func": "nds32_pic_tls_group", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242363, "Length": 169, "Cover_Rate": 0.7130801687763713} {"Template_token": ["", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "{", "x", "=", "XEXP", "(", "x", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "x", "=", "XEXP", "(", "x", ",", "", ")", ";", "return", "XINT", "(", "x", ",", "", ")", ";", "}", "return", "XINT", "(", "x", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_pic_tls_symbol_type", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242364, "Length": 55, "Cover_Rate": 0.7051282051282052} {"Template_token": ["", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "x", "=", "XEXP", "(", "x", ",", "", ")", ";", "return", "XINT", "(", "x", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_pic_tls_symbol_type", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242365, "Length": 27, "Cover_Rate": 0.34615384615384615} {"Template_token": ["", "default", ":", "break", ";", "}", "if", "(", "mem_src", "!=", "NULL_RTX", ")", "{", "if", "(", "(", "GET_CODE", "(", "mem_src", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "mem_src", ")", "==", "SIGN_EXTEND", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "", ")", ";", "if", "(", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "==", "PLUS", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "", ")", ";", "else", "return", "false", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "==", "REG", ")", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_plus_reg_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242366, "Length": 92, "Cover_Rate": 0.6388888888888888} {"Template_token": ["", "if", "(", "(", "GET_CODE", "(", "mem_src", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "mem_src", ")", "==", "SIGN_EXTEND", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "==", "REG", ")", "return", "true", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_reg_base_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242367, "Length": 47, "Cover_Rate": 0.40869565217391307} {"Template_token": ["", "break", ";", "default", ":", "break", ";", "}", "if", "(", "mem_src", "!=", "NULL_RTX", ")", "{"], "ground_truth": ["if", "(", "(", "GET_CODE", "(", "mem_src", ")", "==", "ZERO_EXTEND", ")", "||", "(", "GET_CODE", "(", "mem_src", ")", "==", "SIGN_EXTEND", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "", ")", ";"], "File": "nds32-relax-opt", "Func": "nds32_reg_base_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242368, "Length": 43, "Cover_Rate": 0.3739130434782609} {"Template_token": ["", "static", "void", "nds32_relax_group", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "compute_bb_for_insn", "(", ")", ";", "df_chain_add_problem", "(", "DF_DU_CHAIN", "|", "DF_UD_CHAIN", ")", ";", "df_insn_rescan_all", "(", ")", ";", "df_analyze", "(", ")", ";", "df_set_flags", "(", "DF_DEFER_INSN_RESCAN", ")", ";", "calculate_dominance_info", "(", "CDI_DOMINATORS", ")", ";", "insn", "=", "get_insns", "(", ")", ";", "gcc_assert", "(", "NOTE_P", "(", "insn", ")", ")", ";", "for", "(", "insn", "=", "next_active_insn", "(", "insn", ")", ";", "insn", ";", "insn", "=", "next_active_insn", "(", "insn", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", ")", "{", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_sethi", "&&", "nds32_symbolic_operand", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "", ")", ",", "SImode", ")", "&&", "!", "nds32_ict_const_p", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "", ")", ")", ")", "nds32_group_insns", "(", "insn", ")", ";", "else", "if", "(", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_tls_ie", ")", "nds32_group_tls_insn", "(", "insn", ")", ";", "else", "if", "(", "TARGET_FPU_SINGLE", "&&", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_move_addr", "&&", "!", "nds32_ict_const_p", "(", "XEXP", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "", ")", ")", ")", "{", "nds32_group_float_insns", "(", "insn", ")", ";", "}", "}", "else", "if", "(", "CALL_P", "(", "insn", ")", "&&", "recog_memoized", "(", "insn", ")", "==", "CODE_FOR_tls_desc", ")", "{", "nds32_group_tls_insn", "(", "insn", ")", ";", "}", "}", "df_insn_rescan_all", "(", ")", ";", "df_finish_pass", "(", "false", ")", ";"], "ground_truth": ["free_dominance_info", "(", "CDI_DOMINATORS", ")", ";"], "File": "nds32-relax-opt", "Func": "nds32_relax_group", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242369, "Length": 219, "Cover_Rate": 0.9954545454545455} {"Template_token": ["", "static", "unsigned", "int", "nds32_relax_opt", "(", "void", ")", "{", "if", "(", "TARGET_RELAX_HINT", ")", "nds32_relax_group", "(", ")", ";", "return", "", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_relax_opt", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242370, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "(", "GET_CODE", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "==", "PLUS", ")", ")", "mem_src", "=", "XEXP", "(", "mem_src", ",", "", ")", ";", "if", "(", "REG_P", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "&&", "(", "(", "frame_pointer_needed", "&&", "REGNO", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "==", "FP_REGNUM", ")", "||", "REGNO", "(", "XEXP", "(", "mem_src", ",", "", ")", ")", "==", "SP_REGNUM", ")", ")", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "nds32_sp_base_or_plus_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242372, "Length": 75, "Cover_Rate": 0.44642857142857145} {"Template_token": ["", "pass_nds32_relax_opt", "(", "gcc", "::", "context", "*", "ctxt", ")", ":", "rtl_opt_pass", "(", "pass_data_nds32_relax_opt", ",", "ctxt", ")", "{"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "pass_nds32_relax_opt", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242373, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "pass_nds32_relax_opt", "(", "gcc", "::", "context", "*", "ctxt", ")", ":", "rtl_opt_pass", "(", "pass_data_nds32_relax_opt", ",", "ctxt", ")", "{"], "ground_truth": ["}"], "File": "nds32-relax-opt", "Func": "pass_nds32_relax_opt", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242374, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "case", "TYPE_LOAD_MULTIPLE", ":", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "", ")", "return", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "mem_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "", ")", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "", ")", "return", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "mem_rtx", "=", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "", ")", ")", ";", "break", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_FLOAD", ":", "case", "TYPE_STORE", ":"], "ground_truth": ["case", "TYPE_FSTORE", ":"], "File": "nds32-utils2", "Func": "extract_base_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242375, "Length": 96, "Cover_Rate": 0.3902439024390244} {"Template_token": ["", "case", "TYPE_LOAD_MULTIPLE", ":", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "", ")", "return", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";", "mem_rtx", "=", "SET_SRC", "(", "parallel_element", "(", "insn", ",", "", ")", ")", ";", "break", ";", "case", "TYPE_STORE_MULTIPLE", ":", "post_update_rtx_index", "=", "find_post_update_rtx", "(", "insn", ")", ";", "if", "(", "post_update_rtx_index", "!=", "-", "", ")", "return", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "post_update_rtx_index", ")", ")", ";"], "ground_truth": ["mem_rtx", "=", "SET_DEST", "(", "parallel_element", "(", "insn", ",", "", ")", ")", ";"], "File": "nds32-utils2", "Func": "extract_base_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242376, "Length": 82, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "rtx", "exp", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_MAC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "exp", ",", "", ")", ")", ")", "return", "XEXP", "(", "exp", ",", "", ")", ";", "else", "return", "XEXP", "(", "exp", ",", "", ")", ";"], "ground_truth": ["default", ":"], "File": "nds32-utils2", "Func": "extract_mac_non_acc_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242377, "Length": 53, "Cover_Rate": 0.7910447761194029} {"Template_token": ["", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_MAC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "exp", ",", "", ")", ")", ")", "return", "XEXP", "(", "exp", ",", "", ")", ";", "else", "return", "XEXP", "(", "exp", ",", "", ")", ";", "default", ":"], "ground_truth": ["gcc_unreachable", "(", ")", ";"], "File": "nds32-utils2", "Func": "extract_mac_non_acc_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242378, "Length": 46, "Cover_Rate": 0.6865671641791045} {"Template_token": ["", "if", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_udivmodsi4", ")", "return", "true", ";"], "ground_truth": ["return", "false", ";"], "File": "nds32-utils", "Func": "divmod_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242379, "Length": 22, "Cover_Rate": 0.5365853658536586} {"Template_token": ["", "gcc_assert", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", ";", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "{", "rtx", "if_then_else_rtx", "=", "SET_SRC", "(", "body", ")", ";"], "ground_truth": ["if", "(", "GET_CODE", "(", "if_then_else_rtx", ")", "==", "IF_THEN_ELSE", ")", "return", "XEXP", "(", "if_then_else_rtx", ",", "", ")", ";"], "File": "nds32-utils", "Func": "extract_branch_condition_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242380, "Length": 56, "Cover_Rate": 0.6292134831460674} {"Template_token": ["", "return", "SET_SRC", "(", "body", ")", ";", "}", "if", "(", "GET_CODE", "(", "body", ")", "==", "CALL", ")", "return", "XEXP", "(", "body", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "PARALLEL", ")", "{", "rtx", "first_rtx", "=", "parallel_element", "(", "body", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "first_rtx", ")", "==", "SET", ")", "return", "SET_SRC", "(", "first_rtx", ")", ";", "if", "(", "GET_CODE", "(", "first_rtx", ")", "==", "CALL", ")", "return", "XEXP", "(", "first_rtx", ",", "", ")", ";", "}", "if", "(", "GET_CODE", "(", "body", ")", "==", "COND_EXEC", ")", "{", "rtx", "addr_rtx", "=", "XEXP", "(", "body", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "SET", ")", "return", "SET_SRC", "(", "addr_rtx", ")", ";", "if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PARALLEL", ")", "{", "rtx", "first_rtx", "=", "parallel_element", "(", "addr_rtx", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "first_rtx", ")", "==", "SET", ")", "{", "rtx", "call_rtx", "=", "SET_SRC", "(", "first_rtx", ")", ";"], "ground_truth": ["gcc_assert", "(", "GET_CODE", "(", "call_rtx", ")", "==", "CALL", ")", ";"], "File": "nds32-utils", "Func": "extract_branch_target_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242381, "Length": 160, "Cover_Rate": 0.6477732793522267} {"Template_token": ["", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_MAC", ":", "case", "TYPE_DMAC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "exp", ",", "", ")", ")", ")", "return", "XEXP", "(", "exp", ",", "", ")", ";", "else", "return", "XEXP", "(", "exp", ",", "", ")", ";"], "ground_truth": ["default", ":"], "File": "nds32-utils", "Func": "extract_mac_non_acc_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242382, "Length": 45, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "rtx", "exp", "=", "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_MAC", ":", "case", "TYPE_DMAC", ":", "if", "(", "REG_P", "(", "XEXP", "(", "exp", ",", "", ")", ")", ")", "return", "XEXP", "(", "exp", ",", "", ")", ";", "else", "return", "XEXP", "(", "exp", ",", "", ")", ";", "default", ":"], "ground_truth": ["gcc_unreachable", "(", ")", ";"], "File": "nds32-utils", "Func": "extract_mac_non_acc_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242383, "Length": 60, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "case", "TYPE_FSTORE", ":", "if", "(", "MEM_P", "(", "SET_DEST", "(", "body", ")", ")", ")", "return", "SET_DEST", "(", "body", ")", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "body", ")", ")", "==", "UNSPEC", ")", "{", "gcc_assert", "(", "MEM_P", "(", "XVECEXP", "(", "SET_DEST", "(", "body", ")", ",", "", ",", "", ")", ")", ")", ";", "return", "XVECEXP", "(", "SET_DEST", "(", "body", ")", ",", "", ",", "", ")", ";", "}", "gcc_assert", "(", "MEM_P", "(", "XEXP", "(", "SET_DEST", "(", "body", ")", ",", "", ")", ")", ")", ";", "return", "XEXP", "(", "SET_DEST", "(", "body", ")", ",", "", ")", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}"], "ground_truth": ["}"], "File": "nds32-utils", "Func": "extract_mem_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242384, "Length": 99, "Cover_Rate": 0.45} {"Template_token": ["", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "machine_mode", "mode", ";", "gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";", "switch", "(", "GET_MODE", "(", "def_reg", ")", ")", "{", "case", "E_DImode", ":", "mode", "=", "SImode", ";"], "ground_truth": ["break", ";"], "File": "nds32-utils", "Func": "extract_movd44_odd_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242385, "Length": 46, "Cover_Rate": 0.5287356321839081} {"Template_token": ["", "gcc_assert", "(", "movd44_insn_p", "(", "insn", ")", ")", ";", "rtx", "def_reg", "=", "SET_DEST", "(", "PATTERN", "(", "insn", ")", ")", ";", "machine_mode", "mode", ";"], "ground_truth": ["gcc_assert", "(", "REG_P", "(", "def_reg", ")", "||", "GET_CODE", "(", "def_reg", ")", "==", "SUBREG", ")", ";"], "File": "nds32-utils", "Func": "extract_movd44_odd_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242386, "Length": 37, "Cover_Rate": 0.42528735632183906} {"Template_token": ["", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "if", "(", "REG_P", "(", "XEXP", "(", "mem_rtx", ",", "", ")", ")", ")", "return", "NULL_RTX", ";", "plus_rtx", "=", "XEXP", "(", "mem_rtx", ",", "", ")", ";", "switch", "(", "GET_CODE", "(", "plus_rtx", ")", ")", "{", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "case", "POST_INC", ":", "case", "POST_DEC", ":", "return", "NULL_RTX", ";", "case", "PLUS", ":"], "ground_truth": ["if", "(", "REG_P", "(", "XEXP", "(", "plus_rtx", ",", "", ")", ")", ")", "offset_rtx", "=", "XEXP", "(", "plus_rtx", ",", "", ")", ";"], "File": "nds32-utils", "Func": "extract_offset_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242387, "Length": 88, "Cover_Rate": 0.3142857142857143} {"Template_token": ["", "if", "(", "INSN_P", "(", "insn", ")", ")", "return", "PATTERN", "(", "insn", ")", ";"], "ground_truth": ["return", "insn", ";"], "File": "nds32-utils", "Func": "extract_pattern_from_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242388, "Length": 16, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "rtx", "shift_rtx", ";", "if", "(", "REG_P", "(", "XEXP", "(", "alu_rtx", ",", "", ")", ")", ")", "shift_rtx", "=", "XEXP", "(", "alu_rtx", ",", "", ")", ";", "else", "shift_rtx", "=", "XEXP", "(", "alu_rtx", ",", "", ")", ";", "return", "XEXP", "(", "shift_rtx", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32-utils", "Func": "extract_shift_reg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242390, "Length": 43, "Cover_Rate": 0.6615384615384615} {"Template_token": ["", "return", "-", "", ";", "case", "TYPE_LOAD", ":", "case", "TYPE_FLOAD", ":", "case", "TYPE_STORE", ":", "case", "TYPE_FSTORE", ":", "mem_rtx", "=", "extract_mem_rtx", "(", "insn", ")", ";", "switch", "(", "GET_CODE", "(", "XEXP", "(", "mem_rtx", ",", "", ")", ")", ")", "{", "case", "POST_INC", ":", "case", "POST_DEC", ":", "case", "POST_MODIFY", ":", "return", "", ";", "default", ":", "return", "-", "", ";", "}"], "ground_truth": ["default", ":"], "File": "nds32-utils", "Func": "find_post_update_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242391, "Length": 57, "Cover_Rate": 0.36774193548387096} {"Template_token": ["", "gcc_assert", "(", "MEM_P", "(", "mem_rtx", ")", ")", ";", "rtx", "addr_rtx", "=", "XEXP", "(", "mem_rtx", ",", "", ")", ";", "if", "(", "REG_P", "(", "addr_rtx", ")", ")", "return", "true", ";"], "ground_truth": ["if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "addr_rtx", ",", "", ")", ")", "==", "CONST_INT", ")", "return", "true", ";"], "File": "nds32-utils", "Func": "immed_offset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242392, "Length": 52, "Cover_Rate": 0.8253968253968254} {"Template_token": ["", "if", "(", "GET_CODE", "(", "addr_rtx", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "addr_rtx", ",", "", ")", ")", "==", "CONST_INT", ")", "return", "true", ";"], "ground_truth": ["return", "false", ";"], "File": "nds32-utils", "Func": "immed_offset_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242393, "Length": 27, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "bool", "load_double_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "get_attr_type", "(", "insn", ")", "!=", "TYPE_LOAD", ")", "return", "false", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_move_di", "&&", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_move_df", ")", "return", "false", ";"], "ground_truth": ["return", "true", ";"], "File": "nds32-utils", "Func": "load_double_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242394, "Length": 42, "Cover_Rate": 0.9767441860465116} {"Template_token": ["", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "body", ")", ";", "rtx", "dest", "=", "SET_DEST", "(", "body", ")", ";", "if", "(", "(", "REG_P", "(", "src", ")", "||", "GET_CODE", "(", "src", ")", "==", "SUBREG", ")", "&&", "(", "REG_P", "(", "dest", ")", "||", "GET_CODE", "(", "dest", ")", "==", "SUBREG", ")", ")", "return", "true", ";", "return", "false", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "nds32-utils", "Func": "movd44_insn_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242395, "Length": 74, "Cover_Rate": 0.6788990825688074} {"Template_token": ["", "rtx", "src", "=", "SET_SRC", "(", "body", ")", ";", "rtx", "dest", "=", "SET_DEST", "(", "body", ")", ";"], "ground_truth": ["if", "(", "(", "REG_P", "(", "src", ")", "||", "GET_CODE", "(", "src", ")", "==", "SUBREG", ")", "&&", "(", "REG_P", "(", "dest", ")", "||", "GET_CODE", "(", "dest", ")", "==", "SUBREG", ")", ")", "return", "true", ";"], "File": "nds32-utils", "Func": "movd44_insn_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242396, "Length": 49, "Cover_Rate": 0.44954128440366975} {"Template_token": ["", "gcc_assert", "(", "GET_CODE", "(", "parallel_rtx", ")", "==", "PARALLEL", ")", ";"], "ground_truth": ["return", "XVECLEN", "(", "parallel_rtx", ",", "", ")", ";"], "File": "nds32-utils", "Func": "parallel_elements", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242397, "Length": 18, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "if", "(", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_move_di", "&&", "INSN_CODE", "(", "insn", ")", "!=", "CODE_FOR_move_df", ")", "return", "false", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "nds32-utils", "Func": "store_double_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242401, "Length": 23, "Cover_Rate": 0.5348837209302325} {"Template_token": ["", "rtx", "offset_rtx", "=", "extract_offset_rtx", "(", "insn", ")", ";", "if", "(", "offset_rtx", "==", "NULL_RTX", ")", "return", "false", ";"], "ground_truth": ["if", "(", "REG_P", "(", "offset_rtx", ")", ")", "return", "true", ";"], "File": "nds32-utils", "Func": "store_offset_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242402, "Length": 27, "Cover_Rate": 0.5294117647058824} {"Template_token": ["", "bool", "store_offset_reg_p", "(", "rtx_insn", "*", "insn", ")", "{"], "ground_truth": ["if", "(", "get_attr_type", "(", "insn", ")", "!=", "TYPE_STORE", ")", "return", "false", ";"], "File": "nds32-utils", "Func": "store_offset_reg_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242403, "Length": 20, "Cover_Rate": 0.39215686274509803} {"Template_token": ["", "if", "(", "get_attr_type", "(", "insn", ")", "!=", "TYPE_STORE", ")", "return", "false", ";"], "ground_truth": ["if", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_move_di", "||", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_move_df", ")", "return", "false", ";"], "File": "nds32-utils", "Func": "store_single_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242404, "Length": 31, "Cover_Rate": 0.7209302325581395} {"Template_token": ["", "unsigned", "int", "nds32_debugger_regno", "(", "unsigned", "int", "regno", ")", "{"], "ground_truth": ["if", "(", "NDS32_IS_FPR_REGNUM", "(", "regno", ")", ")", "return", "regno", "+", "", ";"], "File": "nds321", "Func": "nds32_debugger_regno", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242405, "Length": 21, "Cover_Rate": 0.84} {"Template_token": ["", "static", "rtx_insn", "*", "nds32_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "inputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "machine_mode", ">", "&", "input_modes", "ATTRIBUTE_UNUSED", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ")", "{", "if", "(", "!", "flag_inline_asm_r15", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "TA_REGNUM", ")", ";", "}", "return", "NULL", ";"], "ground_truth": ["}"], "File": "nds321", "Func": "nds32_md_asm_adjust", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242406, "Length": 81, "Cover_Rate": 1.0} {"Template_token": ["", "static", "rtx_insn", "*", "nds32_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "inputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "machine_mode", ">", "&", "input_modes", "ATTRIBUTE_UNUSED", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ")", "{", "if", "(", "!", "flag_inline_asm_r15", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "TA_REGNUM", ")", ";"], "ground_truth": ["}"], "File": "nds321", "Func": "nds32_md_asm_adjust", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242407, "Length": 77, "Cover_Rate": 0.9506172839506173} {"Template_token": ["", "unsigned", "int", "total_args_regs", ";", "unsigned", "int", "num_of_used_regs", ";", "unsigned", "int", "remaining_reg_count", ";", "CUMULATIVE_ARGS", "*", "cum", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "return", ";", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "total_args_regs", "=", "NDS32_MAX_GPR_REGS_FOR_ARGS", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "else", "num_of_used_regs", "=", "cum", "->", "gpr_offset", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";"], "ground_truth": ["return", ";"], "File": "nds321", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242408, "Length": 98, "Cover_Rate": 0.8166666666666667} {"Template_token": ["", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "else", "num_of_used_regs", "=", "cum", "->", "gpr_offset", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";", "return", ";"], "ground_truth": ["}"], "File": "nds321", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242409, "Length": 64, "Cover_Rate": 0.5333333333333333} {"Template_token": ["", "if", "(", "REG_P", "(", "src", ")", "&&", "REG_P", "(", "dst", ")", "&&", "(", "REGNO", "(", "src", ")", "%", "", ")", "==", "", "&&", "(", "REGNO", "(", "dst", ")", "%", "", ")", "==", "", ")", "length", "=", "", ";", "break", ";", "default", ":", "break", ";", "}", "return", "length", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_adjust_insn_length", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242410, "Length": 49, "Cover_Rate": 0.47572815533980584} {"Template_token": ["", "unsigned", "int", "needed_reg_count", ";", "unsigned", "int", "remaining_reg_count", ";", "CUMULATIVE_ARGS", "*", "cum", ";", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "", ";"], "ground_truth": ["if", "(", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ">=", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", ")", "return", "", ";"], "File": "nds322", "Func": "nds32_arg_partial_bytes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242411, "Length": 46, "Cover_Rate": 0.42990654205607476} {"Template_token": ["", "static", "int", "nds32_arg_partial_bytes", "(", "cumulative_args_t", "ca", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "needed_reg_count", ";", "unsigned", "int", "remaining_reg_count", ";", "CUMULATIVE_ARGS", "*", "cum", ";", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "", ";", "if", "(", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ">=", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", ")", "return", "", ";", "needed_reg_count", "=", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "remaining_reg_count", "=", "NDS32_MAX_GPR_REGS_FOR_ARGS", "-", "(", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_GPR_ARG_FIRST_REGNUM", ")", ";"], "ground_truth": ["if", "(", "needed_reg_count", ">", "remaining_reg_count", ")", "return", "remaining_reg_count", "*", "UNITS_PER_WORD", ";"], "File": "nds322", "Func": "nds32_arg_partial_bytes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242412, "Length": 103, "Cover_Rate": 0.9626168224299065} {"Template_token": ["", "nds32_asm_file_end_for_isr", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_asm_file_end", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242413, "Length": 12, "Cover_Rate": 0.631578947368421} {"Template_token": ["", "fprintf", "(", "asm_out_file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_asm_file_end", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242414, "Length": 8, "Cover_Rate": 0.42105263157894735} {"Template_token": ["", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "nds32_isr_vector_size", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "if", "(", "TARGET_ISA_V2", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "if", "(", "TARGET_ISA_V3", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "if", "(", "TARGET_ISA_V3M", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "if", "(", "TARGET_CMODEL_SMALL", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "if", "(", "TARGET_CMODEL_MEDIUM", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "if", "(", "TARGET_CMODEL_LARGE", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_BIG_ENDIAN", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_CMOV", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_PERF_EXT", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_V3PUSH", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_16_BIT", ")", "?", "", ":", "", ")", ")", ";"], "ground_truth": ["fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_REDUCED_REGS", ")", "?", "", ":", "", ")", ")", ";"], "File": "nds322", "Func": "nds32_asm_file_start", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242415, "Length": 225, "Cover_Rate": 0.7188498402555911} {"Template_token": ["", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_CMOV", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_PERF_EXT", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_V3PUSH", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_16_BIT", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_REDUCED_REGS", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "if", "(", "optimize_size", ")", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "else", "fprintf", "(", "asm_out_file", ",", "", ",", "optimize", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "nds32_cache_block_size", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "nds32_asm_file_start_for_isr", "(", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_asm_file_start", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242416, "Length": 148, "Cover_Rate": 0.4728434504792332} {"Template_token": ["", "static", "void", "nds32_asm_function_begin_epilogue", "(", "FILE", "*", "file", ")", "{"], "ground_truth": ["if", "(", "!", "frame_pointer_needed", "&&", "!", "cfun", "->", "machine", "->", "naked_p", "&&", "cfun", "->", "machine", "->", "fp_as_gp_p", ")", "{"], "File": "nds322", "Func": "nds32_asm_function_begin_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242417, "Length": 28, "Cover_Rate": 0.42424242424242425} {"Template_token": ["", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "}"], "ground_truth": ["fprintf", "(", "file", ",", "", ")", ";"], "File": "nds322", "Func": "nds32_asm_function_begin_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242418, "Length": 22, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "fprintf", "(", "file", ",", "", "", ")", ";", "fprintf", "(", "file", ",", "", "", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", "", ")", ";", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["fprintf", "(", "file", ",", "", ")", ";"], "File": "nds322", "Func": "nds32_asm_function_end_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242419, "Length": 45, "Cover_Rate": 0.46875} {"Template_token": ["", "static", "void", "nds32_asm_function_epilogue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_asm_function_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242420, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_asm_function_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242421, "Length": 8, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "fprintf", "(", "file", ",", "", ",", "cfun", "->", "machine", "->", "local_size", ")", ";", "fprintf", "(", "file", ",", "", ",", "cfun", "->", "machine", "->", "out_args_size", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "for", "(", "r", "=", "", ";", "r", "<", "", ";", "r", "++", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "r", ")", ")", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "r", "]", ")", ";", "}", "fputc", "(", "'\\n'", ",", "file", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "attrs", "=", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ";", "if", "(", "!", "attrs", ")", "fprintf", "(", "file", ",", "", ")", ";", "func_name", "=", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", ";", "nds32_construct_isr_vectors_information", "(", "attrs", ",", "func_name", ")", ";", "while", "(", "attrs", ")", "{", "name", "=", "TREE_PURPOSE", "(", "attrs", ")", ";"], "ground_truth": ["fprintf", "(", "file", ",", "", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";"], "File": "nds322", "Func": "nds32_asm_function_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242422, "Length": 141, "Cover_Rate": 0.6619718309859155} {"Template_token": ["", "if", "(", "satisfies_constraint_Is15", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ",", "delta", ")", ";", "}", "else", "if", "(", "satisfies_constraint_Is20", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "}"], "ground_truth": ["fprintf", "(", "file", ",", "", ")", ";"], "File": "nds322", "Func": "nds32_asm_output_mi_thunk", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242423, "Length": 98, "Cover_Rate": 0.5025641025641026} {"Template_token": ["", "static", "void", "nds32_asm_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "function", ")", "{", "int", "this_regno", ";", "final_start_function", "(", "emit_barrier", "(", ")", ",", "file", ",", "", ")", ";", "this_regno", "=", "(", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ",", "function", ")", "?", "", ":", "", ")", ";", "if", "(", "delta", "!=", "", ")", "{", "if", "(", "satisfies_constraint_Is15", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ",", "delta", ")", ";", "}", "else", "if", "(", "satisfies_constraint_Is20", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "else", "{"], "ground_truth": ["fprintf", "(", "file", ",", "", ",", "delta", ")", ";"], "File": "nds322", "Func": "nds32_asm_output_mi_thunk", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242424, "Length": 134, "Cover_Rate": 0.6871794871794872} {"Template_token": ["", "return", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_can_use_return_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242425, "Length": 20, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "int", "nds32_can_use_return_insn", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "", ";"], "ground_truth": ["return", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", ")", ";"], "File": "nds322", "Func": "nds32_can_use_return_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242426, "Length": 33, "Cover_Rate": 0.9705882352941176} {"Template_token": ["", "if", "(", "lookup_attribute", "(", "", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "||", "(", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "==", "SP_REGNUM", "&&", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "==", "SP_REGNUM", "&&", "!", "df_regs_ever_live_p", "(", "FP_REGNUM", ")", "&&", "!", "df_regs_ever_live_p", "(", "LP_REGNUM", ")", "&&", "cfun", "->", "machine", "->", "local_size", "==", "", ")", ")", "{", "cfun", "->", "machine", "->", "naked_p", "=", "", ";", "cfun", "->", "machine", "->", "fp_size", "=", "", ";", "cfun", "->", "machine", "->", "gp_size", "=", "", ";", "cfun", "->", "machine", "->", "lp_size", "=", "", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "", ";", "return", ";", "}", "if", "(", "TARGET_V3PUSH", "&&", "!", "nds32_isr_function_p", "(", "current_function_decl", ")", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", ")", "{", "cfun", "->", "machine", "->", "fp_size", "=", "", ";", "cfun", "->", "machine", "->", "gp_size", "=", "", ";", "cfun", "->", "machine", "->", "lp_size", "=", "", ";", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "=", "", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "<=", "", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "<=", "", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "<=", "", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "<=", "", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "==", "SP_REGNUM", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "{", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "!=", "SP_REGNUM", ")", "{", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "=", "", "*", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "-", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "+", "", ")", ";", "}", "block_size", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "if", "(", "!", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "block_size", ")", ")", "{"], "ground_truth": ["cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "=", "NDS32_ROUND_UP_DOUBLE_WORD", "(", "block_size", ")", "-", "block_size", ";"], "File": "nds322", "Func": "nds32_compute_stack_frame", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242427, "Length": 343, "Cover_Rate": 0.5276923076923077} {"Template_token": ["", "return", ";", "}", "if", "(", "TARGET_V3PUSH", "&&", "!", "nds32_isr_function_p", "(", "current_function_decl", ")", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", ")", "{", "cfun", "->", "machine", "->", "fp_size", "=", "", ";", "cfun", "->", "machine", "->", "gp_size", "=", "", ";", "cfun", "->", "machine", "->", "lp_size", "=", "", ";", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "=", "", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "<=", "", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "<=", "", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "<=", "", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "<=", "", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "==", "SP_REGNUM", ")", "{", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "", ";", "}", "else", "{", "gcc_unreachable", "(", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "!=", "SP_REGNUM", ")", "{", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "=", "", "*", "(", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "-", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "+", "", ")", ";", "}", "block_size", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "if", "(", "!", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "block_size", ")", ")", "{", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "=", "NDS32_ROUND_UP_DOUBLE_WORD", "(", "block_size", ")", "-", "block_size", ";", "}", "if", "(", "flag_stack_usage_info", ")", "{", "current_function_static_stack_size", "=", "NDS32_ROUND_UP_DOUBLE_WORD", "(", "block_size", ")", "+", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_compute_stack_frame", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242428, "Length": 278, "Cover_Rate": 0.4276923076923077} {"Template_token": ["", "par_index", "=", "", ";", "offset", "=", "", ";", "for", "(", "regno", "=", "REGNO", "(", "Rb", ")", ";", "regno", "<=", "(", "int", ")", "REGNO", "(", "Re", ")", ";", "regno", "++", ")", "{", "if", "(", "regno", "==", "SP_REGNUM", ")", "break", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "if", "(", "save_fp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "if", "(", "save_gp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "if", "(", "save_lp", ")", "{"], "ground_truth": ["reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";"], "File": "nds322", "Func": "nds32_emit_stack_pop_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242429, "Length": 288, "Cover_Rate": 0.4982698961937716} {"Template_token": ["", "for", "(", "regno", "=", "REGNO", "(", "Rb", ")", ";", "regno", "<=", "(", "int", ")", "REGNO", "(", "Re", ")", ";", "regno", "++", ")", "{", "if", "(", "regno", "==", "SP_REGNUM", ")", "break", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "if", "(", "save_fp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "if", "(", "save_gp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_emit_stack_pop_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242430, "Length": 266, "Cover_Rate": 0.4602076124567474} {"Template_token": ["", "rtx", "parallel_insn", ";", "rtx", "dwarf", ";", "save_fp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "save_gp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "save_lp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "extra_count", "=", "", ";", "if", "(", "save_fp", ")", "extra_count", "++", ";", "if", "(", "save_gp", ")", "extra_count", "++", ";", "if", "(", "save_lp", ")", "extra_count", "++", ";", "if", "(", "REGNO", "(", "Rb", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "Re", ")", "==", "SP_REGNUM", ")", "num_use_regs", "=", "extra_count", ";", "else", "num_use_regs", "=", "REGNO", "(", "Re", ")", "-", "REGNO", "(", "Rb", ")", "+", "", "+", "extra_count", ";", "parallel_insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_use_regs", "+", "", ")", ")", ";", "par_index", "=", "", ";", "offset", "=", "-", "(", "num_use_regs", "*", "", ")", ";", "for", "(", "regno", "=", "REGNO", "(", "Rb", ")", ";", "regno", "<=", "(", "int", ")", "REGNO", "(", "Re", ")", ";", "regno", "++", ")", "{", "if", "(", "regno", "==", "SP_REGNUM", ")", "break", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";"], "ground_truth": ["push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";"], "File": "nds322", "Func": "nds32_emit_stack_push_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242431, "Length": 189, "Cover_Rate": 0.33629893238434166} {"Template_token": ["", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "if", "(", "save_fp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "if", "(", "save_gp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "if", "(", "save_lp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "offset", "=", "-", "(", "num_use_regs", "*", "", ")", ";", "adjust_sp_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "adjust_sp_rtx", ";", "RTX_FRAME_RELATED_P", "(", "adjust_sp_rtx", ")", "=", "", ";", "parallel_insn", "=", "emit_insn", "(", "parallel_insn", ")", ";"], "ground_truth": ["RTX_FRAME_RELATED_P", "(", "parallel_insn", ")", "=", "", ";"], "File": "nds322", "Func": "nds32_emit_stack_push_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242432, "Length": 321, "Cover_Rate": 0.5711743772241993} {"Template_token": ["", "static", "void", "nds32_emit_stack_v3pop", "(", "rtx", "Rb", ",", "rtx", "Re", ",", "rtx", "En4", "ATTRIBUTE_UNUSED", ",", "rtx", "imm8u", ")", "{", "int", "regno", ";", "int", "num_use_regs", ";", "int", "par_index", ";", "int", "offset", ";", "rtx", "reg", ";", "rtx", "mem", ";", "rtx", "pop_rtx", ";", "rtx", "adjust_sp_rtx", ";", "rtx", "parallel_insn", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "num_use_regs", "=", "REGNO", "(", "Re", ")", "-", "REGNO", "(", "Rb", ")", "+", "", "+", "", ";", "parallel_insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_use_regs", "+", "", ")", ")", ";", "par_index", "=", "", ";", "offset", "=", "", ";", "for", "(", "regno", "=", "REGNO", "(", "Rb", ")", ";", "regno", "<=", "(", "int", ")", "REGNO", "(", "Re", ")", ";", "regno", "++", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";"], "ground_truth": ["reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";"], "File": "nds322", "Func": "nds32_emit_stack_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242433, "Length": 269, "Cover_Rate": 0.5627615062761506} {"Template_token": ["", "Re", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ")", ";", "en4_const", "=", "", ";", "if", "(", "cfun", "->", "machine", "->", "fp_size", ")", "en4_const", "+=", "", ";", "if", "(", "cfun", "->", "machine", "->", "gp_size", ")", "en4_const", "+=", "", ";", "if", "(", "cfun", "->", "machine", "->", "lp_size", ")", "en4_const", "+=", "", ";", "if", "(", "!", "(", "REGNO", "(", "Rb", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "Re", ")", "==", "SP_REGNUM", "&&", "en4_const", "==", "", ")", ")", "{", "nds32_emit_stack_pop_multiple", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "en4_const", ")", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "va_args_size", "+", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_expand_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242434, "Length": 144, "Cover_Rate": 0.3538083538083538} {"Template_token": ["", "rtx", "Rb", ",", "Re", ";", "rtx", "sp_adjust_insn", ";", "nds32_compute_stack_frame", "(", ")", ";", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "{", "if", "(", "!", "sibcall_p", ")", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "return", ";", "}", "Rb", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ")", ";", "Re", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ")", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "", ")", ",", "GEN_INT", "(", "sp_adjust", ")", ")", ";", "}", "else", "{", "if", "(", "frame_pointer_needed", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "GEN_INT", "(", "-", "", "*", "sp_adjust", ")", ")", ";"], "ground_truth": ["sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";"], "File": "nds322", "Func": "nds32_expand_epilogue_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242435, "Length": 185, "Cover_Rate": 0.6630824372759857} {"Template_token": ["", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "", ")", "{", "Rb", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "va_args_first_regno", ")", ";", "Re", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "va_args_last_regno", ")", ";", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "", ")", ",", "true", ")", ";", "if", "(", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "", "*", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "return", ";", "Rb", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ")", ";", "Re", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ")", ";", "en4_const", "=", "", ";", "if", "(", "cfun", "->", "machine", "->", "fp_size", ")", "en4_const", "+=", "", ";", "if", "(", "cfun", "->", "machine", "->", "gp_size", ")", "en4_const", "+=", "", ";", "if", "(", "cfun", "->", "machine", "->", "lp_size", ")", "en4_const", "+=", "", ";", "if", "(", "!", "(", "REGNO", "(", "Rb", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "Re", ")", "==", "SP_REGNUM", "&&", "en4_const", "==", "", ")", ")", "{", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "en4_const", ")", ",", "false", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "fp_adjust_insn", "=", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "fp_adjust", ")", ")", ";", "fp_adjust_insn", "=", "emit_insn", "(", "fp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "fp_adjust_insn", ")", "=", "", ";", "}"], "ground_truth": ["sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";"], "File": "nds322", "Func": "nds32_expand_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242436, "Length": 296, "Cover_Rate": 0.774869109947644} {"Template_token": ["", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "", "*", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "naked_p", ")", "return", ";", "Rb", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ")", ";", "Re", "=", "gen_rtx_REG", "(", "SImode", ",", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ")", ";", "en4_const", "=", "", ";", "if", "(", "cfun", "->", "machine", "->", "fp_size", ")", "en4_const", "+=", "", ";", "if", "(", "cfun", "->", "machine", "->", "gp_size", ")", "en4_const", "+=", "", ";", "if", "(", "cfun", "->", "machine", "->", "lp_size", ")", "en4_const", "+=", "", ";", "if", "(", "!", "(", "REGNO", "(", "Rb", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "Re", ")", "==", "SP_REGNUM", "&&", "en4_const", "==", "", ")", ")", "{", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "en4_const", ")", ",", "false", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "fp_adjust_insn", "=", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "fp_adjust", ")", ")", ";", "fp_adjust_insn", "=", "emit_insn", "(", "fp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "fp_adjust_insn", ")", "=", "", ";", "}", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "sp_adjust", "=", "nds32_force_addi_stack_int", "(", "(", "-", "", ")", "*", "sp_adjust", ")", ";"], "ground_truth": ["if", "(", "sp_adjust", ")", "{"], "File": "nds322", "Func": "nds32_expand_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242437, "Length": 245, "Cover_Rate": 0.6413612565445026} {"Template_token": ["", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "", ")", ",", "GEN_INT", "(", "", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "fp_adjust_insn", "=", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "fp_adjust", ")", ")", ";", "fp_adjust_insn", "=", "emit_insn", "(", "fp_adjust_insn", ")", ";", "}", "sp_adjust", "=", "nds32_force_addi_stack_int", "(", "(", "-", "", ")", "*", "sp_adjust", ")", ";", "if", "(", "sp_adjust", ")", "{"], "ground_truth": ["sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "", "*", "sp_adjust", ")", ")", ";"], "File": "nds322", "Func": "nds32_expand_prologue_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242438, "Length": 104, "Cover_Rate": 0.34551495016611294} {"Template_token": ["", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "sp_adjust", ";", "fp_adjust_insn", "=", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "fp_adjust", ")", ")", ";", "fp_adjust_insn", "=", "emit_insn", "(", "fp_adjust_insn", ")", ";", "}", "}", "else", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "GEN_INT", "(", "", ")", ",", "GEN_INT", "(", "", ")", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "fp_adjust_insn", "=", "gen_addsi3", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "fp_adjust", ")", ")", ";", "fp_adjust_insn", "=", "emit_insn", "(", "fp_adjust_insn", ")", ";", "}", "sp_adjust", "=", "nds32_force_addi_stack_int", "(", "(", "-", "", ")", "*", "sp_adjust", ")", ";", "if", "(", "sp_adjust", ")", "{", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "", "*", "sp_adjust", ")", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "", ";", "}", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_expand_prologue_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242439, "Length": 181, "Cover_Rate": 0.6013289036544851} {"Template_token": ["", "if", "(", "full_value", "<", "", ")", "{", "rtx", "plus_rtx", ";", "rtx", "set_rtx", ";", "plus_rtx", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "full_value", ")", ";", "set_rtx", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "plus_rtx", ")", ";", "add_reg_note", "(", "sp_adjust_insn", ",", "REG_FRAME_RELATED_EXPR", ",", "set_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "", ";", "}"], "ground_truth": ["return", "", ";"], "File": "nds322", "Func": "nds32_force_addi_stack_int", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242440, "Length": 55, "Cover_Rate": 0.3767123287671233} {"Template_token": ["", "if", "(", "!", "named", ")", "{", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "NULL_RTX", ";", "if", "(", "NDS32_ARG_PARTIAL_IN_GPR_REG_P", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ")", "{", "regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "return", "NULL_RTX", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_function_arg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242441, "Length": 53, "Cover_Rate": 0.36551724137931035} {"Template_token": ["", "unsignedp", "=", "TYPE_UNSIGNED", "(", "ret_type", ")", ";", "mode", "=", "promote_mode", "(", "ret_type", ",", "mode", ",", "&", "unsignedp", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "NDS32_GPR_RET_FIRST_REGNUM", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_function_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242442, "Length": 28, "Cover_Rate": 0.49122807017543857} {"Template_token": ["", "unsignedp", "=", "TYPE_UNSIGNED", "(", "ret_type", ")", ";", "mode", "=", "promote_mode", "(", "ret_type", ",", "mode", ",", "&", "unsignedp", ")", ";"], "ground_truth": ["return", "gen_rtx_REG", "(", "mode", ",", "NDS32_GPR_RET_FIRST_REGNUM", ")", ";"], "File": "nds322", "Func": "nds32_function_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242443, "Length": 27, "Cover_Rate": 0.47368421052631576} {"Template_token": ["", "static", "bool", "nds32_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "NDS32_GPR_RET_FIRST_REGNUM", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_function_value_regno_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242444, "Length": 18, "Cover_Rate": 1.0} {"Template_token": ["", "static", "bool", "nds32_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{"], "ground_truth": ["return", "(", "regno", "==", "NDS32_GPR_RET_FIRST_REGNUM", ")", ";"], "File": "nds322", "Func": "nds32_function_value_regno_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242445, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "int", "nds32_hard_regno_nregs", "(", "int", "regno", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{"], "ground_truth": ["return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";"], "File": "nds322", "Func": "nds32_hard_regno_nregs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242448, "Length": 27, "Cover_Rate": 0.9642857142857143} {"Template_token": ["", "else", "if", "(", "from_reg", "==", "FRAME_POINTER_REGNUM", "&&", "to_reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "offset", "=", "(", "-", "", ")", "*", "(", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ")", ";", "}", "else", "{", "gcc_unreachable", "(", ")", ";", "}", "return", "offset", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_initial_elimination_offset", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242449, "Length": 63, "Cover_Rate": 0.3387096774193548} {"Template_token": ["", "void", "nds32_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "n_named_args", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["cum", "->", "gpr_offset", "=", "", ";"], "File": "nds322", "Func": "nds32_init_cumulative_args", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242450, "Length": 30, "Cover_Rate": 0.967741935483871} {"Template_token": ["", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "naked_p", "=", "", ";", "machine", "->", "fp_as_gp_p", "=", "", ";"], "ground_truth": ["return", "machine", ";"], "File": "nds322", "Func": "nds32_init_machine_status", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242452, "Length": 29, "Cover_Rate": 0.7435897435897436} {"Template_token": ["", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "naked_p", "=", "", ";", "machine", "->", "fp_as_gp_p", "=", "", ";", "return", "machine", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_init_machine_status", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242453, "Length": 30, "Cover_Rate": 0.7692307692307693} {"Template_token": ["", "if", "(", "nds32_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", "&&", "nds32_legitimate_index_p", "(", "mode", ",", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "", ")", ")", ")", "return", "true", ";", "else", "if", "(", "nds32_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", "&&", "nds32_legitimate_index_p", "(", "mode", ",", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "", ")", ")", ")", "return", "true", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "!=", "REG", "&&", "GET_CODE", "(", "x", ")", "!=", "SYMBOL_REF", "&&", "GET_CODE", "(", "x", ")", "!=", "CONST", ")", "return", "false", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "return", "nds32_address_register_rtx_p", "(", "x", ",", "strict", ")", ";", "case", "SYMBOL_REF", ":", "if", "(", "TARGET_CMODEL_LARGE", "&&", "(", "reload_completed", "||", "reload_in_progress", "||", "lra_in_progress", ")", ")", "return", "false", ";", "if", "(", "TARGET_CMODEL_MEDIUM", "&&", "NDS32_SYMBOL_REF_RODATA_P", "(", "x", ")", "&&", "(", "reload_completed", "||", "reload_in_progress", "||", "lra_in_progress", ")", ")", "return", "false", ";", "return", "true", ";", "case", "CONST", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "PLUS", ")", "{", "rtx", "plus_op", "=", "XEXP", "(", "x", ",", "", ")", ";", "rtx", "op0", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "rtx", "op1", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "if", "(", "TARGET_CMODEL_LARGE", "&&", "(", "reload_completed", "||", "reload_in_progress", "||", "lra_in_progress", ")", ")", "return", "false", ";", "if", "(", "TARGET_CMODEL_MEDIUM", "&&", "NDS32_SYMBOL_REF_RODATA_P", "(", "op0", ")", "&&", "(", "reload_completed", "||", "reload_in_progress", "||", "lra_in_progress", ")", ")", "return", "false", ";", "return", "true", ";", "}"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_legitimate_address_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242454, "Length": 274, "Cover_Rate": 0.4840989399293286} {"Template_token": ["", "return", "true", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", "==", "", "&&", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is17", "(", "gen_int_mode", "(", "INTVAL", "(", "index", ")", "+", "", ",", "SImode", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", "return", "false", ";", "case", "MULT", ":", "op0", "=", "XEXP", "(", "index", ",", "", ")", ";", "op1", "=", "XEXP", "(", "index", ",", "", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "int", "multiplier", ";", "multiplier", "=", "INTVAL", "(", "op1", ")", ";", "if", "(", "multiplier", "!=", "", "&&", "multiplier", "!=", "", "&&", "multiplier", "!=", "", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "op0", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_INDEX_P", "(", "regno", ")", ";", "else", "return", "true", ";", "}", "return", "false", ";", "case", "ASHIFT", ":", "op0", "=", "XEXP", "(", "index", ",", "", ")", ";", "op1", "=", "XEXP", "(", "index", ",", "", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "int", "sv", ";", "sv", "=", "INTVAL", "(", "op1", ")", ";", "if", "(", "sv", "!=", "", "&&", "sv", "!=", "", "&&", "sv", "!=", "", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "op0", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_INDEX_P", "(", "regno", ")", ";", "else", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["default", ":"], "File": "nds322", "Func": "nds32_legitimate_index_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242455, "Length": 224, "Cover_Rate": 0.5989304812834224} {"Template_token": ["", "if", "(", "!", "satisfies_constraint_Is15", "(", "index", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", "==", "", "&&", "NDS32_HALF_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is16", "(", "index", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", "==", "", "&&", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is17", "(", "index", ")", ")", "return", "false", ";", "return", "true", ";", "}", "if", "(", "GET_MODE_SIZE", "(", "outer_mode", ")", "==", "", "&&", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is17", "(", "gen_int_mode", "(", "INTVAL", "(", "index", ")", "+", "", ",", "SImode", ")", ")", ")", "return", "false", ";", "return", "true", ";", "}", "return", "false", ";", "case", "MULT", ":", "op0", "=", "XEXP", "(", "index", ",", "", ")", ";", "op1", "=", "XEXP", "(", "index", ",", "", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "int", "multiplier", ";", "multiplier", "=", "INTVAL", "(", "op1", ")", ";"], "ground_truth": ["if", "(", "multiplier", "!=", "", "&&", "multiplier", "!=", "", "&&", "multiplier", "!=", "", ")", "return", "false", ";"], "File": "nds322", "Func": "nds32_legitimate_index_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242456, "Length": 188, "Cover_Rate": 0.5026737967914439} {"Template_token": ["", "return", "gen_rtx_REG", "(", "mode", ",", "NDS32_GPR_RET_FIRST_REGNUM", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_libcall_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242458, "Length": 9, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "", ")", "return", "satisfies_constraint_Iu05", "(", "imm", ")", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "", ")", "return", "satisfies_constraint_Iu04", "(", "imm", ")", ";"], "ground_truth": ["if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "", ")", "return", "satisfies_constraint_Iu03", "(", "imm", ")", ";"], "File": "nds322", "Func": "nds32_ls_333_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242459, "Length": 45, "Cover_Rate": 0.5056179775280899} {"Template_token": ["", "bool", "nds32_ls_333_p", "(", "rtx", "rt", ",", "rtx", "ra", ",", "rtx", "imm", ",", "machine_mode", "mode", ")", "{", "if", "(", "REGNO_REG_CLASS", "(", "REGNO", "(", "rt", ")", ")", "==", "LOW_REGS", "&&", "REGNO_REG_CLASS", "(", "REGNO", "(", "ra", ")", ")", "==", "LOW_REGS", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "", ")", "return", "satisfies_constraint_Iu05", "(", "imm", ")", ";"], "ground_truth": ["if", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "", ")", "return", "satisfies_constraint_Iu04", "(", "imm", ")", ";"], "File": "nds322", "Func": "nds32_ls_333_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242460, "Length": 69, "Cover_Rate": 0.7752808988764045} {"Template_token": ["", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "must_pass_in_stack_var_size_or_pad", "(", "mode", ",", "type", ")", ";", "else", "return", "must_pass_in_stack_var_size", "(", "mode", ",", "type", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_must_pass_in_stack", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242461, "Length": 22, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "static", "bool", "nds32_must_pass_in_stack", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "must_pass_in_stack_var_size_or_pad", "(", "mode", ",", "type", ")", ";", "else", "return", "must_pass_in_stack_var_size", "(", "mode", ",", "type", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_must_pass_in_stack", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242462, "Length": 33, "Cover_Rate": 1.0} {"Template_token": ["", "tree", "t", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";", "t", "=", "lookup_attribute", "(", "", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";"], "ground_truth": ["return", "(", "t", "!=", "NULL_TREE", ")", ";"], "File": "nds322", "Func": "nds32_naked_function_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242463, "Length": 35, "Cover_Rate": 0.7954545454545454} {"Template_token": ["", "static", "bool", "nds32_naked_function_p", "(", "tree", "func", ")", "{", "tree", "t", ";"], "ground_truth": ["if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";"], "File": "nds322", "Func": "nds32_naked_function_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242464, "Length": 24, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "}", "if", "(", "TARGET_ISA_V3", ")", "{", "}", "if", "(", "TARGET_ISA_V3M", ")", "{", "target_flags", "|=", "MASK_REDUCED_REGS", ";", "target_flags", "&=", "~", "MASK_PERF_EXT", ";", "}", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "int", "r", ";"], "ground_truth": ["for", "(", "r", "=", "", ";", "r", "<=", "", ";", "r", "++", ")", "fixed_regs", "[", "r", "]", "=", "call_used_regs", "[", "r", "]", "=", "", ";"], "File": "nds322", "Func": "nds32_option_override", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242465, "Length": 55, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "else", "if", "(", "op_value", "<", "", "||", "op_value", ">=", "(", "(", "int", ")", "ARRAY_SIZE", "(", "nds32_intrinsic_register_names", ")", "+", "", ")", ")", "{", "error", "(", "", ")", ";", "}", "else", "{", "fprintf", "(", "stream", ",", "", ",", "nds32_intrinsic_register_names", "[", "op_value", "-", "", "]", ")", ";", "}", "return", ";", "default", ":", "output_operand_lossage", "(", "", ")", ";", "break", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":"], "ground_truth": ["output_addr_const", "(", "stream", ",", "x", ")", ";"], "File": "nds322", "Func": "nds32_print_operand", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242466, "Length": 78, "Cover_Rate": 0.3406113537117904} {"Template_token": ["", "rtx", "op0", ",", "op1", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "fputs", "(", "", ",", "stream", ")", ";", "output_addr_const", "(", "stream", ",", "x", ")", ";", "fputs", "(", "", ",", "stream", ")", ";", "break", ";", "case", "REG", ":", "if", "(", "TARGET_REDUCED_REGS", "&&", "REGNO", "(", "x", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "op0", "=", "XEXP", "(", "x", ",", "", ")", ";", "op1", "=", "XEXP", "(", "x", ",", "", ")", ";", "if", "(", "TARGET_REDUCED_REGS", "&&", "REG_P", "(", "op0", ")", "&&", "REGNO", "(", "op0", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";", "if", "(", "TARGET_REDUCED_REGS", "&&", "REG_P", "(", "op1", ")", "&&", "REGNO", "(", "op1", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "fprintf", "(", "stream", ",", "", ",", "reg_names", "[", "REGNO", "(", "op0", ")", "]", ",", "(", "int", ")", "INTVAL", "(", "op1", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "op0", ")", "&&", "REG_P", "(", "op1", ")", ")", "{", "fprintf", "(", "stream", ",", "", ",", "reg_names", "[", "REGNO", "(", "op0", ")", "]", ",", "reg_names", "[", "REGNO", "(", "op1", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op0", ")", "==", "MULT", "&&", "REG_P", "(", "op1", ")", ")", "{", "int", "sv", ";", "if", "(", "INTVAL", "(", "XEXP", "(", "op0", ",", "", ")", ")", "==", "", ")", "sv", "=", "", ";", "else", "if", "(", "INTVAL", "(", "XEXP", "(", "op0", ",", "", ")", ")", "==", "", ")", "sv", "=", "", ";"], "ground_truth": ["else", "if", "(", "INTVAL", "(", "XEXP", "(", "op0", ",", "", ")", ")", "==", "", ")", "sv", "=", "", ";"], "File": "nds322", "Func": "nds32_print_operand_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242467, "Length": 291, "Cover_Rate": 0.4817880794701987} {"Template_token": ["", "static", "int", "nds32_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "from", "==", "HIGH_REGS", "||", "to", "==", "HIGH_REGS", ")", "return", "", ";"], "ground_truth": ["return", "", ";"], "File": "nds322", "Func": "nds32_register_move_cost", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242468, "Length": 31, "Cover_Rate": 0.96875} {"Template_token": ["", "if", "(", "optimize_size", "&&", "hard_regno", "<", "", ")", "return", "", ";", "return", "", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_register_priority", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242469, "Length": 15, "Cover_Rate": 0.6521739130434783} {"Template_token": ["", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "LOW_REGS", ";", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "MIDDLE_REGS", ";", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "HIGH_REGS", ";", "else", "if", "(", "regno", "==", "", ")", "return", "R15_TA_REG", ";"], "ground_truth": ["else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "MIDDLE_REGS", ";"], "File": "nds322", "Func": "nds32_regno_reg_class", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242470, "Length": 65, "Cover_Rate": 0.6132075471698113} {"Template_token": ["", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "LOW_REGS", ";", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "MIDDLE_REGS", ";", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "HIGH_REGS", ";", "else", "if", "(", "regno", "==", "", ")", "return", "R15_TA_REG", ";"], "ground_truth": ["else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "MIDDLE_REGS", ";"], "File": "nds322", "Func": "nds32_regno_reg_class", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242471, "Length": 65, "Cover_Rate": 0.6132075471698113} {"Template_token": ["", "rtx", "nds32_return_addr_rtx", "(", "int", "count", ",", "rtx", "frameaddr", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "", ")", "return", "NULL_RTX", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "LP_REGNUM", ")", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_return_addr_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242472, "Length": 29, "Cover_Rate": 1.0} {"Template_token": ["", "rtx", "nds32_return_addr_rtx", "(", "int", "count", ",", "rtx", "frameaddr", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["if", "(", "count", "!=", "", ")", "return", "NULL_RTX", ";"], "File": "nds322", "Func": "nds32_return_addr_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242473, "Length": 20, "Cover_Rate": 0.6896551724137931} {"Template_token": ["", "static", "bool", "nds32_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{"], "ground_truth": ["return", "nds32_rtx_costs_impl", "(", "x", ",", "code", ",", "outer_code", ",", "opno", ",", "total", ",", "speed", ")", ";"], "File": "nds322", "Func": "nds32_rtx_costs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242475, "Length": 40, "Cover_Rate": 0.975609756097561} {"Template_token": ["", "if", "(", "TARGET_HARD_FLOAT", ")", "return", ";", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "total_args_regs", "=", "NDS32_MAX_GPR_REGS_FOR_ARGS", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";", "return", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242476, "Length": 55, "Cover_Rate": 0.5913978494623656} {"Template_token": ["", "total_args_regs", "=", "NDS32_MAX_GPR_REGS_FOR_ARGS", "+", "NDS32_GPR_ARG_FIRST_REGNUM", ";", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";"], "ground_truth": ["return", ";"], "File": "nds322", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242477, "Length": 41, "Cover_Rate": 0.44086021505376344} {"Template_token": ["", "if", "(", "optimize_size", ")", "return", "", ";", "insn", "=", "next_active_insn", "(", "label", ")", ";", "if", "(", "insn", "==", "", ")", "return", "", ";", "else", "if", "(", "(", "get_attr_length", "(", "insn", ")", "%", "", ")", "==", "", ")", "return", "", ";", "else", "return", "", ";"], "ground_truth": ["}"], "File": "nds322", "Func": "nds32_target_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242478, "Length": 45, "Cover_Rate": 0.8035714285714286} {"Template_token": ["", "rtx_insn", "*", "insn", ";", "if", "(", "optimize_size", ")", "return", "", ";", "insn", "=", "next_active_insn", "(", "label", ")", ";", "if", "(", "insn", "==", "", ")", "return", "", ";", "else", "if", "(", "(", "get_attr_length", "(", "insn", ")", "%", "", ")", "==", "", ")", "return", "", ";"], "ground_truth": ["else", "return", "", ";"], "File": "nds322", "Func": "nds32_target_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242479, "Length": 48, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "int", "extra_count", ";", "int", "num_use_regs", ";", "int", "par_index", ";", "int", "offset", ";", "int", "save_fp", ",", "save_gp", ",", "save_lp", ";", "rtx", "reg", ";", "rtx", "mem", ";", "rtx", "pop_rtx", ";", "rtx", "adjust_sp_rtx", ";", "rtx", "parallel_insn", ";", "rtx", "dwarf", "=", "NULL_RTX", ";", "save_fp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "save_gp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "save_lp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "extra_count", "=", "", ";", "if", "(", "save_fp", ")", "extra_count", "++", ";", "if", "(", "save_gp", ")", "extra_count", "++", ";", "if", "(", "save_lp", ")", "extra_count", "++", ";", "if", "(", "REGNO", "(", "Rb", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "Re", ")", "==", "SP_REGNUM", ")", "num_use_regs", "=", "extra_count", ";", "else", "num_use_regs", "=", "REGNO", "(", "Re", ")", "-", "REGNO", "(", "Rb", ")", "+", "", "+", "extra_count", ";", "parallel_insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_use_regs", "+", "", ")", ")", ";", "par_index", "=", "", ";", "offset", "=", "", ";", "for", "(", "regno", "=", "REGNO", "(", "Rb", ")", ";", "regno", "<=", "(", "int", ")", "REGNO", "(", "Re", ")", ";", "regno", "++", ")", "{", "if", "(", "regno", "==", "SP_REGNUM", ")", "break", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "if", "(", "save_fp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";"], "ground_truth": ["dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";"], "File": "nds323", "Func": "nds32_emit_stack_pop_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242480, "Length": 331, "Cover_Rate": 0.5827464788732394} {"Template_token": ["", "rtx", "adjust_sp_rtx", ";", "rtx", "parallel_insn", ";", "rtx", "dwarf", ";", "save_fp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "save_gp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "save_lp", "=", "INTVAL", "(", "En4", ")", "&", "", ";", "extra_count", "=", "", ";", "if", "(", "save_fp", ")", "extra_count", "++", ";", "if", "(", "save_gp", ")", "extra_count", "++", ";", "if", "(", "save_lp", ")", "extra_count", "++", ";", "if", "(", "REGNO", "(", "Rb", ")", "==", "SP_REGNUM", "&&", "REGNO", "(", "Re", ")", "==", "SP_REGNUM", ")", "num_use_regs", "=", "extra_count", ";", "else", "num_use_regs", "=", "REGNO", "(", "Re", ")", "-", "REGNO", "(", "Rb", ")", "+", "", "+", "extra_count", ";", "parallel_insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_use_regs", "+", "", ")", ")", ";", "par_index", "=", "", ";", "offset", "=", "-", "(", "num_use_regs", "*", "", ")", ";", "for", "(", "regno", "=", "REGNO", "(", "Rb", ")", ";", "regno", "<=", "(", "int", ")", "REGNO", "(", "Re", ")", ";", "regno", "++", ")", "{", "if", "(", "regno", "==", "SP_REGNUM", ")", "break", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "if", "(", "save_fp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "if", "(", "save_gp", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}"], "ground_truth": ["if", "(", "save_lp", ")", "{"], "File": "nds323", "Func": "nds32_emit_stack_push_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242481, "Length": 357, "Cover_Rate": 0.6467391304347826} {"Template_token": ["", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";"], "ground_truth": ["offset", "=", "-", "(", "num_use_regs", "*", "", ")", ";"], "File": "nds323", "Func": "nds32_emit_stack_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242482, "Length": 192, "Cover_Rate": 0.45823389021479716} {"Template_token": ["", "static", "int", "nds32_force_addi_stack_int", "(", "int", "full_value", ")", "{", "int", "adjust_value", ";", "rtx", "tmp_reg", ";", "rtx", "sp_adjust_insn", ";", "if", "(", "!", "satisfies_constraint_Is15", "(", "GEN_INT", "(", "full_value", ")", ")", ")", "{", "tmp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "GEN_INT", "(", "full_value", ")", ")", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp_reg", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";"], "ground_truth": ["if", "(", "full_value", "<", "", ")", "{"], "File": "nds323", "Func": "nds32_force_addi_stack_int", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242483, "Length": 73, "Cover_Rate": 0.5069444444444444} {"Template_token": ["", "tmp_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "GEN_INT", "(", "full_value", ")", ")", ";", "sp_adjust_insn", "=", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "tmp_reg", ")", ";", "sp_adjust_insn", "=", "emit_insn", "(", "sp_adjust_insn", ")", ";", "if", "(", "full_value", "<", "", ")", "{", "rtx", "plus_rtx", ";", "rtx", "set_rtx", ";", "plus_rtx", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "full_value", ")", ";", "set_rtx", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_rtx", ")", ";", "add_reg_note", "(", "sp_adjust_insn", ",", "REG_FRAME_RELATED_EXPR", ",", "set_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "sp_adjust_insn", ")", "=", "", ";", "}", "return", "", ";", "}", "else", "{", "adjust_value", "=", "(", "full_value", "<", "", ")", "?", "(", "-", "full_value", ")", ":", "(", "full_value", ")", ";", "return", "adjust_value", ";", "}"], "ground_truth": ["}"], "File": "nds323", "Func": "nds32_force_addi_stack_int", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242484, "Length": 115, "Cover_Rate": 0.7986111111111112} {"Template_token": ["", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "stream", ",", "x", ")", ";", "break", ";", "case", "REG", ":", "if", "(", "TARGET_REDUCED_REGS", "&&", "REGNO", "(", "x", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "stream", ")", ";", "break", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "x", ")", ",", "XEXP", "(", "x", ",", "", ")", ")", ";", "break", ";", "case", "CODE_LABEL", ":", "case", "CONST_INT", ":"], "ground_truth": ["case", "CONST", ":"], "File": "nds323", "Func": "nds32_print_operand", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242485, "Length": 75, "Cover_Rate": 0.32051282051282054} {"Template_token": ["", "target_flags", "&=", "~", "MASK_V3PUSH", ";", "}", "if", "(", "TARGET_ISA_V3", ")", "{", "}", "if", "(", "TARGET_ISA_V3M", ")", "{", "target_flags", "|=", "MASK_REDUCED_REGS", ";", "target_flags", "&=", "~", "MASK_PERF_EXT", ";", "}", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "int", "r", ";", "for", "(", "r", "=", "", ";", "r", "<=", "", ";", "r", "++", ")", "fixed_regs", "[", "r", "]", "=", "call_used_regs", "[", "r", "]", "=", "", ";", "for", "(", "r", "=", "", ";", "r", "<=", "", ";", "r", "++", ")", "fixed_regs", "[", "r", "]", "=", "call_used_regs", "[", "r", "]", "=", "", ";", "}", "if", "(", "!", "TARGET_16_BIT", ")", "{"], "ground_truth": ["target_flags", "&=", "~", "MASK_V3PUSH", ";"], "File": "nds324", "Func": "nds32_option_override", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242486, "Length": 97, "Cover_Rate": 0.8083333333333333} {"Template_token": ["", "if", "(", "optimize_size", ")", "return", "", ";", "insn", "=", "next_active_insn", "(", "label", ")", ";", "if", "(", "insn", "==", "", ")", "return", "", ";", "else", "if", "(", "(", "get_attr_length", "(", "insn", ")", "%", "", ")", "==", "", ")", "return", "", ";"], "ground_truth": ["else", "return", "", ";"], "File": "nds324", "Func": "nds32_target_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242487, "Length": 44, "Cover_Rate": 0.7719298245614035} {"Template_token": ["", "insn", "=", "next_active_insn", "(", "label", ")", ";", "if", "(", "insn", "==", "", ")", "return", "", ";", "else", "if", "(", "(", "get_attr_length", "(", "insn", ")", "%", "", ")", "==", "", ")", "return", "", ";"], "ground_truth": ["else", "return", "", ";"], "File": "nds324", "Func": "nds32_target_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242488, "Length": 37, "Cover_Rate": 0.6491228070175439} {"Template_token": ["", "}", "else", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "}", "fprintf", "(", "file", ",", "", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "", ")", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["final_end_function", "(", ")", ";"], "File": "nds325", "Func": "nds32_asm_output_mi_thunk", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242489, "Length": 76, "Cover_Rate": 0.37438423645320196} {"Template_token": ["", "int", "nds32_can_use_return_insn", "(", "void", ")", "{", "int", "sp_adjust", ";", "if", "(", "!", "reload_completed", ")", "return", "", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_as_gp_p", "&&", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", "&&", "NDS32_V3PUSH_AVAILABLE_P", "&&", "!", "(", "TARGET_HARD_FLOAT", "&&", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", ")", ")", "return", "", ";"], "ground_truth": ["return", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", ")", ";"], "File": "nds325", "Func": "nds32_can_use_return_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242491, "Length": 109, "Cover_Rate": 0.990909090909091} {"Template_token": ["", "else", "call_used_regs", "[", "regno", "]", "=", "", ";", "}", "}", "else", "if", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "{", "for", "(", "regno", "=", "NDS32_FIRST_FPR_REGNUM", ";", "regno", "<=", "NDS32_LAST_FPR_REGNUM", ";", "regno", "++", ")", "fixed_regs", "[", "regno", "]", "=", "", ";"], "ground_truth": ["}"], "File": "nds325", "Func": "nds32_conditional_register_usage", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242493, "Length": 39, "Cover_Rate": 0.34513274336283184} {"Template_token": ["", "dwarf_high", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "dwarf_low", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_low", ",", "dwarf_high", ")", ")", ";", "}", "else", "if", "(", "mode", "==", "DCmode", ")", "{", "rtx", "dwarf_high_re", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "dwarf_low_re", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "rtx", "dwarf_high_im", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "dwarf_low_im", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_low_re", ",", "dwarf_high_re", ",", "dwarf_high_im", ",", "dwarf_low_im", ")", ")", ";", "}", "else", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "{", "dwarf_single", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_single", ")", ")", ";"], "ground_truth": ["}"], "File": "nds325", "Func": "nds32_dwarf_register_span", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242494, "Length": 143, "Cover_Rate": 0.6713615023474179} {"Template_token": ["", "static", "rtx", "nds32_dwarf_register_span", "(", "rtx", "reg", ")", "{", "rtx", "dwarf_high", ",", "dwarf_low", ";", "rtx", "dwarf_single", ";", "machine_mode", "mode", ";", "int", "regno", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "regno", ">=", "NDS32_FIRST_FPR_REGNUM", "&&", "regno", "<=", "NDS32_LAST_FPR_REGNUM", ")", "{", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "SCmode", ")", "{", "dwarf_high", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "dwarf_low", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_low", ",", "dwarf_high", ")", ")", ";", "}", "else", "if", "(", "mode", "==", "DCmode", ")", "{", "rtx", "dwarf_high_re", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "dwarf_low_re", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "rtx", "dwarf_high_im", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "dwarf_low_im", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_low_re", ",", "dwarf_high_re", ",", "dwarf_high_im", ",", "dwarf_low_im", ")", ")", ";", "}", "else", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "{", "dwarf_single", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_single", ")", ")", ";", "}"], "ground_truth": ["else", "{"], "File": "nds325", "Func": "nds32_dwarf_register_span", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242495, "Length": 203, "Cover_Rate": 0.9530516431924883} {"Template_token": ["", "int", "gpr_padding", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "nds32_emit_pop_fpr_callee_saved", "(", "gpr_padding", ")", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "}", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "gpr_padding", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";"], "ground_truth": ["nds32_emit_pop_fpr_callee_saved", "(", "gpr_padding", ")", ";"], "File": "nds325", "Func": "nds32_expand_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242496, "Length": 169, "Cover_Rate": 0.3141263940520446} {"Template_token": ["", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "va_args_size", "+", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "}", "if", "(", "!", "sibcall_p", ")", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "return", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "gpr_padding", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "nds32_emit_pop_fpr_callee_saved", "(", "gpr_padding", ")", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "}", "else", "{"], "ground_truth": ["if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{"], "File": "nds325", "Func": "nds32_expand_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242497, "Length": 198, "Cover_Rate": 0.3680297397769517} {"Template_token": ["", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "-", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "-", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{"], "ground_truth": ["int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";"], "File": "nds325", "Func": "nds32_expand_epilogue_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242498, "Length": 196, "Cover_Rate": 0.5038560411311054} {"Template_token": ["", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "-", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "-", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "fpr_space", ")", ";", "}", "else", "{"], "ground_truth": ["nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "", ")", ";"], "File": "nds325", "Func": "nds32_expand_epilogue_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242499, "Length": 164, "Cover_Rate": 0.42159383033419023} {"Template_token": ["", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ";", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_offset", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "!", "satisfies_constraint_Is14", "(", "GEN_INT", "(", "fpr_offset", ")", ")", ")", "{", "int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "fpr_space", ")", ";", "nds32_emit_push_fpr_callee_saved", "(", "", ")", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "local_size", ";", "nds32_emit_push_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "}"], "ground_truth": ["else", "{"], "File": "nds325", "Func": "nds32_expand_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242500, "Length": 215, "Cover_Rate": 0.4460580912863071} {"Template_token": ["", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ";", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_offset", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "!", "satisfies_constraint_Is14", "(", "GEN_INT", "(", "fpr_offset", ")", ")", ")", "{", "int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "fpr_space", ")", ";", "nds32_emit_push_fpr_callee_saved", "(", "", ")", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "local_size", ";", "nds32_emit_push_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "}"], "ground_truth": ["else", "{"], "File": "nds325", "Func": "nds32_expand_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242501, "Length": 215, "Cover_Rate": 0.4460580912863071} {"Template_token": ["", "unsigned", "int", "regno", ";", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "NULL_RTX", ";", "if", "(", "!", "named", ")", "{", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "NULL_RTX", ";", "if", "(", "NDS32_ARG_PARTIAL_IN_GPR_REG_P", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ")", "{", "regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "return", "NULL_RTX", ";", "}", "if", "(", "TARGET_HARD_FLOAT", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "NDS32_ARG_ENTIRE_IN_FPR_REG_P", "(", "cum", "->", "fpr_offset", ",", "mode", ",", "type", ")", ")", "{", "regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_FPR_ARG", "(", "cum", "->", "fpr_offset", ",", "mode", ",", "type", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "NDS32_ARG_ENTIRE_IN_GPR_REG_P", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ")", "{"], "ground_truth": ["regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ";"], "File": "nds325", "Func": "nds32_function_arg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242502, "Length": 158, "Cover_Rate": 0.6929824561403509} {"Template_token": ["", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "NDS32_ARG_ENTIRE_IN_GPR_REG_P", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ")", "{", "regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "}", "else", "{", "if", "(", "NDS32_ARG_PARTIAL_IN_GPR_REG_P", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ")", "{", "regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}"], "ground_truth": ["}"], "File": "nds325", "Func": "nds32_function_arg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242503, "Length": 85, "Cover_Rate": 0.37280701754385964} {"Template_token": ["", "cum", "->", "fpr_offset", "=", "NDS32_AVAILABLE_REGNUM_FOR_FPR_ARG", "(", "cum", "->", "fpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_FPR_ARG_FIRST_REGNUM", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "}", "else", "{", "cum", "->", "gpr_offset", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "}", "}"], "ground_truth": ["else", "{"], "File": "nds325", "Func": "nds32_function_arg_advance", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242504, "Length": 55, "Cover_Rate": 0.4198473282442748} {"Template_token": ["", "if", "(", "TARGET_HARD_FLOAT", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "cum", "->", "fpr_offset", "=", "NDS32_AVAILABLE_REGNUM_FOR_FPR_ARG", "(", "cum", "->", "fpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_FPR_ARG_FIRST_REGNUM", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "}", "else", "{", "cum", "->", "gpr_offset", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "}", "}", "else", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{"], "ground_truth": ["cum", "->", "gpr_offset", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";"], "File": "nds325", "Func": "nds32_function_arg_advance", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242505, "Length": 97, "Cover_Rate": 0.7404580152671756} {"Template_token": ["", "static", "bool", "nds32_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "regno", ">", "FIRST_PSEUDO_REGISTER", ")", "return", "true", ";", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "&&", "NDS32_IS_FPR_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "NDS32_IS_EXT_FPR_REGNUM", "(", "regno", ")", ")", "return", "(", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", "&&", "(", "mode", "==", "DFmode", ")", ")", ";", "else", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "return", "false", ";", "}"], "ground_truth": ["if", "(", "regno", "<=", "NDS32_LAST_GPR_REGNUM", ")", "return", "(", "targetm", ".", "hard_regno_nregs", "(", "regno", ",", "mode", ")", "==", "", "||", "!", "(", "(", "regno", ")", "&", "", ")", ")", ";"], "File": "nds325", "Func": "nds32_hard_regno_mode_ok", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242508, "Length": 119, "Cover_Rate": 0.967479674796748} {"Template_token": ["", "if", "(", "regno", ">", "FIRST_PSEUDO_REGISTER", ")", "return", "true", ";", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "&&", "NDS32_IS_FPR_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "NDS32_IS_EXT_FPR_REGNUM", "(", "regno", ")", ")", "return", "(", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", "&&", "(", "mode", "==", "DFmode", ")", ")", ";", "else", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "return", "false", ";", "}"], "ground_truth": ["if", "(", "regno", "<=", "NDS32_LAST_GPR_REGNUM", ")", "return", "(", "targetm", ".", "hard_regno_nregs", "(", "regno", ",", "mode", ")", "==", "", "||", "!", "(", "(", "regno", ")", "&", "", ")", ")", ";"], "File": "nds325", "Func": "nds32_hard_regno_mode_ok", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242509, "Length": 107, "Cover_Rate": 0.8699186991869918} {"Template_token": ["", "machine", "->", "use_eh_return_p", "=", "", ";", "machine", "->", "naked_p", "=", "", ";", "machine", "->", "fp_as_gp_p", "=", "", ";", "machine", "->", "strict_aligned_p", "=", "", ";", "return", "machine", ";"], "ground_truth": ["}"], "File": "nds325", "Func": "nds32_init_machine_status", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242510, "Length": 28, "Cover_Rate": 0.5490196078431373} {"Template_token": ["", "}", "}", "else", "if", "(", "reset", ")", "{", "tree", "id_list", ";", "tree", "id", ";", "tree", "nmi", ",", "warm", ";", "unsigned", "int", "lower_bound", ";", "unsigned", "int", "upper_bound", ";", "id_list", "=", "TREE_VALUE", "(", "reset", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "lower_bound", "=", "", ";", "upper_bound", "=", "", ";", "if", "(", "TREE_CODE", "(", "id", ")", "!=", "INTEGER_CST", "||", "wi", "::", "ltu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "lower_bound", ")", "||", "wi", "::", "gtu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "upper_bound", ")", ")", "error", "(", "", ")", ";", "nmi", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "warm", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "if", "(", "nmi", "!=", "NULL_TREE", ")", "{", "tree", "nmi_func_list", ";", "tree", "nmi_func", ";"], "ground_truth": ["nmi_func_list", "=", "TREE_VALUE", "(", "nmi", ")", ";"], "File": "nds325", "Func": "nds32_insert_attributes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242511, "Length": 129, "Cover_Rate": 0.3225} {"Template_token": ["", "lower_bound", "=", "", ";", "upper_bound", "=", "", ";", "if", "(", "TREE_CODE", "(", "id", ")", "!=", "INTEGER_CST", "||", "wi", "::", "ltu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "lower_bound", ")", "||", "wi", "::", "gtu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "upper_bound", ")", ")", "error", "(", "", ")", ";", "nmi", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "warm", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "if", "(", "nmi", "!=", "NULL_TREE", ")", "{", "tree", "nmi_func_list", ";", "tree", "nmi_func", ";", "nmi_func_list", "=", "TREE_VALUE", "(", "nmi", ")", ";", "nmi_func", "=", "TREE_VALUE", "(", "nmi_func_list", ")", ";", "if", "(", "TREE_CODE", "(", "nmi_func", ")", "!=", "IDENTIFIER_NODE", ")", "error", "(", "", ")", ";", "}", "if", "(", "warm", "!=", "NULL_TREE", ")", "{", "tree", "warm_func_list", ";", "tree", "warm_func", ";", "warm_func_list", "=", "TREE_VALUE", "(", "warm", ")", ";", "warm_func", "=", "TREE_VALUE", "(", "warm_func_list", ")", ";", "if", "(", "TREE_CODE", "(", "warm_func", ")", "!=", "IDENTIFIER_NODE", ")", "error", "(", "", ")", ";", "}", "}", "else", "{", "return", ";"], "ground_truth": ["}"], "File": "nds325", "Func": "nds32_insert_attributes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242512, "Length": 158, "Cover_Rate": 0.395} {"Template_token": ["", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "TA_REGNUM", ")", ";", "return", "NULL", ";"], "ground_truth": ["}"], "File": "nds325", "Func": "nds32_md_asm_adjust", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242513, "Length": 23, "Cover_Rate": 0.3484848484848485} {"Template_token": ["", "case", "'e'", ":", "gcc_assert", "(", "MEM_P", "(", "x", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ")", "==", "CONST_INT", ")", ";", "fprintf", "(", "stream", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ")", ")", ";", "return", ";", "case", "'B'", ":", "gcc_assert", "(", "CONST_INT_P", "(", "x", ")", ")", ";", "one_position", "=", "exact_log2", "(", "UINTVAL", "(", "x", ")", "&", "GET_MODE_MASK", "(", "SImode", ")", ")", ";", "gcc_assert", "(", "one_position", "!=", "-", "", ")", ";", "fprintf", "(", "stream", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "one_position", ")", ";", "return", ";", "case", "'L'", ":", "gcc_assert", "(", "REG_P", "(", "x", ")", ")", ";", "pick_lsb_p", "=", "true", ";", "break", ";", "case", "'H'", ":", "gcc_assert", "(", "REG_P", "(", "x", ")", ")", ";", "pick_msb_p", "=", "true", ";", "break", ";", "case", "'V'", ":", "gcc_assert", "(", "CONST_INT_P", "(", "x", ")", ")", ";", "op_value", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "op_value", "<", "", "&&", "op_value", ">=", "", ")", "{", "fprintf", "(", "stream", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "op_value", ")", ";", "}", "else", "if", "(", "op_value", "<", "", "||", "op_value", ">=", "(", "(", "int", ")", "ARRAY_SIZE", "(", "nds32_intrinsic_register_names", ")", "+", "", ")", ")", "{", "error", "(", "", ")", ";", "}", "else", "{", "fprintf", "(", "stream", ",", "", ",", "nds32_intrinsic_register_names", "[", "op_value", "-", "", "]", ")", ";", "}", "return", ";", "case", "'R'", ":", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "]", ")", ";", "return", ";", "case", "'T'", ":", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "+", "", "]", ")", ";"], "ground_truth": ["return", ";"], "File": "nds325", "Func": "nds32_print_operand", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242514, "Length": 295, "Cover_Rate": 0.3333333333333333} {"Template_token": ["", "output_addr_const", "(", "stream", ",", "x", ")", ";", "fputs", "(", "", ",", "stream", ")", ";", "break", ";", "case", "REG", ":", "if", "(", "TARGET_REDUCED_REGS", "&&", "REGNO", "(", "x", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "op0", "=", "XEXP", "(", "x", ",", "", ")", ";", "op1", "=", "XEXP", "(", "x", ",", "", ")", ";", "if", "(", "TARGET_REDUCED_REGS", "&&", "REG_P", "(", "op0", ")", "&&", "REGNO", "(", "op0", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";", "if", "(", "TARGET_REDUCED_REGS", "&&", "REG_P", "(", "op1", ")", "&&", "REGNO", "(", "op1", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "fprintf", "(", "stream", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "reg_names", "[", "REGNO", "(", "op0", ")", "]", ",", "INTVAL", "(", "op1", ")", ")", ";", "}", "else", "if", "(", "REG_P", "(", "op0", ")", "&&", "REG_P", "(", "op1", ")", ")", "{", "fprintf", "(", "stream", ",", "", ",", "reg_names", "[", "REGNO", "(", "op0", ")", "]", ",", "reg_names", "[", "REGNO", "(", "op1", ")", "]", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "op0", ")", "==", "MULT", "&&", "REG_P", "(", "op1", ")", ")", "{", "int", "sv", ";", "if", "(", "INTVAL", "(", "XEXP", "(", "op0", ",", "", ")", ")", "==", "", ")", "sv", "=", "", ";", "else", "if", "(", "INTVAL", "(", "XEXP", "(", "op0", ",", "", ")", ")", "==", "", ")", "sv", "=", "", ";", "else", "if", "(", "INTVAL", "(", "XEXP", "(", "op0", ",", "", ")", ")", "==", "", ")", "sv", "=", "", ";", "else", "if", "(", "INTVAL", "(", "XEXP", "(", "op0", ",", "", ")", ")", "==", "", ")", "sv", "=", "", ";", "else", "gcc_unreachable", "(", ")", ";", "fprintf", "(", "stream", ",", "", ",", "reg_names", "[", "REGNO", "(", "op1", ")", "]", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "op0", ",", "", ")", ")", "]", ",", "sv", ")", ";", "}", "else", "{", "debug_rtx", "(", "x", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "break", ";", "case", "POST_MODIFY", ":", "op0", "=", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ";", "op1", "=", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ";", "if", "(", "TARGET_REDUCED_REGS", "&&", "REG_P", "(", "op0", ")", "&&", "REGNO", "(", "op0", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";"], "ground_truth": ["if", "(", "TARGET_REDUCED_REGS", "&&", "REG_P", "(", "op1", ")", "&&", "REGNO", "(", "op1", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";"], "File": "nds325", "Func": "nds32_print_operand_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242515, "Length": 406, "Cover_Rate": 0.6527331189710611} {"Template_token": ["", "if", "(", "(", "from", "==", "FP_REGS", "&&", "to", "!=", "FP_REGS", ")", "||", "(", "from", "!=", "FP_REGS", "&&", "to", "==", "FP_REGS", ")", ")", "return", "", ";", "else", "if", "(", "from", "==", "HIGH_REGS", "||", "to", "==", "HIGH_REGS", ")", "return", "optimize_size", "?", "", ":", "", ";"], "ground_truth": ["else", "return", "", ";"], "File": "nds325", "Func": "nds32_register_move_cost", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242516, "Length": 47, "Cover_Rate": 0.746031746031746} {"Template_token": ["", "static", "void", "nds32_register_passes", "(", "void", ")", "{", "nds32_register_pass", "(", "make_pass_nds32_relax_opt", ",", "PASS_POS_INSERT_AFTER", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds325", "Func": "nds32_register_passes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242517, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "nds32_register_pass", "(", "make_pass_nds32_relax_opt", ",", "PASS_POS_INSERT_AFTER", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds325", "Func": "nds32_register_passes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242518, "Length": 10, "Cover_Rate": 0.5882352941176471} {"Template_token": ["", "if", "(", "optimize", "==", "", "||", "!", "flag_schedule_insns_after_reload", ")", "return", "!", "satisfies_constraint_Da", "(", "mem", ")", "||", "MEM_VOLATILE_P", "(", "mem", ")", ";", "if", "(", "current_pass", "==", "NULL", ")", "return", "false", ";", "const", "char", "*", "pass_name", "=", "current_pass", "->", "name", ";"], "ground_truth": ["if", "(", "pass_name", "&&", "(", "(", "strcmp", "(", "pass_name", ",", "", ")", "==", "", ")", "||", "(", "strcmp", "(", "pass_name", ",", "", ")", "==", "", ")", ")", ")", "return", "!", "satisfies_constraint_Da", "(", "mem", ")", "||", "MEM_VOLATILE_P", "(", "mem", ")", ";"], "File": "nds325", "Func": "nds32_split_double_word_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242519, "Length": 79, "Cover_Rate": 0.7247706422018348} {"Template_token": ["", "const", "char", "*", "pass_name", "=", "current_pass", "->", "name", ";", "if", "(", "pass_name", "&&", "(", "(", "strcmp", "(", "pass_name", ",", "", ")", "==", "", ")", "||", "(", "strcmp", "(", "pass_name", ",", "", ")", "==", "", ")", ")", ")", "return", "!", "satisfies_constraint_Da", "(", "mem", ")", "||", "MEM_VOLATILE_P", "(", "mem", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "nds325", "Func": "nds32_split_double_word_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242520, "Length": 52, "Cover_Rate": 0.47706422018348627} {"Template_token": ["", "}", "else", "if", "(", "satisfies_constraint_Is20", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "}", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "", ")", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ",", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "", ")", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds326", "Func": "nds32_asm_output_mi_thunk", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242521, "Length": 181, "Cover_Rate": 0.5070028011204482} {"Template_token": ["", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ")", ";", "if", "(", "TARGET_ISA_V3", ")", "fprintf", "(", "file", ",", "", ")", ";", "else", "{", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ")", ";", "}", "}", "if", "(", "delta", "!=", "", ")", "{", "if", "(", "satisfies_constraint_Is15", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "this_regno", ",", "this_regno", ",", "delta", ")", ";", "}", "else", "if", "(", "satisfies_constraint_Is20", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "}", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "", ")", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ",", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "}", "else", "{"], "ground_truth": ["fprintf", "(", "file", ",", "", ")", ";"], "File": "nds326", "Func": "nds32_asm_output_mi_thunk", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242522, "Length": 266, "Cover_Rate": 0.7450980392156863} {"Template_token": ["", "static", "int", "nds32_address_cost", "(", "rtx", "address", ",", "machine_mode", "mode", ",", "addr_space_t", "as", ",", "bool", "speed", ")", "{"], "ground_truth": ["return", "nds32_address_cost_impl", "(", "address", ",", "mode", ",", "as", ",", "speed", ")", ";"], "File": "nds32", "Func": "nds32_address_cost", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242524, "Length": 29, "Cover_Rate": 0.9666666666666667} {"Template_token": ["", "int", "regno", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "REG", ")", "return", "false", ";"], "ground_truth": ["regno", "=", "REGNO", "(", "x", ")", ";"], "File": "nds32", "Func": "nds32_address_register_rtx_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242525, "Length": 22, "Cover_Rate": 0.4583333333333333} {"Template_token": ["", "case", "CODE_FOR_call_internal", ":", "case", "CODE_FOR_call_value_internal", ":", "{", "if", "(", "NDS32_ALIGN_P", "(", ")", ")", "{", "rtx_insn", "*", "next_insn", "=", "next_active_insn", "(", "insn", ")", ";", "if", "(", "next_insn", "&&", "get_attr_length", "(", "next_insn", ")", "!=", "", ")", "adjust_value", "+=", "", ";", "}", "if", "(", "find_reg_note", "(", "insn", ",", "REG_NORETURN", ",", "NULL_RTX", ")", ")", "{", "if", "(", "TARGET_16_BIT", ")", "adjust_value", "+=", "", ";", "else", "adjust_value", "+=", "", ";", "}", "}", "return", "length", "+", "adjust_value", ";"], "ground_truth": ["default", ":"], "File": "nds32", "Func": "nds32_adjust_insn_length", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242526, "Length": 73, "Cover_Rate": 0.7156862745098039} {"Template_token": ["", "if", "(", "!", "optimize_size", ")", "{", "memcpy", "(", "reg_alloc_order", ",", "nds32_reg_alloc_order_for_speed", ",", "sizeof", "(", "nds32_reg_alloc_order_for_speed", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_adjust_reg_alloc_order", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242527, "Length": 19, "Cover_Rate": 0.41304347826086957} {"Template_token": ["", "if", "(", "!", "optimize_size", ")", "{"], "ground_truth": ["memcpy", "(", "reg_alloc_order", ",", "nds32_reg_alloc_order_for_speed", ",", "sizeof", "(", "nds32_reg_alloc_order_for_speed", ")", ")", ";"], "File": "nds32", "Func": "nds32_adjust_reg_alloc_order", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242528, "Length": 18, "Cover_Rate": 0.391304347826087} {"Template_token": ["", "if", "(", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", ">=", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", ")", "return", "", ";", "needed_reg_count", "=", "NDS32_NEED_N_REGS_FOR_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";"], "ground_truth": ["remaining_reg_count", "=", "NDS32_MAX_GPR_REGS_FOR_ARGS", "-", "(", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "-", "NDS32_GPR_ARG_FIRST_REGNUM", ")", ";"], "File": "nds32", "Func": "nds32_arg_partial_bytes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242529, "Length": 60, "Cover_Rate": 0.5263157894736842} {"Template_token": ["", "unsigned", "int", "needed_reg_count", ";", "unsigned", "int", "remaining_reg_count", ";", "CUMULATIVE_ARGS", "*", "cum", ";", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "", ";", "if", "(", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", ">=", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", ")", "return", "", ";"], "ground_truth": ["needed_reg_count", "=", "NDS32_NEED_N_REGS_FOR_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";"], "File": "nds32", "Func": "nds32_arg_partial_bytes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242530, "Length": 63, "Cover_Rate": 0.5526315789473685} {"Template_token": ["", "if", "(", "TARGET_LINUX_ABI", ")", "file_end_indicate_exec_stack", "(", ")", ";"], "ground_truth": ["fprintf", "(", "asm_out_file", ",", "", ")", ";"], "File": "nds32", "Func": "nds32_asm_file_end", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242531, "Length": 15, "Cover_Rate": 0.5555555555555556} {"Template_token": ["", "break", ";", "case", "CPU_N10", ":", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "break", ";", "case", "CPU_GRAYWOLF", ":", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "break", ";", "case", "CPU_N12", ":", "case", "CPU_N13", ":", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "break", ";", "case", "CPU_SIMPLE", ":", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "if", "(", "TARGET_CMODEL_SMALL", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "if", "(", "TARGET_CMODEL_MEDIUM", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "if", "(", "TARGET_CMODEL_LARGE", ")", "fprintf", "(", "asm_out_file", ",", "", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_BIG_ENDIAN", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_FPU_SINGLE", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_FPU_DOUBLE", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_HARD_FLOAT", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_CMOV", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_EXT_PERF", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_EXT_PERF2", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_EXT_STRING", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_V3PUSH", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_16_BIT", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "(", "TARGET_REDUCED_REGS", ")", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ",", "(", "flag_unaligned_access", "?", "", ":", "", ")", ")", ";", "fprintf", "(", "asm_out_file", ",", "", ")", ";"], "ground_truth": ["if", "(", "optimize_size", ")", "fprintf", "(", "asm_out_file", ",", "", ")", ";"], "File": "nds32", "Func": "nds32_asm_file_start", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242532, "Length": 341, "Cover_Rate": 0.5151057401812689} {"Template_token": ["", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_asm_function_end_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242535, "Length": 8, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "static", "void", "nds32_asm_function_end_prologue", "(", "FILE", "*", "file", ")", "{", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_asm_function_end_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242536, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_asm_function_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242538, "Length": 8, "Cover_Rate": 0.47058823529411764} {"Template_token": ["", "fprintf", "(", "file", ",", "", ",", "cfun", "->", "machine", "->", "local_size", ")", ";", "fprintf", "(", "file", ",", "", ",", "cfun", "->", "machine", "->", "out_args_size", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "for", "(", "r", "=", "", ";", "r", "<", "", ";", "r", "++", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "r", ")", ")", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "r", "]", ")", ";", "}"], "ground_truth": ["fputc", "(", "'\\n'", ",", "file", ")", ";"], "File": "nds32", "Func": "nds32_asm_function_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242539, "Length": 74, "Cover_Rate": 0.35406698564593303} {"Template_token": ["", "fputs", "(", "", ",", "stream", ")", ";"], "ground_truth": ["assemble_name", "(", "stream", ",", "name", ")", ";"], "File": "nds32", "Func": "nds32_asm_globalize_label", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242540, "Length": 14, "Cover_Rate": 0.3888888888888889} {"Template_token": ["", "fputs", "(", "", ",", "stream", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";"], "ground_truth": ["fputs", "(", "", ",", "stream", ")", ";"], "File": "nds32", "Func": "nds32_asm_globalize_label", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242541, "Length": 21, "Cover_Rate": 0.5833333333333334} {"Template_token": ["", "case", "UNSPEC_TLSIE", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "", ",", "", ")", ")", ";", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_TLSLE", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "", ",", "", ")", ")", ";", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "case", "UNSPEC_ICT", ":", "output_addr_const", "(", "file", ",", "XVECEXP", "(", "x", ",", "", ",", "", ")", ")", ";", "fputs", "(", "", ",", "file", ")", ";", "break", ";", "default", ":", "return", "false", ";", "}"], "ground_truth": ["return", "true", ";"], "File": "nds32", "Func": "nds32_asm_output_addr_const_extra", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242542, "Length": 87, "Cover_Rate": 0.3175182481751825} {"Template_token": ["", "else", "if", "(", "satisfies_constraint_Is20", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "}", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "", ")", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ",", "reg_names", "[", "STACK_POINTER_REGNUM", "]", ")", ";", "fprintf", "(", "file", ",", "", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "", ")", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_asm_output_mi_thunk", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242543, "Length": 180, "Cover_Rate": 0.46875} {"Template_token": ["", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ",", "reg_names", "[", "PIC_OFFSET_TABLE_REGNUM", "]", ")", ";", "}", "}", "if", "(", "delta", "!=", "", ")", "{", "if", "(", "satisfies_constraint_Is15", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "this_regno", ",", "this_regno", ",", "delta", ")", ";", "}", "else", "if", "(", "satisfies_constraint_Is20", "(", "GEN_INT", "(", "delta", ")", ")", ")", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", "HOST_WIDE_INT_PRINT_DEC", "", ",", "delta", ")", ";", "fprintf", "(", "file", ",", "", ",", "this_regno", ",", "this_regno", ")", ";", "}", "}", "if", "(", "flag_pic", ")", "{", "fprintf", "(", "file", ",", "", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "function", ")", ",", "", ")", ",", "", ")", ")", ";"], "ground_truth": ["fprintf", "(", "file", ",", "", ")", ";"], "File": "nds32", "Func": "nds32_asm_output_mi_thunk", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242544, "Length": 164, "Cover_Rate": 0.4270833333333333} {"Template_token": ["", "asm_fprintf", "(", "f", ",", "", ")", ";", "asm_fprintf", "(", "f", ",", "", "", ")", ";", "asm_fprintf", "(", "f", ",", "", "", ")", ";", "asm_fprintf", "(", "f", ",", "", ")", ";", "}", "asm_fprintf", "(", "f", ",", "", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";", "asm_fprintf", "(", "f", ",", "", ")", ";", "assemble_aligned_integer", "(", "UNITS_PER_WORD", ",", "const0_rtx", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_asm_trampoline_template", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242545, "Length": 60, "Cover_Rate": 0.6185567010309279} {"Template_token": ["", "static", "tree", "nds32_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", ")", "{", "return", "nds32_builtin_decl_impl", "(", "code", ",", "initialize_p", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_builtin_decl", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242546, "Length": 20, "Cover_Rate": 1.0} {"Template_token": ["", "break", ";", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "if", "(", "flag_pic", "&&", "(", "lra_in_progress", "||", "reload_completed", ")", ")", "return", "true", ";", "break", ";", "default", ":", "return", "false", ";", "}"], "ground_truth": ["return", "false", ";"], "File": "nds32", "Func": "nds32_cannot_force_const_mem", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242548, "Length": 32, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "if", "(", "*", "code", "==", "LEU", "&&", "CONST_INT_P", "(", "*", "op1", ")", ")", "{"], "ground_truth": ["*", "op1", "=", "gen_int_mode", "(", "INTVAL", "(", "*", "op1", ")", "+", "", ",", "SImode", ")", ";"], "File": "nds32", "Func": "nds32_canonicalize_comparison", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242549, "Length": 30, "Cover_Rate": 0.5084745762711864} {"Template_token": ["", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "&&", "GET_MODE_SIZE", "(", "from", ")", "!=", "GET_MODE_SIZE", "(", "to", ")", ")", "{", "return", "!", "reg_classes_intersect_p", "(", "rclass", ",", "FP_REGS", ")", ";", "}", "return", "true", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_can_change_mode_class", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242550, "Length": 33, "Cover_Rate": 0.7021276595744681} {"Template_token": ["", "if", "(", "from_reg", "==", "FRAME_POINTER_REGNUM", "&&", "to_reg", "==", "STACK_POINTER_REGNUM", ")", "return", "true", ";"], "ground_truth": ["if", "(", "from_reg", "==", "FRAME_POINTER_REGNUM", "&&", "to_reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "true", ";"], "File": "nds32", "Func": "nds32_can_eliminate", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242551, "Length": 26, "Cover_Rate": 0.37681159420289856} {"Template_token": ["", "static", "bool", "nds32_can_eliminate", "(", "const", "int", "from_reg", ",", "const", "int", "to_reg", ")", "{", "if", "(", "from_reg", "==", "ARG_POINTER_REGNUM", "&&", "to_reg", "==", "STACK_POINTER_REGNUM", ")", "return", "true", ";"], "ground_truth": ["if", "(", "from_reg", "==", "ARG_POINTER_REGNUM", "&&", "to_reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "true", ";"], "File": "nds32", "Func": "nds32_can_eliminate", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242552, "Length": 39, "Cover_Rate": 0.5652173913043478} {"Template_token": ["", "int", "sp_adjust", ";", "if", "(", "!", "reload_completed", ")", "return", "", ";", "if", "(", "cfun", "->", "machine", "->", "attr_naked_p", "&&", "!", "flag_ret_in_naked_func", ")", "return", "", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";"], "ground_truth": ["if", "(", "!", "cfun", "->", "machine", "->", "fp_as_gp_p", "&&", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", "&&", "NDS32_V3PUSH_AVAILABLE_P", "&&", "!", "(", "TARGET_HARD_FLOAT", "&&", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", ")", ")", "return", "", ";"], "File": "nds32", "Func": "nds32_can_use_return_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242553, "Length": 98, "Cover_Rate": 0.7903225806451613} {"Template_token": ["", "if", "(", "cfun", "->", "machine", "->", "attr_naked_p", "&&", "!", "flag_ret_in_naked_func", ")", "return", "", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "!", "cfun", "->", "machine", "->", "fp_as_gp_p", "&&", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", "&&", "NDS32_V3PUSH_AVAILABLE_P", "&&", "!", "(", "TARGET_HARD_FLOAT", "&&", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", ")", ")", "return", "", ";", "return", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_can_use_return_insn", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242554, "Length": 107, "Cover_Rate": 0.8629032258064516} {"Template_token": ["", "if", "(", "min_offset", "<", "", "||", "max_offset", ">=", "", ")", "return", "SImode", ";", "else", "{"], "ground_truth": ["if", "(", "max_offset", ">=", "", ")", "return", "HImode", ";"], "File": "nds32", "Func": "nds32_case_vector_shorten_mode", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242555, "Length": 24, "Cover_Rate": 0.5454545454545454} {"Template_token": ["", "static", "unsigned", "char", "nds32_class_max_nregs", "(", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_class_max_nregs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242556, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "static", "unsigned", "char", "nds32_class_max_nregs", "(", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_class_max_nregs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242557, "Length": 30, "Cover_Rate": 1.0} {"Template_token": ["", "cfun", "->", "machine", "->", "eh_return_data_regs_size", "=", "", ";", "cfun", "->", "machine", "->", "use_eh_return_p", "=", "", ";", "}", "cfun", "->", "machine", "->", "va_args_size", "=", "crtl", "->", "args", ".", "pretend_args_size", ";", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "", ")", "{", "cfun", "->", "machine", "->", "va_args_first_regno", "=", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", "-", "(", "crtl", "->", "args", ".", "pretend_args_size", "/", "UNITS_PER_WORD", ")", ";", "cfun", "->", "machine", "->", "va_args_last_regno", "=", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_MAX_GPR_REGS_FOR_ARGS", "-", "", ";", "}", "else", "{", "cfun", "->", "machine", "->", "va_args_first_regno", "=", "SP_REGNUM", ";", "cfun", "->", "machine", "->", "va_args_last_regno", "=", "SP_REGNUM", ";", "}", "block_size", "=", "cfun", "->", "machine", "->", "va_args_size", ";", "if", "(", "!", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "block_size", ")", ")", "{", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", "=", "NDS32_ROUND_UP_DOUBLE_WORD", "(", "block_size", ")", "-", "block_size", ";", "}", "cfun", "->", "machine", "->", "local_size", "=", "NDS32_ROUND_UP_DOUBLE_WORD", "(", "get_frame_size", "(", ")", ")", ";", "cfun", "->", "machine", "->", "out_args_size", "=", "crtl", "->", "outgoing_args_size", ";", "cfun", "->", "machine", "->", "fp_size", "=", "(", "df_regs_ever_live_p", "(", "FP_REGNUM", ")", ")", "?", "", ":", "", ";", "cfun", "->", "machine", "->", "gp_size", "=", "(", "flag_pic", "&&", "df_regs_ever_live_p", "(", "PIC_OFFSET_TABLE_REGNUM", ")", ")", "?", "", ":", "", ";", "cfun", "->", "machine", "->", "lp_size", "=", "(", "flag_always_save_lp", "||", "df_regs_ever_live_p", "(", "LP_REGNUM", ")", ")", "?", "", ":", "", ";", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "=", "", ";", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "=", "", ";", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "=", "SP_REGNUM", ";", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "SP_REGNUM", ";", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", "=", "", ";", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "=", "SP_REGNUM", ";", "cfun", "->", "machine", "->", "callee_saved_last_fpr_regno", "=", "SP_REGNUM", ";", "for", "(", "r", "=", "", ";", "r", "<", "", ";", "r", "++", ")", "{", "if", "(", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "r", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "==", "SP_REGNUM", ")", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "=", "r", ";", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "=", "r", ";", "}", "}", "if", "(", "TARGET_HARD_FLOAT", ")", "{", "for", "(", "r", "=", "NDS32_FIRST_FPR_REGNUM", ";", "r", "<", "NDS32_LAST_FPR_REGNUM", ";", "r", "++", ")", "{", "if", "(", "NDS32_REQUIRED_CALLEE_SAVED_P", "(", "r", ")", ")", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "==", "SP_REGNUM", ")", "{", "if", "(", "!", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "r", ")", ")", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "=", "r", "-", "", ";", "else", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "=", "r", ";", "}", "cfun", "->", "machine", "->", "callee_saved_last_fpr_regno", "=", "r", ";", "}", "}", "int", "last_fpr", "=", "cfun", "->", "machine", "->", "callee_saved_last_fpr_regno", ";", "if", "(", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "last_fpr", ")", ")", "cfun", "->", "machine", "->", "callee_saved_last_fpr_regno", "++", ";", "}"], "ground_truth": ["if", "(", "lookup_attribute", "(", "", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "||", "lookup_attribute", "(", "", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "||", "lookup_attribute", "(", "", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "||", "(", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", "==", "SP_REGNUM", "&&", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", "==", "SP_REGNUM", "&&", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "==", "SP_REGNUM", "&&", "cfun", "->", "machine", "->", "callee_saved_last_fpr_regno", "==", "SP_REGNUM", "&&", "!", "df_regs_ever_live_p", "(", "FP_REGNUM", ")", "&&", "!", "df_regs_ever_live_p", "(", "LP_REGNUM", ")", "&&", "cfun", "->", "machine", "->", "local_size", "==", "", "&&", "!", "flag_pic", ")", ")", "{"], "File": "nds32", "Func": "nds32_compute_stack_frame", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242558, "Length": 497, "Cover_Rate": 0.42918825561312607} {"Template_token": ["", "int", "regno", ";", "if", "(", "TARGET_LINUX_ABI", ")", "fixed_regs", "[", "TP_REGNUM", "]", "=", "", ";", "if", "(", "TARGET_HARD_FLOAT", ")", "{", "for", "(", "regno", "=", "NDS32_FIRST_FPR_REGNUM", ";", "regno", "<=", "NDS32_LAST_FPR_REGNUM", ";", "regno", "++", ")", "{", "fixed_regs", "[", "regno", "]", "=", "", ";", "if", "(", "regno", "<", "NDS32_FIRST_FPR_REGNUM", "+", "NDS32_MAX_FPR_REGS_FOR_ARGS", ")", "call_used_regs", "[", "regno", "]", "=", "", ";", "else", "if", "(", "regno", ">=", "NDS32_FIRST_FPR_REGNUM", "+", "", "&&", "regno", "<", "NDS32_FIRST_FPR_REGNUM", "+", "", ")", "call_used_regs", "[", "regno", "]", "=", "", ";", "else", "call_used_regs", "[", "regno", "]", "=", "", ";", "}", "}", "else", "if", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "{", "for", "(", "regno", "=", "NDS32_FIRST_FPR_REGNUM", ";"], "ground_truth": ["regno", "<=", "NDS32_LAST_FPR_REGNUM", ";"], "File": "nds32", "Func": "nds32_conditional_register_usage", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242560, "Length": 105, "Cover_Rate": 0.8467741935483871} {"Template_token": ["", "static", "HOST_WIDE_INT", "nds32_constant_alignment", "(", "const_tree", "constant", ",", "HOST_WIDE_INT", "basic_align", ")", "{"], "ground_truth": ["if", "(", "(", "(", "TREE_CODE", "(", "constant", ")", "==", "STRING_CST", "||", "TREE_CODE", "(", "constant", ")", "==", "CONSTRUCTOR", "||", "TREE_CODE", "(", "constant", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "constant", ")", "==", "RECORD_TYPE", "||", "TREE_CODE", "(", "constant", ")", "==", "ARRAY_TYPE", ")", "&&", "basic_align", "<", "BITS_PER_WORD", ")", ")", "return", "BITS_PER_WORD", ";"], "File": "nds32", "Func": "nds32_constant_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242561, "Length": 59, "Cover_Rate": 0.921875} {"Template_token": ["", "if", "(", "TARGET_ISR_VECTOR_SIZE_4_BYTE", ")", "builtin_define", "(", "", ")", ";", "else", "builtin_define", "(", "", ")", ";", "}", "if", "(", "TARGET_HARD_FLOAT", ")", "builtin_define", "(", "", ")", ";", "else", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_ISA_V2", ")", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_ISA_V3", ")", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_ISA_V3M", ")", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_FPU_SINGLE", ")", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_FPU_DOUBLE", ")", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_EXT_FPU_FMA", ")", "builtin_define", "(", "", ")", ";", "if", "(", "NDS32_EXT_FPU_DOT_E", ")", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "{", "switch", "(", "nds32_fp_regnum", ")", "{", "case", "", ":", "case", "", ":", "builtin_define", "(", "", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "builtin_define", "(", "", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "builtin_define", "(", "", ")", ";", "break", ";", "case", "", ":", "case", "", ":", "builtin_define", "(", "", ")", ";", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "}", "if", "(", "TARGET_BIG_ENDIAN", ")", "builtin_define", "(", "", ")", ";", "else", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_REDUCED_REGS", ")", "builtin_define", "(", "", ")", ";", "if", "(", "TARGET_CMOV", ")", "builtin_define", "(", "", ")", ";"], "ground_truth": ["if", "(", "TARGET_EXT_PERF", ")", "builtin_define", "(", "", ")", ";"], "File": "nds32", "Func": "nds32_cpu_cpp_builtins", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242562, "Length": 208, "Cover_Rate": 0.6419753086419753} {"Template_token": ["", "unsigned", "int", "nds32_data_alignment", "(", "tree", "data", ",", "unsigned", "int", "basic_align", ")", "{", "if", "(", "(", "basic_align", "<", "BITS_PER_WORD", ")", "&&", "(", "TREE_CODE", "(", "data", ")", "==", "ARRAY_TYPE", "||", "TREE_CODE", "(", "data", ")", "==", "UNION_TYPE", "||", "TREE_CODE", "(", "data", ")", "==", "RECORD_TYPE", ")", ")", "return", "BITS_PER_WORD", ";", "else", "return", "basic_align", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_data_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242563, "Length": 51, "Cover_Rate": 1.0} {"Template_token": ["", "if", "(", "NDS32_IS_FPR_REGNUM", "(", "regno", ")", ")", "return", "regno", "+", "", ";", "return", "regno", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_dbx_register_number", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242564, "Length": 16, "Cover_Rate": 0.64} {"Template_token": ["", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLT", ":", "case", "UNSPEC_TLSGD", ":", "case", "UNSPEC_TLSLD", ":", "case", "UNSPEC_TLSIE", ":", "case", "UNSPEC_TLSLE", ":", "case", "UNSPEC_ICT", ":", "x", "=", "XVECEXP", "(", "inner", ",", "", ",", "", ")", ";", "break", ";", "default", ":", "break", ";", "}", "}", "}", "return", "x", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_delegitimize_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242565, "Length": 48, "Cover_Rate": 0.3870967741935484} {"Template_token": ["", "rtx", "dwarf_single", ";", "machine_mode", "mode", ";", "int", "regno", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "regno", ">=", "NDS32_FIRST_FPR_REGNUM", "&&", "regno", "<=", "NDS32_LAST_FPR_REGNUM", ")", "{", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "SCmode", ")", "{", "dwarf_high", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "dwarf_low", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_low", ",", "dwarf_high", ")", ")", ";", "}", "else", "if", "(", "mode", "==", "DCmode", ")", "{", "rtx", "dwarf_high_re", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "dwarf_low_re", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "rtx", "dwarf_high_im", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "rtx", "dwarf_low_im", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_low_re", ",", "dwarf_high_re", ",", "dwarf_high_im", ",", "dwarf_low_im", ")", ")", ";", "}", "else", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", ")", "{", "return", "NULL_RTX", ";", "}"], "ground_truth": ["else", "{"], "File": "nds32", "Func": "nds32_dwarf_register_span", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242566, "Length": 170, "Cover_Rate": 0.8808290155440415} {"Template_token": ["", "int", "regno", ";", "mode", "=", "GET_MODE", "(", "reg", ")", ";", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "regno", ">=", "NDS32_FIRST_FPR_REGNUM", "&&", "regno", "<=", "NDS32_LAST_FPR_REGNUM", ")", "{", "if", "(", "mode", "==", "DFmode", "||", "mode", "==", "SCmode", ")", "{", "dwarf_high", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ";", "dwarf_low", "=", "gen_rtx_REG", "(", "word_mode", ",", "regno", "+", "", ")", ";"], "ground_truth": ["return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "gen_rtvec", "(", "", ",", "dwarf_low", ",", "dwarf_high", ")", ")", ";"], "File": "nds32", "Func": "nds32_dwarf_register_span", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242567, "Length": 74, "Cover_Rate": 0.38341968911917096} {"Template_token": ["", "}", "else", "{", "return", "plus_constant", "(", "Pmode", ",", "frameaddr", ",", "-", "", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_dynamic_chain_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242568, "Length": 15, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "emit_move_insn", "(", "tmp_reg", ",", "adjust_value_rtx", ")", ";", "frame_adjust_insn", "=", "gen_addsi3", "(", "to_reg", ",", "from_reg", ",", "tmp_reg", ")", ";", "frame_adjust_insn", "=", "emit_insn", "(", "frame_adjust_insn", ")", ";", "rtx", "plus_rtx", ";", "rtx", "set_rtx", ";", "plus_rtx", "=", "plus_constant", "(", "Pmode", ",", "from_reg", ",", "adjust_value", ")", ";", "set_rtx", "=", "gen_rtx_SET", "(", "to_reg", ",", "plus_rtx", ")", ";", "add_reg_note", "(", "frame_adjust_insn", ",", "REG_FRAME_RELATED_EXPR", ",", "set_rtx", ")", ";", "}", "else", "{", "frame_adjust_insn", "=", "gen_addsi3", "(", "to_reg", ",", "from_reg", ",", "adjust_value_rtx", ")", ";", "frame_adjust_insn", "=", "emit_insn", "(", "frame_adjust_insn", ")", ";", "}"], "ground_truth": ["RTX_FRAME_RELATED_P", "(", "frame_adjust_insn", ")", "=", "", ";"], "File": "nds32", "Func": "nds32_emit_adjust_frame", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242569, "Length": 89, "Cover_Rate": 0.6180555555555556} {"Template_token": ["", "pat", "=", "gen_rtx_CONST", "(", "SImode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "pat", ",", "GEN_INT", "(", "-", "", ")", ")", ")", ";", "emit_insn", "(", "gen_lo_sum", "(", "pic_offset_table_rtx", ",", "pic_offset_table_rtx", ",", "pat", ")", ")", ";", "emit_insn", "(", "gen_add_pc", "(", "pic_offset_table_rtx", ",", "pic_offset_table_rtx", ")", ")", ";"], "ground_truth": ["emit_insn", "(", "gen_blockage", "(", ")", ")", ";"], "File": "nds32", "Func": "nds32_emit_load_gp", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242570, "Length": 49, "Cover_Rate": 0.35} {"Template_token": ["", "}", "if", "(", "save_fp_p", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "if", "(", "save_gp_p", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "if", "(", "save_lp_p", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";"], "ground_truth": ["XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";"], "File": "nds32", "Func": "nds32_emit_stack_pop_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242571, "Length": 207, "Cover_Rate": 0.3988439306358382} {"Template_token": ["", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "if", "(", "save_gp_p", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "if", "(", "save_lp_p", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "offset", "=", "-", "(", "num_use_regs", "*", "", ")", ";", "adjust_sp_rtx", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "adjust_sp_rtx", ";", "RTX_FRAME_RELATED_P", "(", "adjust_sp_rtx", ")", "=", "", ";", "parallel_insn", "=", "emit_insn", "(", "parallel_insn", ")", ";", "RTX_FRAME_RELATED_P", "(", "parallel_insn", ")", "=", "", ";", "if", "(", "vaarg_p", ")", "{", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_ADJUST_CFA", ",", "copy_rtx", "(", "adjust_sp_rtx", ")", ",", "NULL_RTX", ")", ";", "REG_NOTES", "(", "parallel_insn", ")", "=", "dwarf", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_emit_stack_push_multiple", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242572, "Length": 271, "Cover_Rate": 0.5387673956262425} {"Template_token": ["", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "}", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "LP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "pop_rtx", "=", "gen_rtx_SET", "(", "reg", ",", "mem", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "pop_rtx", ";", "RTX_FRAME_RELATED_P", "(", "pop_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_RESTORE", ",", "reg", ",", "dwarf", ")", ";", "adjust_sp_rtx", "=", "gen_rtx_SET", "(", "stack_pointer_rtx", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", "+", "imm8u", ")", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "adjust_sp_rtx", ";", "if", "(", "frame_pointer_needed", ")", "{", "rtx", "cfa_adjust_rtx", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "const0_rtx", ")", ";", "dwarf", "=", "alloc_reg_note", "(", "REG_CFA_DEF_CFA", ",", "cfa_adjust_rtx", ",", "dwarf", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_emit_stack_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242573, "Length": 313, "Cover_Rate": 0.6548117154811716} {"Template_token": ["", "rtx", "reg", ";", "rtx", "mem", ";", "rtx", "push_rtx", ";", "rtx", "adjust_sp_rtx", ";", "rtx", "parallel_insn", ";", "num_use_regs", "=", "Re", "-", "Rb", "+", "", "+", "", ";", "parallel_insn", "=", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "rtvec_alloc", "(", "num_use_regs", "+", "", ")", ")", ";", "par_index", "=", "", ";", "offset", "=", "-", "(", "num_use_regs", "*", "", ")", ";", "for", "(", "regno", "=", "Rb", ";", "regno", "<=", "Re", ";", "regno", "++", ")", "{", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";", "XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";", "RTX_FRAME_RELATED_P", "(", "push_rtx", ")", "=", "", ";", "offset", "=", "offset", "+", "", ";", "par_index", "++", ";", "}", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FP_REGNUM", ")", ";", "mem", "=", "gen_frame_mem", "(", "SImode", ",", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset", ")", ")", ";", "push_rtx", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";"], "ground_truth": ["XVECEXP", "(", "parallel_insn", ",", "", ",", "par_index", ")", "=", "push_rtx", ";"], "File": "nds32", "Func": "nds32_emit_stack_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242574, "Length": 173, "Cover_Rate": 0.4357682619647355} {"Template_token": ["", "else", "if", "(", "GET_CODE", "(", "addr", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "", ")", ")", "==", "PLUS", ")", "{", "rtx", "plus_op", "=", "XEXP", "(", "addr", ",", "", ")", ";", "rtx", "op0", "=", "XEXP", "(", "plus_op", ",", "", ")", ";"], "ground_truth": ["rtx", "op1", "=", "XEXP", "(", "plus_op", ",", "", ")", ";"], "File": "nds32", "Func": "nds32_encode_section_info", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242575, "Length": 53, "Cover_Rate": 0.375886524822695} {"Template_token": ["", "static", "rtx", "nds32_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", ",", "machine_mode", "mode", ",", "int", "ignore", ")", "{"], "ground_truth": ["return", "nds32_expand_builtin_impl", "(", "exp", ",", "target", ",", "subtarget", ",", "mode", ",", "ignore", ")", ";"], "File": "nds32", "Func": "nds32_expand_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242576, "Length": 34, "Cover_Rate": 0.9714285714285714} {"Template_token": ["", "static", "rtx", "nds32_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", ",", "machine_mode", "mode", ",", "int", "ignore", ")", "{", "return", "nds32_expand_builtin_impl", "(", "exp", ",", "target", ",", "subtarget", ",", "mode", ",", "ignore", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_expand_builtin", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242577, "Length": 35, "Cover_Rate": 1.0} {"Template_token": ["", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "nds32_emit_pop_fpr_callee_saved", "(", "gpr_padding", ")", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "use_eh_return_p", ")", "{", "Rb", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "nds32_emit_stack_pop_multiple", "(", "Rb", ",", "Re", ",", "false", ",", "false", ",", "false", ")", ";", "}", "Rb", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "if", "(", "!", "(", "Rb", "==", "SP_REGNUM", "&&", "Re", "==", "SP_REGNUM", "&&", "cfun", "->", "machine", "->", "fp_size", "==", "", "&&", "cfun", "->", "machine", "->", "gp_size", "==", "", "&&", "cfun", "->", "machine", "->", "lp_size", "==", "", ")", ")", "{", "nds32_emit_stack_pop_multiple", "(", "Rb", ",", "Re", ",", "cfun", "->", "machine", "->", "fp_size", ",", "cfun", "->", "machine", "->", "gp_size", ",", "cfun", "->", "machine", "->", "lp_size", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_expand_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242578, "Length": 181, "Cover_Rate": 0.32437275985663083} {"Template_token": ["", "}", "return", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "gpr_padding", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "nds32_emit_pop_fpr_callee_saved", "(", "gpr_padding", ")", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "}", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "gpr_padding", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "nds32_emit_pop_fpr_callee_saved", "(", "gpr_padding", ")", ";", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "use_eh_return_p", ")", "{", "Rb", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";"], "ground_truth": ["Re", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";"], "File": "nds32", "Func": "nds32_expand_epilogue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242579, "Length": 248, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", "&&", "!", "cfun", "->", "calls_alloca", ")", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "nds32_emit_stack_v3pop", "(", "Rb", ",", "Re", ",", "sp_adjust", ")", ";", "}", "else", "{", "if", "(", "frame_pointer_needed", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "nds32_emit_v3pop_fpr_callee_saved", "(", "", ")", ";", "}", "else", "{", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "hard_frame_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "}", "else", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "sp_adjust", "=", "sp_adjust", "-", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "-", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "sp_adjust", ")", ";"], "ground_truth": ["nds32_emit_v3pop_fpr_callee_saved", "(", "", ")", ";"], "File": "nds32", "Func": "nds32_expand_epilogue_v3pop", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242580, "Length": 260, "Cover_Rate": 0.6435643564356436} {"Template_token": ["", "if", "(", "cfun", "->", "machine", "->", "use_eh_return_p", ")", "{", "Rb", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "false", ",", "false", ",", "false", ",", "false", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ";", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_offset", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "!", "satisfies_constraint_Is14", "(", "GEN_INT", "(", "fpr_offset", ")", ")", ")", "{", "int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";"], "ground_truth": ["nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "fpr_space", ")", ";"], "File": "nds32", "Func": "nds32_expand_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242581, "Length": 159, "Cover_Rate": 0.3087378640776699} {"Template_token": ["", "nds32_compute_stack_frame", "(", ")", ";", "if", "(", "frame_pointer_needed", ")", "cfun", "->", "machine", "->", "fp_as_gp_p", "=", "false", ";", "if", "(", "cfun", "->", "machine", "->", "va_args_size", "!=", "", ")", "{", "Rb", "=", "cfun", "->", "machine", "->", "va_args_first_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "va_args_last_regno", ";", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "false", ",", "false", ",", "false", ",", "true", ")", ";", "if", "(", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ")", "{", "sp_adjust", "=", "cfun", "->", "machine", "->", "va_args_area_padding_bytes", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "sp_adjust", ")", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "!", "flag_pic", ")", "return", ";", "Rb", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "if", "(", "!", "(", "Rb", "==", "SP_REGNUM", "&&", "Re", "==", "SP_REGNUM", "&&", "cfun", "->", "machine", "->", "fp_size", "==", "", "&&", "cfun", "->", "machine", "->", "gp_size", "==", "", "&&", "cfun", "->", "machine", "->", "lp_size", "==", "", ")", ")", "{", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "cfun", "->", "machine", "->", "fp_size", ",", "cfun", "->", "machine", "->", "gp_size", ",", "cfun", "->", "machine", "->", "lp_size", ",", "false", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "use_eh_return_p", ")", "{", "Rb", "=", "cfun", "->", "machine", "->", "eh_return_data_first_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "eh_return_data_last_regno", ";", "nds32_emit_stack_push_multiple", "(", "Rb", ",", "Re", ",", "false", ",", "false", ",", "false", ",", "false", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ";", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_offset", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "!", "satisfies_constraint_Is14", "(", "GEN_INT", "(", "fpr_offset", ")", ")", ")", "{", "int", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_adjust_frame", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "-", "", "*", "fpr_space", ")", ";"], "ground_truth": ["nds32_emit_push_fpr_callee_saved", "(", "", ")", ";"], "File": "nds32", "Func": "nds32_expand_prologue", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242582, "Length": 348, "Cover_Rate": 0.6757281553398058} {"Template_token": ["", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", ")", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "sp_adjust", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_push_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "sp_adjust", ";", "nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";", "}", "}", "else", "{", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "fpr_space", "=", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "fpr_space", ")", ";", "nds32_emit_push_fpr_callee_saved", "(", "", ")", ";", "}"], "ground_truth": ["else", "{"], "File": "nds32", "Func": "nds32_expand_prologue_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242583, "Length": 145, "Cover_Rate": 0.38563829787234044} {"Template_token": ["", "nds32_compute_stack_frame", "(", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", ">", "", ")", "df_set_regs_ever_live", "(", "FP_REGNUM", ",", "", ")", ";", "if", "(", "frame_pointer_needed", ")", "cfun", "->", "machine", "->", "fp_as_gp_p", "=", "false", ";", "if", "(", "cfun", "->", "machine", "->", "naked_p", "&&", "!", "flag_pic", ")", "return", ";", "Rb", "=", "cfun", "->", "machine", "->", "callee_saved_first_gpr_regno", ";", "Re", "=", "cfun", "->", "machine", "->", "callee_saved_last_gpr_regno", ";", "sp_adjust", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", ";", "if", "(", "satisfies_constraint_Iu08", "(", "GEN_INT", "(", "sp_adjust", ")", ")", "&&", "NDS32_DOUBLE_WORD_ALIGN_P", "(", "sp_adjust", ")", ")", "{", "nds32_emit_stack_v3push", "(", "Rb", ",", "Re", ",", "sp_adjust", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_first_fpr_regno", "!=", "SP_REGNUM", ")", "{", "int", "fpr_position", "=", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ";", "nds32_emit_push_fpr_callee_saved", "(", "fpr_position", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "{", "fp_adjust", "=", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "sp_adjust", ";"], "ground_truth": ["nds32_emit_adjust_frame", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "fp_adjust", ")", ";"], "File": "nds32", "Func": "nds32_expand_prologue_v3push", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242584, "Length": 187, "Cover_Rate": 0.4973404255319149} {"Template_token": ["", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "NULL_RTX", ";", "if", "(", "!", "arg", ".", "named", ")", "{", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "NULL_RTX", ";", "if", "(", "NDS32_ARG_PARTIAL_IN_GPR_REG_P", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ")", "{", "regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "return", "NULL_RTX", ";", "}", "if", "(", "TARGET_HARD_FLOAT", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", "&&", "NDS32_ARG_ENTIRE_IN_FPR_REG_P", "(", "cum", "->", "fpr_offset", ",", "mode", ",", "type", ")", ")", "{", "regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_FPR_ARG", "(", "cum", "->", "fpr_offset", ",", "mode", ",", "type", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "else", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "!=", "MODE_FLOAT", "&&", "NDS32_ARG_ENTIRE_IN_GPR_REG_P", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ")", "{", "regno", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "}", "}"], "ground_truth": ["else", "{"], "File": "nds32", "Func": "nds32_function_arg", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242587, "Length": 161, "Cover_Rate": 0.6652892561983471} {"Template_token": ["", "static", "void", "nds32_function_arg_advance", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "ca", ")", ";", "tree", "type", "=", "arg", ".", "type", ";", "machine_mode", "mode", "=", "arg", ".", "mode", ";", "if", "(", "arg", ".", "named", ")", "{", "if", "(", "TARGET_HARD_FLOAT", "&&", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "{", "cum", "->", "fpr_offset", "=", "NDS32_AVAILABLE_REGNUM_FOR_FPR_ARG", "(", "cum", "->", "fpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_FPR_ARG_FIRST_REGNUM", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "}", "else", "{", "cum", "->", "gpr_offset", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";", "}", "}", "else", "{", "if", "(", "!", "TARGET_HARD_FLOAT", ")", "{", "cum", "->", "gpr_offset", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "mode", ",", "type", ")", "-", "NDS32_GPR_ARG_FIRST_REGNUM", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "mode", ",", "type", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_function_arg_advance", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242588, "Length": 141, "Cover_Rate": 0.986013986013986} {"Template_token": ["", "static", "unsigned", "int", "nds32_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{"], "ground_truth": ["return", "(", "nds32_needs_double_word_align", "(", "mode", ",", "type", ")", "?", "NDS32_DOUBLE_WORD_ALIGNMENT", ":", "PARM_BOUNDARY", ")", ";"], "File": "nds32", "Func": "nds32_function_arg_boundary", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242589, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "static", "unsigned", "int", "nds32_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{"], "ground_truth": ["return", "(", "nds32_needs_double_word_align", "(", "mode", ",", "type", ")", "?", "NDS32_DOUBLE_WORD_ALIGNMENT", ":", "PARM_BOUNDARY", ")", ";"], "File": "nds32", "Func": "nds32_function_arg_boundary", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242590, "Length": 26, "Cover_Rate": 0.9629629629629629} {"Template_token": ["", "static", "bool", "nds32_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["return", "(", "!", "TARGET_V3PUSH", "&&", "!", "nds32_isr_function_p", "(", "current_function_decl", ")", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", "&&", "decl", "&&", "!", "flag_pic", ")", ";"], "File": "nds32", "Func": "nds32_function_ok_for_sibcall", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242591, "Length": 39, "Cover_Rate": 0.975} {"Template_token": ["", "static", "bool", "nds32_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["return", "(", "!", "TARGET_V3PUSH", "&&", "!", "nds32_isr_function_p", "(", "current_function_decl", ")", "&&", "(", "cfun", "->", "machine", "->", "va_args_size", "==", "", ")", "&&", "decl", "&&", "!", "flag_pic", ")", ";"], "File": "nds32", "Func": "nds32_function_ok_for_sibcall", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242592, "Length": 39, "Cover_Rate": 0.975} {"Template_token": ["", "unsignedp", "=", "TYPE_UNSIGNED", "(", "ret_type", ")", ";", "if", "(", "INTEGRAL_TYPE_P", "(", "ret_type", ")", ")", "mode", "=", "promote_mode", "(", "ret_type", ",", "mode", ",", "&", "unsignedp", ")", ";", "if", "(", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "NDS32_FPR_RET_FIRST_REGNUM", ")", ";", "else", "return", "gen_rtx_REG", "(", "mode", ",", "NDS32_GPR_RET_FIRST_REGNUM", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_function_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242593, "Length": 58, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "if", "(", "regno", "==", "NDS32_GPR_RET_FIRST_REGNUM", "||", "(", "TARGET_HARD_FLOAT", "&&", "regno", "==", "NDS32_FPR_RET_FIRST_REGNUM", ")", ")", "return", "true", ";"], "ground_truth": ["return", "false", ";"], "File": "nds32", "Func": "nds32_function_value_regno_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242594, "Length": 20, "Cover_Rate": 0.6451612903225806} {"Template_token": ["", "if", "(", "regno", ">=", "FIRST_PSEUDO_REGISTER", ")", "return", "true", ";", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "&&", "NDS32_IS_FPR_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "NDS32_IS_EXT_FPR_REGNUM", "(", "regno", ")", ")", "return", "(", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", "&&", "(", "mode", "==", "DFmode", ")", ")", ";", "else", "if", "(", "mode", "==", "SFmode", "||", "mode", "==", "SImode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_SINGLE", "(", "regno", ")", ";", "else", "if", "(", "mode", "==", "DFmode", ")", "return", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ";", "return", "false", ";", "}", "if", "(", "regno", "<=", "NDS32_LAST_GPR_REGNUM", ")", "return", "(", "targetm", ".", "hard_regno_nregs", "(", "regno", ",", "mode", ")", "==", "", "||", "!", "(", "(", "regno", ")", "&", "", ")", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_hard_regno_mode_ok", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242595, "Length": 111, "Cover_Rate": 0.9024390243902439} {"Template_token": ["", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_hard_regno_nregs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242596, "Length": 17, "Cover_Rate": 0.5862068965517241} {"Template_token": ["", "return", "(", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "", ")", "/", "UNITS_PER_WORD", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_hard_regno_nregs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242597, "Length": 17, "Cover_Rate": 0.5862068965517241} {"Template_token": ["", "offset", "=", "(", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", "+", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ")", ";", "}", "else", "if", "(", "from_reg", "==", "ARG_POINTER_REGNUM", "&&", "to_reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "offset", "=", "", ";", "}", "else", "if", "(", "from_reg", "==", "FRAME_POINTER_REGNUM", "&&", "to_reg", "==", "STACK_POINTER_REGNUM", ")", "{", "offset", "=", "(", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ")", ";", "}", "else", "if", "(", "from_reg", "==", "FRAME_POINTER_REGNUM", "&&", "to_reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "offset", "=", "(", "-", "", ")", "*", "(", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ")", ";", "}", "else", "{", "gcc_unreachable", "(", ")", ";", "}", "return", "offset", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_initial_elimination_offset", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242598, "Length": 180, "Cover_Rate": 0.8571428571428571} {"Template_token": ["", "}", "else", "if", "(", "from_reg", "==", "ARG_POINTER_REGNUM", "&&", "to_reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "offset", "=", "", ";", "}", "else", "if", "(", "from_reg", "==", "FRAME_POINTER_REGNUM", "&&", "to_reg", "==", "STACK_POINTER_REGNUM", ")", "{", "offset", "=", "(", "cfun", "->", "machine", "->", "local_size", "+", "cfun", "->", "machine", "->", "out_args_size", ")", ";", "}", "else", "if", "(", "from_reg", "==", "FRAME_POINTER_REGNUM", "&&", "to_reg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{"], "ground_truth": ["offset", "=", "(", "-", "", ")", "*", "(", "cfun", "->", "machine", "->", "fp_size", "+", "cfun", "->", "machine", "->", "gp_size", "+", "cfun", "->", "machine", "->", "lp_size", "+", "cfun", "->", "machine", "->", "callee_saved_gpr_regs_size", "+", "cfun", "->", "machine", "->", "callee_saved_area_gpr_padding_bytes", "+", "cfun", "->", "machine", "->", "callee_saved_fpr_regs_size", "+", "cfun", "->", "machine", "->", "eh_return_data_regs_size", ")", ";"], "File": "nds32", "Func": "nds32_initial_elimination_offset", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242599, "Length": 110, "Cover_Rate": 0.5238095238095238} {"Template_token": ["", "nds32_init_builtins_impl", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_init_builtins", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242600, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "nds32_init_builtins_impl", "(", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_init_builtins", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242601, "Length": 5, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "void", "nds32_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ",", "rtx", "libname", "ATTRIBUTE_UNUSED", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "n_named_args", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["cum", "->", "gpr_offset", "=", "", ";"], "File": "nds32", "Func": "nds32_init_cumulative_args", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242602, "Length": 30, "Cover_Rate": 0.8108108108108109} {"Template_token": ["", "machine", "->", "use_eh_return_p", "=", "", ";", "machine", "->", "naked_p", "=", "", ";", "machine", "->", "fp_as_gp_p", "=", "", ";"], "ground_truth": ["machine", "->", "strict_aligned_p", "=", "", ";"], "File": "nds32", "Func": "nds32_init_machine_status", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242607, "Length": 24, "Cover_Rate": 0.38095238095238093} {"Template_token": ["", "static", "struct", "machine_function", "*", "nds32_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "use_eh_return_p", "=", "", ";", "machine", "->", "naked_p", "=", "", ";", "machine", "->", "fp_as_gp_p", "=", "", ";", "machine", "->", "strict_aligned_p", "=", "", ";", "machine", "->", "attr_naked_p", "=", "", ";", "machine", "->", "attr_no_prologue_p", "=", "", ";"], "ground_truth": ["return", "machine", ";"], "File": "nds32", "Func": "nds32_init_machine_status", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242608, "Length": 62, "Cover_Rate": 0.9841269841269841} {"Template_token": ["", "tree", "id_list", ";", "tree", "id", ";", "tree", "nmi", ",", "warm", ";", "unsigned", "int", "lower_bound", ";", "unsigned", "int", "upper_bound", ";", "id_list", "=", "TREE_VALUE", "(", "reset", ")", ";", "id", "=", "TREE_VALUE", "(", "id_list", ")", ";", "lower_bound", "=", "", ";", "upper_bound", "=", "", ";", "if", "(", "TREE_CODE", "(", "id", ")", "!=", "INTEGER_CST", "||", "wi", "::", "ltu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "lower_bound", ")", "||", "wi", "::", "gtu_p", "(", "wi", "::", "to_wide", "(", "id", ")", ",", "upper_bound", ")", ")", "error", "(", "", ")", ";", "nmi", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "warm", "=", "lookup_attribute", "(", "", ",", "func_attrs", ")", ";", "if", "(", "nmi", "!=", "NULL_TREE", ")", "{", "tree", "nmi_func_list", ";", "tree", "nmi_func", ";", "nmi_func_list", "=", "TREE_VALUE", "(", "nmi", ")", ";", "nmi_func", "=", "TREE_VALUE", "(", "nmi_func_list", ")", ";", "if", "(", "TREE_CODE", "(", "nmi_func", ")", "!=", "IDENTIFIER_NODE", ")", "error", "(", "", ")", ";", "}", "if", "(", "warm", "!=", "NULL_TREE", ")", "{", "tree", "warm_func_list", ";", "tree", "warm_func", ";", "warm_func_list", "=", "TREE_VALUE", "(", "warm", ")", ";", "warm_func", "=", "TREE_VALUE", "(", "warm_func_list", ")", ";", "if", "(", "TREE_CODE", "(", "warm_func", ")", "!=", "IDENTIFIER_NODE", ")", "error", "(", "", ")", ";", "}", "}", "else", "{"], "ground_truth": ["return", ";"], "File": "nds32", "Func": "nds32_insert_attributes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242609, "Length": 190, "Cover_Rate": 0.31456953642384106} {"Template_token": ["", "if", "(", "TARGET_ICT_MODEL_LARGE", "&&", "nds32_indirect_call_referenced_p", "(", "x", ")", ")", "return", "false", ";", "if", "(", "TARGET_CMODEL_LARGE", "&&", "(", "reload_completed", "||", "reload_in_progress", "||", "lra_in_progress", ")", ")", "return", "false", ";", "if", "(", "TARGET_CMODEL_MEDIUM", "&&", "(", "NDS32_SYMBOL_REF_RODATA_P", "(", "x", ")", "||", "CONSTANT_POOL_ADDRESS_P", "(", "x", ")", ")", "&&", "(", "reload_completed", "||", "reload_in_progress", "||", "lra_in_progress", ")", ")", "return", "false", ";", "return", "true", ";", "case", "CONST", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "PLUS", ")", "{", "rtx", "plus_op", "=", "XEXP", "(", "x", ",", "", ")", ";", "rtx", "op0", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "rtx", "op1", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "if", "(", "flag_pic", "||", "SYMBOL_REF_TLS_MODEL", "(", "op0", ")", ")", "return", "false", ";", "if", "(", "TARGET_CMODEL_LARGE", "&&", "(", "reload_completed", "||", "reload_in_progress", "||", "lra_in_progress", ")", ")", "return", "false", ";", "if", "(", "TARGET_CMODEL_MEDIUM", "&&", "NDS32_SYMBOL_REF_RODATA_P", "(", "op0", ")", "&&", "(", "reload_completed", "||", "reload_in_progress", "||", "lra_in_progress", ")", ")", "return", "false", ";", "return", "true", ";", "}", "}", "return", "false", ";", "case", "POST_MODIFY", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "REG", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "PLUS", ")", "{", "rtx", "plus_op", "=", "XEXP", "(", "x", ",", "", ")", ";", "rtx", "op0", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "rtx", "op1", "=", "XEXP", "(", "plus_op", ",", "", ")", ";", "if", "(", "nds32_address_register_rtx_p", "(", "op0", ",", "strict", ")", "&&", "nds32_legitimate_index_p", "(", "mode", ",", "op1", ",", "strict", ")", ")", "return", "true", ";", "else", "return", "false", ";", "}", "return", "false", ";", "case", "POST_INC", ":", "case", "POST_DEC", ":", "if", "(", "nds32_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", ")", "return", "true", ";", "else", "return", "false", ";", "case", "PLUS", ":", "if", "(", "nds32_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", "&&", "nds32_legitimate_index_p", "(", "mode", ",", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", ")", "return", "true", ";", "else", "if", "(", "nds32_address_register_rtx_p", "(", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", "&&", "nds32_legitimate_index_p", "(", "mode", ",", "XEXP", "(", "x", ",", "", ")", ",", "strict", ")", ")", "return", "true", ";", "else", "return", "false", ";", "case", "LO_SUM", ":", "{", "rtx", "sym", "=", "NULL_RTX", ";"], "ground_truth": ["if", "(", "flag_pic", ")", "return", "false", ";"], "File": "nds32", "Func": "nds32_legitimate_address_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242610, "Length": 377, "Cover_Rate": 0.4084507042253521} {"Template_token": ["", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLT", ":", "case", "UNSPEC_TLSGD", ":", "case", "UNSPEC_TLSLD", ":", "case", "UNSPEC_TLSIE", ":", "case", "UNSPEC_TLSLE", ":", "case", "UNSPEC_ICT", ":", "return", "false", ";", "default", ":", "return", "true", ";", "}", "}", "break", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "break", ";"], "ground_truth": ["default", ":"], "File": "nds32", "Func": "nds32_legitimate_constant_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242611, "Length": 53, "Cover_Rate": 0.3045977011494253} {"Template_token": ["", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "", ")", ")", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "", ")", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "{", "switch", "(", "XINT", "(", "x", ",", "", ")", ")", "{", "case", "UNSPEC_GOT", ":", "case", "UNSPEC_GOTOFF", ":", "case", "UNSPEC_PLT", ":", "case", "UNSPEC_TLSGD", ":", "case", "UNSPEC_TLSLD", ":", "case", "UNSPEC_TLSIE", ":", "case", "UNSPEC_TLSLE", ":", "case", "UNSPEC_ICT", ":", "return", "false", ";", "default", ":", "return", "true", ";", "}", "}", "break", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_TLS_MODEL", "(", "x", ")", ")", "return", "false", ";", "break", ";"], "ground_truth": ["default", ":"], "File": "nds32", "Func": "nds32_legitimate_constant_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242612, "Length": 99, "Cover_Rate": 0.5689655172413793} {"Template_token": ["", "if", "(", "satisfies_constraint_Is17", "(", "gen_int_mode", "(", "INTVAL", "(", "index", ")", "+", "", ",", "SImode", ")", ")", ")", "{", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is14", "(", "index", ")", ")", "return", "false", ";", "}", "if", "(", "!", "cfun", "->", "machine", "->", "strict_aligned_p", ")", "return", "true", ";", "else", "if", "(", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "return", "true", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "return", "false", ";", "case", "MULT", ":", "op0", "=", "XEXP", "(", "index", ",", "", ")", ";", "op1", "=", "XEXP", "(", "index", ",", "", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "int", "multiplier", ";", "multiplier", "=", "INTVAL", "(", "op1", ")", ";", "if", "(", "multiplier", "!=", "", "&&", "multiplier", "!=", "", "&&", "multiplier", "!=", "", "&&", "multiplier", "!=", "", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "op0", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_INDEX_P", "(", "regno", ")", ";", "else", "return", "true", ";", "}", "return", "false", ";", "case", "ASHIFT", ":", "op0", "=", "XEXP", "(", "index", ",", "", ")", ";", "op1", "=", "XEXP", "(", "index", ",", "", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "int", "sv", ";", "sv", "=", "INTVAL", "(", "op1", ")", ";", "if", "(", "sv", "!=", "", "&&", "sv", "!=", "", "&&", "sv", "!=", "", "&&", "sv", "!=", "", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "op0", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_INDEX_P", "(", "regno", ")", ";", "else", "return", "true", ";", "}", "return", "false", ";"], "ground_truth": ["default", ":"], "File": "nds32", "Func": "nds32_legitimate_index_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242613, "Length": 259, "Cover_Rate": 0.576837416481069} {"Template_token": ["", "if", "(", "!", "satisfies_constraint_Is14", "(", "index", ")", ")", "return", "false", ";", "}", "if", "(", "!", "cfun", "->", "machine", "->", "strict_aligned_p", ")", "return", "true", ";", "else", "if", "(", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "return", "true", ";", "}", "break", ";", "case", "", ":", "if", "(", "satisfies_constraint_Is17", "(", "gen_int_mode", "(", "INTVAL", "(", "index", ")", "+", "", ",", "SImode", ")", ")", ")", "{", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", ")", "{", "if", "(", "!", "satisfies_constraint_Is14", "(", "index", ")", ")", "return", "false", ";", "}", "if", "(", "!", "cfun", "->", "machine", "->", "strict_aligned_p", ")", "return", "true", ";", "else", "if", "(", "NDS32_SINGLE_WORD_ALIGN_P", "(", "INTVAL", "(", "index", ")", ")", ")", "return", "true", ";", "}", "break", ";", "default", ":", "return", "false", ";", "}", "return", "false", ";", "case", "MULT", ":", "op0", "=", "XEXP", "(", "index", ",", "", ")", ";", "op1", "=", "XEXP", "(", "index", ",", "", ")", ";", "if", "(", "REG_P", "(", "op0", ")", "&&", "CONST_INT_P", "(", "op1", ")", ")", "{", "int", "multiplier", ";", "multiplier", "=", "INTVAL", "(", "op1", ")", ";", "if", "(", "multiplier", "!=", "", "&&", "multiplier", "!=", "", "&&", "multiplier", "!=", "", "&&", "multiplier", "!=", "", ")", "return", "false", ";", "regno", "=", "REGNO", "(", "op0", ")", ";", "if", "(", "strict", ")", "return", "REGNO_OK_FOR_INDEX_P", "(", "regno", ")", ";"], "ground_truth": ["else", "return", "true", ";"], "File": "nds32", "Func": "nds32_legitimate_index_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242614, "Length": 207, "Cover_Rate": 0.4610244988864143} {"Template_token": ["", "static", "rtx", "nds32_legitimize_address", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "nds32_tls_referenced_p", "(", "x", ")", ")", "x", "=", "nds32_legitimize_tls_address", "(", "x", ")", ";", "else", "if", "(", "flag_pic", "&&", "SYMBOLIC_CONST_P", "(", "x", ")", ")", "x", "=", "nds32_legitimize_pic_address", "(", "x", ")", ";"], "ground_truth": ["else", "if", "(", "TARGET_ICT_MODEL_LARGE", "&&", "nds32_indirect_call_referenced_p", "(", "x", ")", ")", "x", "=", "nds32_legitimize_ict_address", "(", "x", ")", ";"], "File": "nds32", "Func": "nds32_legitimize_address", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242615, "Length": 64, "Cover_Rate": 0.9411764705882353} {"Template_token": ["", "static", "rtx", "nds32_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "NDS32_FPR_RET_FIRST_REGNUM", ")", ";"], "ground_truth": ["return", "gen_rtx_REG", "(", "mode", ",", "NDS32_GPR_RET_FIRST_REGNUM", ")", ";"], "File": "nds32", "Func": "nds32_libcall_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242616, "Length": 42, "Cover_Rate": 0.9767441860465116} {"Template_token": ["", "static", "rtx", "nds32_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["if", "(", "TARGET_HARD_FLOAT", "&&", "(", "mode", "==", "SFmode", "||", "mode", "==", "DFmode", ")", ")", "return", "gen_rtx_REG", "(", "mode", ",", "NDS32_FPR_RET_FIRST_REGNUM", ")", ";"], "File": "nds32", "Func": "nds32_libcall_value", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242617, "Length": 34, "Cover_Rate": 0.7906976744186046} {"Template_token": ["", "static", "rtx_insn", "*", "nds32_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "inputs", "ATTRIBUTE_UNUSED", ",", "vec", "<", "machine_mode", ">", "&", "input_modes", "ATTRIBUTE_UNUSED", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", "ATTRIBUTE_UNUSED", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ",", "location_t", ")", "{", "if", "(", "!", "flag_inline_asm_r15", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "SImode", ",", "TA_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "TA_REGNUM", ")", ";", "}"], "ground_truth": ["return", "NULL", ";"], "File": "nds32", "Func": "nds32_md_asm_adjust", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242618, "Length": 82, "Cover_Rate": 0.9879518072289156} {"Template_token": ["", "static", "int", "nds32_memory_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["return", "", ";"], "File": "nds32", "Func": "nds32_memory_move_cost", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242619, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "static", "int", "nds32_memory_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["return", "", ";"], "File": "nds32", "Func": "nds32_memory_move_cost", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242620, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "static", "tree", "nds32_merge_decl_attributes", "(", "tree", "olddecl", ",", "tree", "newdecl", ")", "{", "tree", "combined_attrs", ";"], "ground_truth": ["combined_attrs", "=", "merge_attributes", "(", "DECL_ATTRIBUTES", "(", "olddecl", ")", ",", "DECL_ATTRIBUTES", "(", "newdecl", ")", ")", ";"], "File": "nds32", "Func": "nds32_merge_decl_attributes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242621, "Length": 29, "Cover_Rate": 0.5686274509803921} {"Template_token": ["", "static", "bool", "nds32_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_INT", "&&", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_INT", ")", "&&", "GET_MODE_SIZE", "(", "mode1", ")", "<=", "UNITS_PER_WORD", "&&", "GET_MODE_SIZE", "(", "mode2", ")", "<=", "UNITS_PER_WORD", ")", "return", "true", ";", "if", "(", "GET_MODE_SIZE", "(", "mode1", ")", "==", "GET_MODE_SIZE", "(", "mode2", ")", ")", "{", "if", "(", "(", "TARGET_FPU_SINGLE", "&&", "!", "TARGET_FPU_DOUBLE", ")", "&&", "(", "mode1", "==", "DFmode", "||", "mode2", "==", "DFmode", ")", ")", "return", "false", ";", "else", "return", "true", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_modes_tieable_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242622, "Length": 86, "Cover_Rate": 0.9555555555555556} {"Template_token": ["", "if", "(", "TARGET_HARD_FLOAT", ")", "return", "must_pass_in_stack_var_size_or_pad", "(", "arg", ")", ";", "else", "return", "must_pass_in_stack_var_size", "(", "arg", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_must_pass_in_stack", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242624, "Length": 18, "Cover_Rate": 0.6428571428571429} {"Template_token": ["", "t_naked", "=", "lookup_attribute", "(", "", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "t_no_prologue", "=", "lookup_attribute", "(", "", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";"], "ground_truth": ["return", "(", "(", "t_naked", "!=", "NULL_TREE", ")", "||", "(", "t_no_prologue", "!=", "NULL_TREE", ")", ")", ";"], "File": "nds32", "Func": "nds32_naked_function_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242625, "Length": 39, "Cover_Rate": 0.5909090909090909} {"Template_token": ["", "static", "bool", "nds32_needs_double_word_align", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "align", ";"], "ground_truth": ["align", "=", "NDS32_MODE_TYPE_ALIGN", "(", "mode", ",", "type", ")", ";"], "File": "nds32", "Func": "nds32_needs_double_word_align", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242626, "Length": 24, "Cover_Rate": 0.75} {"Template_token": ["", "static", "void", "nds32_option_override", "(", "void", ")", "{", "if", "(", "TARGET_ISA_V2", ")", "{", "target_flags", "&=", "~", "MASK_V3PUSH", ";", "}", "if", "(", "TARGET_ISA_V3", ")", "{", "if", "(", "nds32_arch_option", "==", "ARCH_V3J", ")", "target_flags", "|=", "MASK_REDUCED_REGS", ";", "}", "if", "(", "TARGET_ISA_V3M", ")", "{", "target_flags", "|=", "MASK_REDUCED_REGS", ";", "target_flags", "&=", "~", "MASK_EXT_PERF", ";", "target_flags", "&=", "~", "MASK_EXT_PERF2", ";", "target_flags", "&=", "~", "MASK_EXT_STRING", ";", "if", "(", "flag_pic", ")", "error", "(", "", ")", ";", "}", "if", "(", "TARGET_REDUCED_REGS", ")", "{", "int", "r", ";", "for", "(", "r", "=", "", ";", "r", "<=", "", ";", "r", "++", ")", "fixed_regs", "[", "r", "]", "=", "call_used_regs", "[", "r", "]", "=", "", ";", "for", "(", "r", "=", "", ";", "r", "<=", "", ";", "r", "++", ")", "fixed_regs", "[", "r", "]", "=", "call_used_regs", "[", "r", "]", "=", "", ";", "}", "if", "(", "TARGET_FORCE_FP_AS_GP", ")", "fixed_regs", "[", "FP_REGNUM", "]", "=", "call_used_regs", "[", "FP_REGNUM", "]", "=", "", ";", "if", "(", "!", "TARGET_16_BIT", ")", "{", "target_flags", "&=", "~", "MASK_V3PUSH", ";", "}", "if", "(", "TARGET_HARD_FLOAT", "&&", "!", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", ")", "{", "if", "(", "nds32_arch_option", "==", "ARCH_V3S", "||", "nds32_arch_option", "==", "ARCH_V3F", ")", "error", "(", "", "", ")", ";", "else", "error", "(", "", "", ")", ";", "}"], "ground_truth": ["nds32_init_rtx_costs", "(", ")", ";"], "File": "nds32", "Func": "nds32_option_override", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242627, "Length": 195, "Cover_Rate": 0.975} {"Template_token": ["", "static", "bool", "nds32_option_pragma_parse", "(", "tree", "args", "ATTRIBUTE_UNUSED", ",", "tree", "pop_target", "ATTRIBUTE_UNUSED", ")", "{", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_option_pragma_parse", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242628, "Length": 17, "Cover_Rate": 1.0} {"Template_token": ["", "gcc_assert", "(", "zero_position", "!=", "-", "", ")", ";", "fprintf", "(", "stream", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "zero_position", ")", ";", "return", ";", "case", "'e'", ":", "gcc_assert", "(", "MEM_P", "(", "x", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ")", "==", "CONST_INT", ")", ";", "fprintf", "(", "stream", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "INTVAL", "(", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ")", ")", ";", "return", ";", "case", "'v'", ":", "gcc_assert", "(", "CONST_INT_P", "(", "x", ")", "&&", "(", "INTVAL", "(", "x", ")", "==", "", "||", "INTVAL", "(", "x", ")", "==", "", "||", "INTVAL", "(", "x", ")", "==", "", "||", "INTVAL", "(", "x", ")", "==", "", ")", ")", ";", "fprintf", "(", "stream", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "INTVAL", "(", "x", ")", "/", "", ")", ";", "return", ";", "case", "'B'", ":", "gcc_assert", "(", "CONST_INT_P", "(", "x", ")", ")", ";", "one_position", "=", "exact_log2", "(", "UINTVAL", "(", "x", ")", "&", "GET_MODE_MASK", "(", "SImode", ")", ")", ";", "gcc_assert", "(", "one_position", "!=", "-", "", ")", ";", "fprintf", "(", "stream", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "one_position", ")", ";", "return", ";", "case", "'L'", ":", "gcc_assert", "(", "REG_P", "(", "x", ")", ")", ";", "pick_lsb_p", "=", "true", ";", "break", ";", "case", "'H'", ":", "gcc_assert", "(", "REG_P", "(", "x", ")", ")", ";", "pick_msb_p", "=", "true", ";", "break", ";", "case", "'V'", ":", "gcc_assert", "(", "CONST_INT_P", "(", "x", ")", ")", ";", "if", "(", "op_value", "<", "", "&&", "op_value", ">=", "", ")", "{", "fprintf", "(", "stream", ",", "HOST_WIDE_INT_PRINT_DEC", ",", "op_value", ")", ";", "}", "else", "if", "(", "op_value", "<", "", "||", "op_value", ">=", "(", "(", "int", ")", "ARRAY_SIZE", "(", "nds32_intrinsic_register_names", ")", "+", "", ")", ")", "{", "error", "(", "", ")", ";", "}", "else", "{", "fprintf", "(", "stream", ",", "", ",", "nds32_intrinsic_register_names", "[", "op_value", "-", "", "]", ")", ";", "}", "return", ";", "case", "'R'", ":", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "]", ")", ";", "return", ";", "case", "'T'", ":", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "+", "", "]", ")", ";", "return", ";", "case", "'U'", ":", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "+", "", "]", ")", ";", "return", ";", "case", "'X'", ":"], "ground_truth": ["if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";"], "File": "nds32", "Func": "nds32_print_operand", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242629, "Length": 416, "Cover_Rate": 0.4114737883283877} {"Template_token": ["", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "+", "", "]", ")", ";", "return", ";", "case", "'U'", ":", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "+", "", "]", ")", ";", "return", ";", "case", "'X'", ":", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "+", "", "]", ")", ";", "return", ";", "case", "'W'", ":", "if", "(", "op_value", "<", "", "||", "op_value", ">", "", ")", "error", "(", "", ")", ";", "fprintf", "(", "stream", ",", "", ",", "nds32_cctl_names", "[", "op_value", "+", "", "]", ")", ";", "return", ";", "case", "'Z'", ":", "fprintf", "(", "stream", ",", "", ",", "nds32_dpref_names", "[", "op_value", "]", ")", ";", "return", ";", "default", ":", "output_operand_lossage", "(", "", ")", ";", "break", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "LABEL_REF", ":", "output_addr_const", "(", "stream", ",", "x", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "stream", ",", "x", ")", ";", "if", "(", "!", "TARGET_LINUX_ABI", "&&", "nds32_indirect_call_referenced_p", "(", "x", ")", ")", "fprintf", "(", "stream", ",", "", ")", ";", "break", ";", "case", "REG", ":", "if", "(", "(", "GET_MODE", "(", "x", ")", "==", "DImode", "||", "GET_MODE", "(", "x", ")", "==", "DFmode", ")", "&&", "NDS32_IS_FPR_REGNUM", "(", "REGNO", "(", "x", ")", ")", ")", "{", "regno", "=", "REGNO", "(", "x", ")", ";", "if", "(", "!", "NDS32_FPR_REGNO_OK_FOR_DOUBLE", "(", "regno", ")", ")", "{", "output_operand_lossage", "(", "", ",", "code", ")", ";", "break", ";", "}", "fprintf", "(", "stream", ",", "", ",", "(", "regno", "-", "NDS32_FIRST_FPR_REGNUM", ")", ">>", "", ")", ";", "break", ";", "}", "if", "(", "(", "GET_MODE", "(", "x", ")", "==", "DImode", "||", "GET_MODE", "(", "x", ")", "==", "DFmode", ")", "&&", "NDS32_IS_GPR_REGNUM", "(", "REGNO", "(", "x", ")", ")", ")", "{", "if", "(", "(", "pick_lsb_p", "&&", "WORDS_BIG_ENDIAN", ")", "||", "(", "pick_msb_p", "&&", "!", "WORDS_BIG_ENDIAN", ")", ")", "{", "regno", "=", "REGNO", "(", "x", ")", ";", "regno", "++", ";", "fputs", "(", "reg_names", "[", "regno", "]", ",", "stream", ")", ";", "break", ";", "}", "}", "if", "(", "TARGET_REDUCED_REGS", "&&", "REGNO", "(", "x", ")", "==", "STATIC_CHAIN_REGNUM", ")", "sorry", "(", "", ")", ";", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "stream", ")", ";", "break", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "x", ")", ",", "XEXP", "(", "x", ",", "", ")", ")", ";", "break", ";", "case", "HIGH", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "", ")", ")", "==", "CONST_DOUBLE", ")", "{", "const", "REAL_VALUE_TYPE", "*", "rv", ";"], "ground_truth": ["long", "val", ";"], "File": "nds32", "Func": "nds32_print_operand", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242630, "Length": 427, "Cover_Rate": 0.42235410484668645} {"Template_token": ["", "if", "(", "from", "!=", "FP_REGS", "&&", "to", "==", "FP_REGS", ")", "return", "", ";", "}", "else", "{"], "ground_truth": ["if", "(", "(", "from", "==", "FP_REGS", "&&", "to", "!=", "FP_REGS", ")", "||", "(", "from", "!=", "FP_REGS", "&&", "to", "==", "FP_REGS", ")", ")", "return", "", ";"], "File": "nds32", "Func": "nds32_register_move_cost", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242631, "Length": 41, "Cover_Rate": 0.3082706766917293} {"Template_token": ["", "opt_pass", "*", "new_opt_pass", "=", "make_pass_func", "(", "g", ")", ";", "struct", "register_pass_info", "insert_pass", "=", "{", "new_opt_pass", ",", "ref_pass_name", ",", "", ",", "pass_pos", "}", ";"], "ground_truth": ["register_pass", "(", "&", "insert_pass", ")", ";"], "File": "nds32", "Func": "nds32_register_pass", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242632, "Length": 29, "Cover_Rate": 0.5087719298245614} {"Template_token": ["", "nds32_register_pass", "(", "make_pass_nds32_relax_opt", ",", "PASS_POS_INSERT_AFTER", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_register_passes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242633, "Length": 10, "Cover_Rate": 0.38461538461538464} {"Template_token": ["", "static", "void", "nds32_register_passes", "(", "void", ")", "{", "nds32_register_pass", "(", "make_pass_nds32_fp_as_gp", ",", "PASS_POS_INSERT_BEFORE", ",", "", ")", ";", "nds32_register_pass", "(", "make_pass_nds32_relax_opt", ",", "PASS_POS_INSERT_AFTER", ",", "", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_register_passes", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242634, "Length": 26, "Cover_Rate": 1.0} {"Template_token": ["", "else", "if", "(", "hard_regno", "<", "", ")", "return", "", ";", "else", "if", "(", "hard_regno", "<", "", ")", "return", "", ";", "else", "return", "", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_register_priority", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242635, "Length": 25, "Cover_Rate": 0.390625} {"Template_token": ["", "else", "if", "(", "hard_regno", "<", "", ")", "return", "", ";", "else", "if", "(", "hard_regno", "<", "", ")", "return", "", ";", "else", "return", "", ";", "}", "else", "{", "if", "(", "hard_regno", ">", "", ")", "return", "", ";", "else", "return", "", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_register_priority", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242636, "Length": 41, "Cover_Rate": 0.640625} {"Template_token": ["", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "MIDDLE_REGS", ";", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "HIGH_REGS", ";", "else", "if", "(", "regno", "==", "", ")", "return", "R15_TA_REG", ";", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "MIDDLE_REGS", ";", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "HIGH_REGS", ";", "else", "if", "(", "regno", "==", "", "||", "regno", "==", "", ")", "{", "return", "GENERAL_REGS", ";", "}", "else", "if", "(", "regno", ">=", "", "&&", "regno", "<=", "", ")", "return", "FP_REGS", ";"], "ground_truth": ["else", "return", "NO_REGS", ";"], "File": "nds32", "Func": "nds32_regno_reg_class", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242637, "Length": 100, "Cover_Rate": 0.819672131147541} {"Template_token": ["", "rtx", "addr", ";", "if", "(", "count", "!=", "", ")", "{", "offset", "=", "-", "", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "frameaddr", ",", "offset", ")", ";", "addr", "=", "memory_address", "(", "Pmode", ",", "addr", ")", ";", "return", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ";", "}"], "ground_truth": ["return", "get_hard_reg_initial_val", "(", "Pmode", ",", "LP_REGNUM", ")", ";"], "File": "nds32", "Func": "nds32_return_addr_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242638, "Length": 52, "Cover_Rate": 0.7878787878787878} {"Template_token": ["", "rtx", "nds32_return_addr_rtx", "(", "int", "count", ",", "rtx", "frameaddr", ")", "{", "int", "offset", ";", "rtx", "addr", ";", "if", "(", "count", "!=", "", ")", "{", "offset", "=", "-", "", ";", "addr", "=", "plus_constant", "(", "Pmode", ",", "frameaddr", ",", "offset", ")", ";", "addr", "=", "memory_address", "(", "Pmode", ",", "addr", ")", ";", "return", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ";", "}", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "LP_REGNUM", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_return_addr_rtx", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242639, "Length": 66, "Cover_Rate": 1.0} {"Template_token": ["", "static", "bool", "nds32_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";"], "ground_truth": ["if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "if", "(", "size", "<", "", "||", "size", ">", "", "*", "UNITS_PER_WORD", ")", "return", "true", ";"], "File": "nds32", "Func": "nds32_return_in_memory", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242640, "Length": 44, "Cover_Rate": 0.6111111111111112} {"Template_token": ["", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";"], "ground_truth": ["if", "(", "TREE_CODE", "(", "type", ")", "==", "COMPLEX_TYPE", ")", "if", "(", "size", "<", "", "||", "size", ">", "", "*", "UNITS_PER_WORD", ")", "return", "true", ";"], "File": "nds32", "Func": "nds32_return_in_memory", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242641, "Length": 32, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "static", "bool", "nds32_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "return", "nds32_rtx_costs_impl", "(", "x", ",", "mode", ",", "outer_code", ",", "opno", ",", "total", ",", "speed", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_rtx_costs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242642, "Length": 41, "Cover_Rate": 1.0} {"Template_token": ["", "return", "nds32_rtx_costs_impl", "(", "x", ",", "mode", ",", "outer_code", ",", "opno", ",", "total", ",", "speed", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_rtx_costs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242643, "Length": 17, "Cover_Rate": 0.4146341463414634} {"Template_token": ["", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";"], "ground_truth": ["return", ";"], "File": "nds32", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242644, "Length": 43, "Cover_Rate": 0.43} {"Template_token": ["", "num_of_used_regs", "=", "NDS32_AVAILABLE_REGNUM_FOR_GPR_ARG", "(", "cum", "->", "gpr_offset", ",", "arg", ".", "mode", ",", "arg", ".", "type", ")", "+", "NDS32_NEED_N_REGS_FOR_ARG", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ";", "remaining_reg_count", "=", "total_args_regs", "-", "num_of_used_regs", ";", "*", "pretend_args_size", "=", "remaining_reg_count", "*", "UNITS_PER_WORD", ";", "return", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_setup_incoming_varargs", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242645, "Length": 44, "Cover_Rate": 0.44} {"Template_token": ["", "if", "(", "pass_name", "&&", "(", "(", "strcmp", "(", "pass_name", ",", "", ")", "==", "", ")", "||", "(", "strcmp", "(", "pass_name", ",", "", ")", "==", "", ")", ")", ")", "return", "!", "satisfies_constraint_Da", "(", "mem", ")", "||", "MEM_VOLATILE_P", "(", "mem", ")", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_split_double_word_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242646, "Length": 44, "Cover_Rate": 0.4036697247706422} {"Template_token": ["", "rtx", "mem", "=", "load_p", "?", "operands", "[", "", "]", ":", "operands", "[", "", "]", ";"], "ground_truth": ["if", "(", "optimize", "==", "", "||", "!", "flag_schedule_insns_after_reload", ")", "return", "!", "satisfies_constraint_Da", "(", "mem", ")", "||", "MEM_VOLATILE_P", "(", "mem", ")", ";"], "File": "nds32", "Func": "nds32_split_double_word_load_store_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242647, "Length": 36, "Cover_Rate": 0.3302752293577982} {"Template_token": ["", "return", "true", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_strict_argument_naming", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242648, "Length": 4, "Cover_Rate": 0.3076923076923077} {"Template_token": ["", "static", "bool", "nds32_strict_argument_naming", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ")", "{", "return", "true", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_strict_argument_naming", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242649, "Length": 13, "Cover_Rate": 1.0} {"Template_token": ["", "rtx_insn", "*", "insn", ";", "if", "(", "!", "NDS32_ALIGN_P", "(", ")", ")", "return", "", ";", "insn", "=", "next_active_insn", "(", "label", ")", ";", "if", "(", "insn", "==", "", "||", "(", "get_attr_length", "(", "insn", ")", "==", "", "&&", "!", "JUMP_P", "(", "insn", ")", "&&", "!", "CALL_P", "(", "insn", ")", ")", ")", "return", "", ";", "else", "return", "", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_target_alignment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242650, "Length": 56, "Cover_Rate": 0.875} {"Template_token": ["", "for", "(", "i", "=", "", ";", "i", "<", "(", "TRAMPOLINE_SIZE", "+", "nds32_cache_block_size", "-", "", ")", "/", "nds32_cache_block_size", ";", "i", "++", ")", "{", "emit_move_insn", "(", "tmp_reg", ",", "plus_constant", "(", "Pmode", ",", "sync_cache_addr", ",", "nds32_cache_block_size", "*", "i", ")", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "}", "}", "else", "if", "(", "TRAMPOLINE_SIZE", ">", "nds32_cache_block_size", ")", "{", "for", "(", "i", "=", "", ";", "i", "<", "(", "TRAMPOLINE_SIZE", "+", "nds32_cache_block_size", "-", "", ")", "/", "nds32_cache_block_size", ";", "i", "++", ")", "{", "emit_move_insn", "(", "tmp_reg", ",", "plus_constant", "(", "Pmode", ",", "sync_cache_addr", ",", "nds32_cache_block_size", "*", "i", ")", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "}", "emit_move_insn", "(", "tmp_reg", ",", "plus_constant", "(", "Pmode", ",", "sync_cache_addr", ",", "TRAMPOLINE_SIZE", "-", "", ")", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "}", "else", "{", "emit_move_insn", "(", "tmp_reg", ",", "sync_cache_addr", ")", ";", "emit_insn", "(", "isync_insn", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "plus_constant", "(", "Pmode", ",", "sync_cache_addr", ",", "TRAMPOLINE_SIZE", "-", "", ")", ")", ";", "emit_insn", "(", "isync_insn", ")", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_trampoline_init", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242651, "Length": 155, "Cover_Rate": 0.48742138364779874} {"Template_token": ["", "static", "bool", "nds32_use_blocks_for_constant_p", "(", "machine_mode", "mode", ",", "const_rtx", "x", "ATTRIBUTE_UNUSED", ")", "{"], "ground_truth": ["if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "SFmode", ")", ")", "return", "true", ";"], "File": "nds32", "Func": "nds32_use_blocks_for_constant_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242652, "Length": 33, "Cover_Rate": 0.868421052631579} {"Template_token": ["", "static", "bool", "nds32_use_blocks_for_constant_p", "(", "machine_mode", "mode", ",", "const_rtx", "x", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "(", "TARGET_FPU_SINGLE", "||", "TARGET_FPU_DOUBLE", ")", "&&", "(", "mode", "==", "DFmode", "||", "mode", "==", "SFmode", ")", ")", "return", "true", ";", "else", "return", "false", ";"], "ground_truth": ["}"], "File": "nds32", "Func": "nds32_use_blocks_for_constant_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242653, "Length": 38, "Cover_Rate": 1.0} {"Template_token": ["", "bool", "nds32_use_load_post_increment", "(", "machine_mode", "mode", ")", "{"], "ground_truth": ["return", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "GET_MODE_SIZE", "(", "E_DImode", ")", ")", ";"], "File": "nds32", "Func": "nds32_use_load_post_increment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242654, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "bool", "nds32_use_load_post_increment", "(", "machine_mode", "mode", ")", "{"], "ground_truth": ["return", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "GET_MODE_SIZE", "(", "E_DImode", ")", ")", ";"], "File": "nds32", "Func": "nds32_use_load_post_increment", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242655, "Length": 20, "Cover_Rate": 0.9523809523809523} {"Template_token": ["", "if", "(", "!", "NDS32_EXT_DSP_P", "(", ")", ")", "return", "word_mode", ";", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "return", "V4QImode", ";"], "ground_truth": ["case", "E_HImode", ":"], "File": "nds32", "Func": "nds32_vectorize_preferred_simd_mode", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242656, "Length": 24, "Cover_Rate": 0.5714285714285714} {"Template_token": ["", "if", "(", "!", "NDS32_EXT_DSP_P", "(", ")", ")", "return", "word_mode", ";"], "ground_truth": ["switch", "(", "mode", ")", "{"], "File": "nds32", "Func": "nds32_vectorize_preferred_simd_mode", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242657, "Length": 15, "Cover_Rate": 0.35714285714285715} {"Template_token": ["", "bool", "nds32_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "V4QImode", "||", "mode", "==", "V2HImode", ")", "return", "NDS32_EXT_DSP_P", "(", ")", ";"], "ground_truth": ["return", "false", ";"], "File": "nds32", "Func": "nds32_vector_mode_supported_p", "Target": "nds32", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 242658, "Length": 25, "Cover_Rate": 0.9615384615384616}