{"Template_token": ["", "else", "if", "(", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";"], "ground_truth": ["bytes_left", "=", "(", "", "*", "", ")", "-", "(", "(", "*", "cum", "-", "", ")", "*", "", ")", ";"], "File": "moxie2", "Func": "moxie_arg_partial_bytes", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220927, "Length": 51, "Cover_Rate": 0.4146341463414634} {"Template_token": ["", "static", "int", "moxie_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "bytes_left", ",", "size", ";", "if", "(", "*", "cum", ">=", "", ")", "return", "", ";", "if", "(", "moxie_pass_by_reference", "(", "cum_v", ",", "mode", ",", "type", ",", "named", ")", ")", "size", "=", "", ";", "else", "if", "(", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";"], "ground_truth": ["}"], "File": "moxie2", "Func": "moxie_arg_partial_bytes", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220928, "Length": 82, "Cover_Rate": 0.6666666666666666} {"Template_token": ["", "cfun", "->", "machine", "->", "callee_saved_reg_size", "=", "", ";", "for", "(", "regno", "=", "", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "(", "!", "call_used_regs", "[", "regno", "]", ")", ")", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+=", "", ";"], "ground_truth": ["cfun", "->", "machine", "->", "size_for_adjusting_sp", "=", "crtl", "->", "args", ".", "pretend_args_size", "+", "cfun", "->", "machine", "->", "local_vars_size", "+", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "crtl", "->", "outgoing_args_size", ":", "", ")", ";"], "File": "moxie2", "Func": "moxie_compute_frame", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220929, "Length": 72, "Cover_Rate": 0.549618320610687} {"Template_token": ["", "static", "void", "moxie_compute_frame", "(", "void", ")", "{", "int", "stack_alignment", "=", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ";", "int", "padding_locals", ";", "int", "regno", ";", "cfun", "->", "machine", "->", "local_vars_size", "=", "get_frame_size", "(", ")", ";", "padding_locals", "=", "cfun", "->", "machine", "->", "local_vars_size", "%", "stack_alignment", ";", "if", "(", "padding_locals", ")", "padding_locals", "=", "stack_alignment", "-", "padding_locals", ";"], "ground_truth": ["cfun", "->", "machine", "->", "local_vars_size", "+=", "padding_locals", ";"], "File": "moxie2", "Func": "moxie_compute_frame", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220930, "Length": 58, "Cover_Rate": 0.44274809160305345} {"Template_token": ["", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "MOXIE_R12", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_reg_size", "<=", "", ")", "{", "emit_move_insn", "(", "reg", ",", "hard_frame_pointer_rtx", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "cfun", "->", "machine", "->", "callee_saved_reg_size", ")", ")", ")", ";", "}", "else", "{", "emit_move_insn", "(", "reg", ",", "GEN_INT", "(", "-", "cfun", "->", "machine", "->", "callee_saved_reg_size", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "reg", ",", "reg", ",", "hard_frame_pointer_rtx", ")", ")", ";", "}", "for", "(", "regno", "=", "FIRST_PSEUDO_REGISTER", ";", "regno", "--", ">", "", ";", ")", "if", "(", "!", "fixed_regs", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", "&&", "df_regs_ever_live_p", "(", "regno", ")", ")", "{", "rtx", "preg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "emit_insn", "(", "gen_movsi_pop", "(", "reg", ",", "preg", ")", ")", ";", "}", "}", "emit_jump_insn", "(", "gen_returner", "(", ")", ")", ";"], "ground_truth": ["}"], "File": "moxie2", "Func": "moxie_expand_epilogue", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220931, "Length": 139, "Cover_Rate": 0.8580246913580247} {"Template_token": ["", "moxie_compute_frame", "(", ")", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ";", "for", "(", "regno", "=", "", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "{", "if", "(", "!", "fixed_regs", "[", "regno", "]", "&&", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "{", "insn", "=", "emit_insn", "(", "gen_movsi_push", "(", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ">", "", ")", "{", "int", "i", "=", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ";"], "ground_truth": ["while", "(", "(", "i", ">=", "", ")", "&&", "(", "i", "<=", "", ")", ")", "{"], "File": "moxie2", "Func": "moxie_expand_prologue", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220932, "Length": 109, "Cover_Rate": 0.459915611814346} {"Template_token": ["", "}", "if", "(", "i", "<=", "", ")", "{", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "i", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "}", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "MOXIE_R12", ")", ";", "insn", "=", "emit_move_insn", "(", "reg", ",", "GEN_INT", "(", "i", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";"], "ground_truth": ["}"], "File": "moxie2", "Func": "moxie_expand_prologue", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220933, "Length": 86, "Cover_Rate": 0.3628691983122363} {"Template_token": ["", "static", "rtx", "moxie_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "*", "cum", "<", "", ")", "return", "gen_rtx_REG", "(", "mode", ",", "*", "cum", ")", ";"], "ground_truth": ["else", "return", "NULL_RTX", ";"], "File": "moxie2", "Func": "moxie_function_arg", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220934, "Length": 48, "Cover_Rate": 0.9795918367346939} {"Template_token": ["", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "*", "cum", "=", "(", "*", "cum", "<", "MOXIE_R6", "?", "*", "cum", "+", "(", "(", "", "+", "MOXIE_FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", ")", "/", "", ")", ":", "*", "cum", ")", ";"], "ground_truth": ["}"], "File": "moxie2", "Func": "moxie_function_arg_advance", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220935, "Length": 41, "Cover_Rate": 0.6949152542372882} {"Template_token": ["", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";"], "ground_truth": ["return", "size", ">", "", "*", "", ";"], "File": "moxie2", "Func": "moxie_pass_by_reference", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220937, "Length": 23, "Cover_Rate": 0.3709677419354839} {"Template_token": ["", "unsigned", "HOST_WIDE_INT", "size", ";", "if", "(", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "true", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "return", "size", ">", "", "*", "", ";"], "ground_truth": ["}"], "File": "moxie2", "Func": "moxie_pass_by_reference", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220938, "Length": 43, "Cover_Rate": 0.6935483870967742} {"Template_token": ["", "LOSE_AND_RETURN", "(", "", ",", "x", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "operand", ")", ">", "MOXIE_R13", ")", "internal_error", "(", "", ",", "REGNO", "(", "operand", ")", ")", ";"], "ground_truth": ["fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";"], "File": "moxie2", "Func": "moxie_print_operand", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220939, "Length": 53, "Cover_Rate": 0.4076923076923077} {"Template_token": ["", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "plus", "=", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "plus", ",", "", ")", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "plus", ",", "", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "plus", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ",", "INTVAL", "(", "XEXP", "(", "plus", ",", "", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";"], "ground_truth": ["}"], "File": "moxie2", "Func": "moxie_print_operand_address", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220940, "Length": 188, "Cover_Rate": 0.7704918032786885} {"Template_token": ["", "int", "regs", "=", "", "-", "*", "cum", ";", "*", "pretend_size", "=", "regs", "<", "", "?", "", ":", "GET_MODE_SIZE", "(", "SImode", ")", "*", "regs", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "", ";", "regno", "++", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "rtx", "slot", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "SImode", ",", "ARG_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "(", "", "+", "(", "regno", "-", "", ")", ")", ")", ")", ";"], "ground_truth": ["emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";"], "File": "moxie2", "Func": "moxie_setup_incoming_varargs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220941, "Length": 97, "Cover_Rate": 0.7238805970149254} {"Template_token": ["", "rtx", "slot", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "SImode", ",", "ARG_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "(", "", "+", "(", "regno", "-", "", ")", ")", ")", ")", ";"], "ground_truth": ["emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";"], "File": "moxie2", "Func": "moxie_setup_incoming_varargs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220942, "Length": 42, "Cover_Rate": 0.31343283582089554} {"Template_token": ["", "int", "stack_alignment", "=", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ";", "int", "padding_locals", ";", "int", "regno", ";", "cfun", "->", "machine", "->", "local_vars_size", "=", "get_frame_size", "(", ")", ";", "padding_locals", "=", "cfun", "->", "machine", "->", "local_vars_size", "%", "stack_alignment", ";", "if", "(", "padding_locals", ")", "padding_locals", "=", "stack_alignment", "-", "padding_locals", ";", "cfun", "->", "machine", "->", "local_vars_size", "+=", "padding_locals", ";", "cfun", "->", "machine", "->", "callee_saved_reg_size", "=", "", ";", "for", "(", "regno", "=", "", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "(", "!", "call_used_regs", "[", "regno", "]", ")", ")", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+=", "", ";"], "ground_truth": ["cfun", "->", "machine", "->", "size_for_adjusting_sp", "=", "crtl", "->", "args", ".", "pretend_args_size", "+", "cfun", "->", "machine", "->", "local_vars_size", "+", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "(", "HOST_WIDE_INT", ")", "crtl", "->", "outgoing_args_size", ":", "", ")", ";"], "File": "moxie5", "Func": "moxie_compute_frame", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220943, "Length": 126, "Cover_Rate": 0.9402985074626866} {"Template_token": ["", "else", "size", "=", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "bytes_left", "=", "(", "", "*", "", ")", "-", "(", "(", "*", "cum", "-", "", ")", "*", "", ")", ";"], "ground_truth": ["if", "(", "size", ">", "bytes_left", ")", "return", "bytes_left", ";"], "File": "moxie", "Func": "moxie_arg_partial_bytes", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220944, "Length": 38, "Cover_Rate": 0.3089430894308943} {"Template_token": ["", "fprintf", "(", "f", ",", "", ")", ";", "fprintf", "(", "f", ",", "", ")", ";"], "ground_truth": ["fprintf", "(", "f", ",", "", ")", ";"], "File": "moxie", "Func": "moxie_asm_trampoline_template", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220945, "Length": 21, "Cover_Rate": 0.4666666666666667} {"Template_token": ["", "fprintf", "(", "f", ",", "", ")", ";"], "ground_truth": ["fprintf", "(", "f", ",", "", ")", ";"], "File": "moxie", "Func": "moxie_asm_trampoline_template", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220946, "Length": 14, "Cover_Rate": 0.3111111111111111} {"Template_token": ["", "cfun", "->", "machine", "->", "local_vars_size", "=", "get_frame_size", "(", ")", ";", "padding_locals", "=", "cfun", "->", "machine", "->", "local_vars_size", "%", "stack_alignment", ";", "if", "(", "padding_locals", ")", "padding_locals", "=", "stack_alignment", "-", "padding_locals", ";", "cfun", "->", "machine", "->", "local_vars_size", "+=", "padding_locals", ";", "cfun", "->", "machine", "->", "callee_saved_reg_size", "=", "", ";", "for", "(", "regno", "=", "", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "(", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", ")", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+=", "", ";", "cfun", "->", "machine", "->", "size_for_adjusting_sp", "=", "crtl", "->", "args", ".", "pretend_args_size", "+", "cfun", "->", "machine", "->", "local_vars_size", "+", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "(", "HOST_WIDE_INT", ")", "crtl", "->", "outgoing_args_size", ":", "", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_compute_frame", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220947, "Length": 114, "Cover_Rate": 0.8507462686567164} {"Template_token": ["", "rtx", "reg", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_reg_size", "!=", "", ")", "{", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "MOXIE_R12", ")", ";", "if", "(", "cfun", "->", "machine", "->", "callee_saved_reg_size", "<=", "", ")", "{", "emit_move_insn", "(", "reg", ",", "hard_frame_pointer_rtx", ")", ";", "emit_insn", "(", "gen_subsi3", "(", "reg", ",", "reg", ",", "GEN_INT", "(", "cfun", "->", "machine", "->", "callee_saved_reg_size", ")", ")", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_expand_epilogue", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220948, "Length": 61, "Cover_Rate": 0.391025641025641} {"Template_token": ["", "moxie_compute_frame", "(", ")", ";", "if", "(", "flag_stack_usage_info", ")", "current_function_static_stack_size", "=", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ";", "for", "(", "regno", "=", "", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_movsi_push", "(", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "}", "}", "if", "(", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ">", "", ")", "{", "int", "i", "=", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ";", "while", "(", "(", "i", ">=", "", ")", "&&", "(", "i", "<=", "", ")", ")", "{", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "i", "-=", "", ";", "}", "if", "(", "i", "<=", "", ")", "{", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "i", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "}", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "MOXIE_R12", ")", ";", "insn", "=", "emit_move_insn", "(", "reg", ",", "GEN_INT", "(", "i", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";"], "ground_truth": ["insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "reg", ")", ")", ";"], "File": "moxie", "Func": "moxie_expand_prologue", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220949, "Length": 209, "Cover_Rate": 0.9047619047619048} {"Template_token": ["", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "i", ")", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "}", "else", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "MOXIE_R12", ")", ";", "insn", "=", "emit_move_insn", "(", "reg", ",", "GEN_INT", "(", "i", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "reg", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "", ";", "}"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_expand_prologue", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220950, "Length": 79, "Cover_Rate": 0.341991341991342} {"Template_token": ["", "static", "bool", "moxie_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "CC_REG", ";", "*", "p2", "=", "INVALID_REGNUM", ";"], "ground_truth": ["return", "true", ";"], "File": "moxie", "Func": "moxie_fixed_condition_code_regs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220951, "Length": 28, "Cover_Rate": 0.9655172413793104} {"Template_token": ["", "*", "p2", "=", "INVALID_REGNUM", ";", "return", "true", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_fixed_condition_code_regs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220952, "Length": 9, "Cover_Rate": 0.3103448275862069} {"Template_token": ["", "if", "(", "*", "cum", "<", "", ")", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "*", "cum", ")", ";", "else", "return", "NULL_RTX", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_function_arg", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220953, "Length": 23, "Cover_Rate": 0.5111111111111111} {"Template_token": ["", "if", "(", "*", "cum", "<", "", ")", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "*", "cum", ")", ";"], "ground_truth": ["else", "return", "NULL_RTX", ";"], "File": "moxie", "Func": "moxie_function_arg", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220954, "Length": 22, "Cover_Rate": 0.4888888888888889} {"Template_token": ["", "static", "void", "moxie_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{"], "ground_truth": ["CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";"], "File": "moxie", "Func": "moxie_function_arg_advance", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220955, "Length": 22, "Cover_Rate": 0.3793103448275862} {"Template_token": ["", "static", "void", "moxie_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "*", "cum", "=", "(", "*", "cum", "<", "MOXIE_R6", "?", "*", "cum", "+", "(", "(", "", "+", "MOXIE_FUNCTION_ARG_SIZE", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", "/", "", ")", ":", "*", "cum", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_function_arg_advance", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220956, "Length": 58, "Cover_Rate": 1.0} {"Template_token": ["", "static", "rtx", "moxie_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fntype_or_decl", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "MOXIE_R0", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_function_value", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220957, "Length": 28, "Cover_Rate": 1.0} {"Template_token": ["", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "MOXIE_R0", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_function_value", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220958, "Length": 12, "Cover_Rate": 0.42857142857142855} {"Template_token": ["", "return", "(", "regno", "==", "MOXIE_R0", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_function_value_regno_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220959, "Length": 8, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "return", "(", "regno", "==", "MOXIE_R0", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_function_value_regno_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220960, "Length": 8, "Cover_Rate": 0.4444444444444444} {"Template_token": ["", "if", "(", "(", "from", ")", "==", "FRAME_POINTER_REGNUM", "&&", "(", "to", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "moxie_compute_frame", "(", ")", ";", "ret", "=", "-", "cfun", "->", "machine", "->", "callee_saved_reg_size", ";", "}", "else", "if", "(", "(", "from", ")", "==", "ARG_POINTER_REGNUM", "&&", "(", "to", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "ret", "=", "", ";"], "ground_truth": ["else", "abort", "(", ")", ";"], "File": "moxie", "Func": "moxie_initial_elimination_offset", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220961, "Length": 53, "Cover_Rate": 0.7571428571428571} {"Template_token": ["", "int", "ret", ";", "if", "(", "(", "from", ")", "==", "FRAME_POINTER_REGNUM", "&&", "(", "to", ")", "==", "HARD_FRAME_POINTER_REGNUM", ")", "{", "moxie_compute_frame", "(", ")", ";", "ret", "=", "-", "cfun", "->", "machine", "->", "callee_saved_reg_size", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_initial_elimination_offset", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220962, "Length": 32, "Cover_Rate": 0.45714285714285713} {"Template_token": ["", "static", "struct", "machine_function", "*", "moxie_init_machine_status", "(", "void", ")", "{"], "ground_truth": ["return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";"], "File": "moxie", "Func": "moxie_init_machine_status", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220964, "Length": 17, "Cover_Rate": 0.9444444444444444} {"Template_token": ["", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "", ")", ")", "&&", "moxie_reg_ok_for_base_p", "(", "XEXP", "(", "x", ",", "", ")", ",", "strict_p", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "", ")", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "", ")", ")", ",", "-", "", ",", "", ")", ")", "return", "true", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "moxie_reg_ok_for_base_p", "(", "x", ",", "strict_p", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_legitimate_address_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220965, "Length": 109, "Cover_Rate": 0.8074074074074075} {"Template_token": ["", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "", ")", ")", "&&", "moxie_reg_ok_for_base_p", "(", "XEXP", "(", "x", ",", "", ")", ",", "strict_p", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "", ")", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "", ")", ")", ",", "-", "", ",", "", ")", ")", "return", "true", ";", "if", "(", "REG_P", "(", "x", ")", "&&", "moxie_reg_ok_for_base_p", "(", "x", ",", "strict_p", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "return", "true", ";", "return", "false", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_legitimate_address_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220966, "Length": 109, "Cover_Rate": 0.8074074074074075} {"Template_token": ["", "static", "rtx", "moxie_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "MOXIE_R0", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_libcall_value", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220968, "Length": 21, "Cover_Rate": 1.0} {"Template_token": ["", "x", "=", "XEXP", "(", "x", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "x", "=", "XEXP", "(", "x", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "{", "unsigned", "int", "v", "=", "INTVAL", "(", "x", ")", "&", "", ";", "return", "(", "v", "==", "", "||", "v", "==", "", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_offset_address_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220969, "Length": 61, "Cover_Rate": 0.8356164383561644} {"Template_token": ["", "static", "void", "moxie_operand_lossage", "(", "const", "char", "*", "msgid", ",", "rtx", "op", ")", "{", "debug_rtx", "(", "op", ")", ";"], "ground_truth": ["output_operand_lossage", "(", "", ",", "msgid", ")", ";"], "File": "moxie", "Func": "moxie_operand_lossage", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220970, "Length": 25, "Cover_Rate": 0.9615384615384616} {"Template_token": ["", "init_machine_status", "=", "moxie_init_machine_status", ";", "target_flags", "|=", "MASK_HAS_MULX", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_option_override", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220972, "Length": 9, "Cover_Rate": 0.5625} {"Template_token": ["", "static", "bool", "moxie_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{"], "ground_truth": ["if", "(", "arg", ".", "aggregate_type_p", "(", ")", ")", "return", "true", ";"], "File": "moxie", "Func": "moxie_pass_by_reference", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220973, "Length": 23, "Cover_Rate": 0.5609756097560976} {"Template_token": ["", "unsigned", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";"], "ground_truth": ["return", "size", ">", "", "*", "", ";"], "File": "moxie", "Func": "moxie_pass_by_reference", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220974, "Length": 17, "Cover_Rate": 0.4146341463414634} {"Template_token": ["", "return", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "XEXP", "(", "operand", ",", "", ")", ")", ",", "XEXP", "(", "operand", ",", "", ")", ")", ";", "return", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "operand", ")", ")", "{", "output_addr_const", "(", "file", ",", "operand", ")", ";", "return", ";", "}", "LOSE_AND_RETURN", "(", "", ",", "x", ")", ";", "}"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_print_operand", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220975, "Length": 56, "Cover_Rate": 0.3971631205673759} {"Template_token": ["", "fprintf", "(", "file", ",", "", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "plus", "=", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "plus", ",", "", ")", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "plus", ",", "", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "plus", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ",", "INTVAL", "(", "XEXP", "(", "plus", ",", "", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "x", ")", ";"], "ground_truth": ["break", ";"], "File": "moxie", "Func": "moxie_print_operand_address", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220976, "Length": 184, "Cover_Rate": 0.7449392712550608} {"Template_token": ["", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "plus", "=", "XEXP", "(", "XEXP", "(", "x", ",", "", ")", ",", "", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "plus", ",", "", ")", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "plus", ",", "", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "plus", ",", "", ")", ")", ";", "fprintf", "(", "file", ",", "", ",", "INTVAL", "(", "XEXP", "(", "plus", ",", "", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "", ")", ")", "]", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "break", ";"], "ground_truth": ["default", ":"], "File": "moxie", "Func": "moxie_print_operand_address", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220977, "Length": 169, "Cover_Rate": 0.6842105263157895} {"Template_token": ["", "static", "bool", "moxie_reg_ok_for_base_p", "(", "const_rtx", "reg", ",", "bool", "strict_p", ")", "{", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "strict_p", ")", "return", "HARD_REGNO_OK_FOR_BASE_P", "(", "regno", ")", "||", "HARD_REGNO_OK_FOR_BASE_P", "(", "reg_renumber", "[", "regno", "]", ")", ";"], "ground_truth": ["else", "return", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", "||", "HARD_REGNO_OK_FOR_BASE_P", "(", "regno", ")", ";"], "File": "moxie", "Func": "moxie_reg_ok_for_base_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220978, "Length": 50, "Cover_Rate": 0.9803921568627451} {"Template_token": ["", "int", "regno", "=", "REGNO", "(", "reg", ")", ";"], "ground_truth": ["if", "(", "strict_p", ")", "return", "HARD_REGNO_OK_FOR_BASE_P", "(", "regno", ")", "||", "HARD_REGNO_OK_FOR_BASE_P", "(", "reg_renumber", "[", "regno", "]", ")", ";"], "File": "moxie", "Func": "moxie_reg_ok_for_base_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220979, "Length": 26, "Cover_Rate": 0.5098039215686274} {"Template_token": ["", "static", "bool", "moxie_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "const", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "==", "-", "", "||", "size", ">", "", "*", "UNITS_PER_WORD", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_return_in_memory", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220980, "Length": 36, "Cover_Rate": 1.0} {"Template_token": ["", "return", "(", "size", "==", "-", "", "||", "size", ">", "", "*", "UNITS_PER_WORD", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_return_in_memory", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220981, "Length": 15, "Cover_Rate": 0.4166666666666667} {"Template_token": ["", "static", "void", "moxie_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regno", ";", "int", "regs", "=", "", "-", "*", "cum", ";", "*", "pretend_size", "=", "regs", "<", "", "?", "", ":", "GET_MODE_SIZE", "(", "SImode", ")", "*", "regs", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "", ";", "regno", "++", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "rtx", "slot", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "SImode", ",", "ARG_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "(", "", "+", "(", "regno", "-", "", ")", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";", "}"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_setup_incoming_varargs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220982, "Length": 130, "Cover_Rate": 1.0} {"Template_token": ["", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "", ";", "regno", "++", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "rtx", "slot", "=", "gen_rtx_PLUS", "(", "Pmode", ",", "gen_rtx_REG", "(", "SImode", ",", "ARG_POINTER_REGNUM", ")", ",", "GEN_INT", "(", "UNITS_PER_WORD", "*", "(", "", "+", "(", "regno", "-", "", ")", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";"], "ground_truth": ["}"], "File": "moxie", "Func": "moxie_setup_incoming_varargs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220983, "Length": 68, "Cover_Rate": 0.5230769230769231} {"Template_token": ["", "static", "rtx", "moxie_static_chain", "(", "const_tree", "ARG_UNUSED", "(", "fndecl_or_type", ")", ",", "bool", "incoming_p", ")", "{", "rtx", "addr", ",", "mem", ";", "if", "(", "incoming_p", ")", "addr", "=", "plus_constant", "(", "Pmode", ",", "arg_pointer_rtx", ",", "", "*", "UNITS_PER_WORD", ")", ";", "else", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ";"], "ground_truth": ["MEM_NOTRAP_P", "(", "mem", ")", "=", "", ";"], "File": "moxie", "Func": "moxie_static_chain", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220984, "Length": 65, "Cover_Rate": 0.9420289855072463} {"Template_token": ["", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";"], "ground_truth": ["mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "", ")", ";"], "File": "moxie", "Func": "moxie_trampoline_init", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 220985, "Length": 29, "Cover_Rate": 0.35365853658536583}