{"ground_truth": ["", "int", "arith_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "SMALL_INT", "(", "op", ")", ")", "return", "1", ";", "return", "register_operand", "(", "op", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "a", "register", ",", "or", "is", "a", "CONST_INT", "that", "can", "fit", "in", "a", "signed", "13", "bit", "immediate", "field", ".", "This", "is", "an", "acceptable", "SImode", "operand", "for", "most", "3", "address", "instructions", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "arith_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40498, "Length": 37} {"ground_truth": ["", "int", "big_const_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "CONST_OK_FOR_LETTER_P", "(", "INTVAL", "(", "op", ")", ",", "'M'", ")", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "truth", "value", "of", "whether", "OP", "is", "a", "constant", "that", "requires", "two", "loads", "to", "put", "in", "a", "register", "."], "TS_V_token": ["mt", "1", "0"], "File": "mt", "Func": "big_const_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40499, "Length": 38} {"ground_truth": ["", "static", "bool", "insn_dependent_p", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "rtx", "tmp", ";", "if", "(", "!", "INSN_P", "(", "x", ")", "||", "!", "INSN_P", "(", "y", ")", ")", "return", "0", ";", "tmp", "=", "PATTERN", "(", "y", ")", ";", "note_stores", "(", "PATTERN", "(", "x", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "if", "(", "tmp", "==", "NULL_RTX", ")", "return", "true", ";", "tmp", "=", "PATTERN", "(", "x", ")", ";", "note_stores", "(", "PATTERN", "(", "y", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "return", "(", "tmp", "==", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "anything", "in", "insn", "X", "is", "(", "anti", ",", "output", ",", "true", ")", "dependent", "on", "anything", "in", "insn", "Y", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "insn_dependent_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40500, "Length": 88} {"ground_truth": ["", "static", "void", "insn_dependent_p_1", "(", "rtx", "x", ",", "rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "rtx", "*", "pinsn", "=", "(", "rtx", "*", ")", "data", ";", "if", "(", "*", "pinsn", "&&", "reg_mentioned_p", "(", "x", ",", "*", "pinsn", ")", ")", "*", "pinsn", "=", "NULL_RTX", ";", "}", ""], "natrual_language": ["A", "helper", "routine", "for", "insn_dependent_p", "called", "through", "note_stores", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "insn_dependent_p_1", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40501, "Length": 45} {"ground_truth": ["", "static", "bool", "insn_true_dependent_p", "(", "rtx", "x", ",", "rtx", "y", ")", "{", "rtx", "tmp", ";", "if", "(", "!", "INSN_P", "(", "x", ")", "||", "!", "INSN_P", "(", "y", ")", ")", "return", "0", ";", "tmp", "=", "PATTERN", "(", "y", ")", ";", "note_stores", "(", "PATTERN", "(", "x", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "return", "(", "tmp", "==", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "anything", "in", "insn", "X", "is", "true", "dependent", "on", "anything", "in", "insn", "Y", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "insn_true_dependent_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40502, "Length": 59} {"ground_truth": ["", "static", "int", "mt_add_branches", "(", "rtx", "*", "x", ",", "void", "*", "insn", ")", "{", "if", "(", "GET_CODE", "(", "*", "x", ")", "==", "LABEL_REF", ")", "{", "branch_info", "*", "branch", "=", "xmalloc", "(", "sizeof", "(", "*", "branch", ")", ")", ";", "rtx", "label", "=", "XEXP", "(", "*", "x", ",", "0", ")", ";", "label_info", "*", "info", ";", "for", "(", "info", "=", "mt_labels", ";", "info", ";", "info", "=", "info", "->", "next", ")", "if", "(", "info", "->", "label", "==", "label", ")", "break", ";", "if", "(", "!", "info", ")", "{", "info", "=", "xmalloc", "(", "sizeof", "(", "*", "info", ")", ")", ";", "info", "->", "next", "=", "mt_labels", ";", "mt_labels", "=", "info", ";", "info", "->", "label", "=", "label", ";", "info", "->", "branches", "=", "NULL", ";", "}", "branch", "->", "next", "=", "info", "->", "branches", ";", "info", "->", "branches", "=", "branch", ";", "branch", "->", "insn", "=", "insn", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["If", "*", "X", "is", "a", "label", ",", "add", "INSN", "to", "the", "list", "of", "branches", "for", "that", "label", "."], "TS_V_token": ["mt", "0", "0"], "File": "mt", "Func": "mt_add_branches", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40503, "Length": 141} {"ground_truth": ["", "static", "int", "mt_arg_partial_bytes", "(", "CUMULATIVE_ARGS", "*", "pcum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "int", "cum", "=", "*", "pcum", ";", "int", "words", ";", "if", "(", "mode", "==", "BLKmode", ")", "words", "=", "(", "(", "int_size_in_bytes", "(", "type", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ")", ";", "else", "words", "=", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "UNITS_PER_WORD", "-", "1", ")", "/", "UNITS_PER_WORD", ";", "if", "(", "!", "targetm", ".", "calls", ".", "pass_by_reference", "(", "&", "cum", ",", "mode", ",", "type", ",", "named", ")", "&&", "cum", "<", "MT_NUM_ARG_REGS", "&&", "(", "cum", "+", "words", ")", ">", "MT_NUM_ARG_REGS", ")", "{", "int", "bytes", "=", "(", "MT_NUM_ARG_REGS", "-", "cum", ")", "*", "UNITS_PER_WORD", ";", "if", "(", "TARGET_DEBUG", ")", "fprintf", "(", "stderr", ",", "\"function_arg_partial_nregs = %d\\n\"", ",", "bytes", ")", ";", "return", "bytes", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Implement", "hook", "TARGET_ARG_PARTIAL_BYTES", ".", "Returns", "the", "number", "of", "bytes", "at", "the", "beginning", "of", "an", "argument", "that", "must", "be", "put", "in", "registers", ".", "The", "value", "must", "be", "zero", "for", "arguments", "that", "are", "passed", "entirely", "in", "registers", "or", "that", "are", "entirely", "pushed", "on", "the", "stack", "."], "TS_V_token": ["mt", "1", "1", "\"function_arg_partial_nregs = %d\\n\"", "0"], "File": "mt", "Func": "mt_arg_partial_bytes", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40504, "Length": 132} {"ground_truth": ["", "const", "char", "*", "mt_asm_output_opcode", "(", "FILE", "*", "f", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "ptr", ")", "{", "if", "(", "mt_nops_required", ")", "fprintf", "(", "f", ",", "\";# need %d nops because of %s\\n\\t\"", ",", "mt_nops_required", ",", "mt_nop_reasons", ")", ";", "while", "(", "mt_nops_required", ")", "{", "fprintf", "(", "f", ",", "\"nop\\n\\t\"", ")", ";", "--", "mt_nops_required", ";", "}", "return", "ptr", ";", "}", ""], "natrual_language": ["Implement", "ASM_OUTPUT_OPCODE", "."], "TS_V_token": ["mt", "\";# need %d nops because of %s\\n\\t\"", "\"nop\\n\\t\""], "File": "mt", "Func": "mt_asm_output_opcode", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40505, "Length": 51} {"ground_truth": ["", "static", "rtx", "mt_check_delay_slot", "(", "rtx", "branch", ",", "rtx", "insn", ")", "{", "rtx", "slot", ";", "rtx", "tmp", ";", "rtx", "p", ";", "rtx", "jmp", ";", "gcc_assert", "(", "GET_CODE", "(", "PATTERN", "(", "branch", ")", ")", "==", "SEQUENCE", ")", ";", "if", "(", "INSN_DELETED_P", "(", "branch", ")", ")", "return", "NULL_RTX", ";", "slot", "=", "XVECEXP", "(", "PATTERN", "(", "branch", ")", ",", "0", ",", "1", ")", ";", "tmp", "=", "PATTERN", "(", "insn", ")", ";", "note_stores", "(", "PATTERN", "(", "slot", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "if", "(", "tmp", ")", "return", "NULL_RTX", ";", "jmp", "=", "XVECEXP", "(", "PATTERN", "(", "branch", ")", ",", "0", ",", "0", ")", ";", "tmp", "=", "PATTERN", "(", "jmp", ")", ";", "note_stores", "(", "PATTERN", "(", "slot", ")", ",", "insn_dependent_p_1", ",", "&", "tmp", ")", ";", "if", "(", "!", "tmp", ")", "return", "branch", ";", "p", "=", "PREV_INSN", "(", "branch", ")", ";", "NEXT_INSN", "(", "p", ")", "=", "slot", ";", "PREV_INSN", "(", "slot", ")", "=", "p", ";", "NEXT_INSN", "(", "slot", ")", "=", "jmp", ";", "PREV_INSN", "(", "jmp", ")", "=", "slot", ";", "NEXT_INSN", "(", "jmp", ")", "=", "branch", ";", "PREV_INSN", "(", "branch", ")", "=", "jmp", ";", "XVECEXP", "(", "PATTERN", "(", "branch", ")", ",", "0", ",", "0", ")", "=", "NULL_RTX", ";", "XVECEXP", "(", "PATTERN", "(", "branch", ")", ",", "0", ",", "1", ")", "=", "NULL_RTX", ";", "delete_insn", "(", "branch", ")", ";", "return", "jmp", ";", "}", ""], "natrual_language": ["If", "BRANCH", "has", "a", "filled", "delay", "slot", ",", "check", "if", "INSN", "is", "dependent", "upon", "it", ".", "If", "so", ",", "undo", "the", "delay", "slot", "fill", ".", "Returns", "the", "next", "insn", ",", "if", "we", "patch", "out", "the", "branch", ".", "Returns", "the", "branch", "insn", ",", "if", "we", "can", "not", "patch", "out", "the", "branch", "(", "due", "to", "anti-dependency", "in", "the", "delay", "slot", ")", ".", "In", "that", "case", ",", "the", "caller", "must", "insert", "nops", "at", "the", "branch", "target", "."], "TS_V_token": ["mt", "0", "1", "0", "0", "0", "0", "0", "1"], "File": "mt", "Func": "mt_check_delay_slot", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40506, "Length": 215} {"ground_truth": ["", "unsigned", "int", "mt_compute_frame_size", "(", "int", "size", ")", "{", "int", "regno", ";", "unsigned", "int", "total_size", ";", "unsigned", "int", "var_size", ";", "unsigned", "int", "args_size", ";", "unsigned", "int", "pretend_size", ";", "unsigned", "int", "extra_size", ";", "unsigned", "int", "reg_size", ";", "unsigned", "int", "frame_size", ";", "unsigned", "int", "reg_mask", ";", "var_size", "=", "size", ";", "args_size", "=", "current_function_outgoing_args_size", ";", "pretend_size", "=", "current_function_pretend_args_size", ";", "extra_size", "=", "FIRST_PARM_OFFSET", "(", "0", ")", ";", "total_size", "=", "extra_size", "+", "pretend_size", "+", "args_size", "+", "var_size", ";", "reg_size", "=", "0", ";", "reg_mask", "=", "0", ";", "for", "(", "regno", "=", "GPR_R0", ";", "regno", "<=", "GPR_LAST", ";", "regno", "++", ")", "{", "if", "(", "MUST_SAVE_REGISTER", "(", "regno", ")", ")", "{", "reg_size", "+=", "UNITS_PER_WORD", ";", "reg_mask", "|=", "1", "<<", "regno", ";", "}", "}", "current_frame_info", ".", "save_fp", "=", "(", "regs_ever_live", "[", "GPR_FP", "]", "||", "frame_pointer_needed", "||", "interrupt_handler", ")", ";", "current_frame_info", ".", "save_lr", "=", "(", "regs_ever_live", "[", "GPR_LINK", "]", "||", "profile_flag", "||", "interrupt_handler", ")", ";", "reg_size", "+=", "(", "current_frame_info", ".", "save_fp", "+", "current_frame_info", ".", "save_lr", ")", "*", "UNITS_PER_WORD", ";", "total_size", "+=", "reg_size", ";", "total_size", "=", "(", "(", "total_size", "+", "3", ")", "&", "~", "3", ")", ";", "frame_size", "=", "total_size", ";", "current_frame_info", ".", "pretend_size", "=", "pretend_size", ";", "current_frame_info", ".", "var_size", "=", "var_size", ";", "current_frame_info", ".", "args_size", "=", "args_size", ";", "current_frame_info", ".", "reg_size", "=", "reg_size", ";", "current_frame_info", ".", "frame_size", "=", "args_size", "+", "var_size", ";", "current_frame_info", ".", "total_size", "=", "total_size", ";", "current_frame_info", ".", "extra_size", "=", "extra_size", ";", "current_frame_info", ".", "reg_mask", "=", "reg_mask", ";", "current_frame_info", ".", "initialized", "=", "reload_completed", ";", "return", "total_size", ";", "}", ""], "natrual_language": ["Returns", "the", "number", "of", "bytes", "offset", "between", "the", "frame", "pointer", "and", "the", "stack", "pointer", "for", "the", "current", "function", ".", "SIZE", "is", "the", "number", "of", "bytes", "of", "space", "needed", "for", "local", "variables", "."], "TS_V_token": ["mt", "0", "0", "0", "1", "3", "3"], "File": "mt", "Func": "mt_compute_frame_size", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40507, "Length": 239} {"ground_truth": ["", "static", "void", "mt_debug_stack", "(", "struct", "mt_frame_info", "*", "info", ")", "{", "int", "regno", ";", "if", "(", "!", "info", ")", "{", "error", "(", "\"info pointer NULL\"", ")", ";", "gcc_unreachable", "(", ")", ";", "}", "fprintf", "(", "stderr", ",", "\"\\nStack information for function %s:\\n\"", ",", "(", "(", "current_function_decl", "&&", "DECL_NAME", "(", "current_function_decl", ")", ")", "?", "IDENTIFIER_POINTER", "(", "DECL_NAME", "(", "current_function_decl", ")", ")", ":", "\"\"", ")", ")", ";", "fprintf", "(", "stderr", ",", "\"\\ttotal_size = %d\\n\"", ",", "info", "->", "total_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tpretend_size = %d\\n\"", ",", "info", "->", "pretend_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\targs_size = %d\\n\"", ",", "info", "->", "args_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\textra_size = %d\\n\"", ",", "info", "->", "extra_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\treg_size = %d\\n\"", ",", "info", "->", "reg_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tvar_size = %d\\n\"", ",", "info", "->", "var_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tframe_size = %d\\n\"", ",", "info", "->", "frame_size", ")", ";", "fprintf", "(", "stderr", ",", "\"\\treg_mask = 0x%x\\n\"", ",", "info", "->", "reg_mask", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tsave_fp = %d\\n\"", ",", "info", "->", "save_fp", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tsave_lr = %d\\n\"", ",", "info", "->", "save_lr", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tinitialized = %d\\n\"", ",", "info", "->", "initialized", ")", ";", "fprintf", "(", "stderr", ",", "\"\\tsaved registers =\"", ")", ";", "for", "(", "regno", "=", "GPR_R0", ";", "regno", "<=", "GPR_LAST", ";", "regno", "++", ")", "if", "(", "(", "1", "<<", "regno", ")", "&", "info", "->", "reg_mask", ")", "fprintf", "(", "stderr", ",", "\" %s\"", ",", "reg_names", "[", "regno", "]", ")", ";", "putc", "(", "'\\n'", ",", "stderr", ")", ";", "fflush", "(", "stderr", ")", ";", "}", ""], "natrual_language": ["Print", "debugging", "information", "for", "a", "frame", "."], "TS_V_token": ["mt", "\"info pointer NULL\"", "\"\\nStack information for function %s:\\n\"", "\"\"", "\"\\ttotal_size = %d\\n\"", "\"\\tpretend_size = %d\\n\"", "\"\\targs_size = %d\\n\"", "\"\\textra_size = %d\\n\"", "\"\\treg_size = %d\\n\"", "\"\\tvar_size = %d\\n\"", "\"\\tframe_size = %d\\n\"", "\"\\treg_mask = 0x%x\\n\"", "\"\\tsave_fp = %d\\n\"", "\"\\tsave_lr = %d\\n\"", "\"\\tinitialized = %d\\n\"", "\"\\tsaved registers =\"", "1", "\" %s\""], "File": "mt", "Func": "mt_debug_stack", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40508, "Length": 235} {"ground_truth": ["", "void", "mt_emit_cbranch", "(", "enum", "rtx_code", "code", ",", "rtx", "loc", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "condition_rtx", ",", "loc_ref", ";", "if", "(", "!", "reg_or_0_operand", "(", "op0", ",", "SImode", ")", ")", "op0", "=", "copy_to_mode_reg", "(", "SImode", ",", "op0", ")", ";", "if", "(", "!", "reg_or_0_operand", "(", "op1", ",", "SImode", ")", ")", "op1", "=", "copy_to_mode_reg", "(", "SImode", ",", "op1", ")", ";", "condition_rtx", "=", "mt_generate_compare", "(", "code", ",", "op0", ",", "op1", ")", ";", "loc_ref", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "loc", ")", ";", "emit_jump_insn", "(", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "condition_rtx", ",", "loc_ref", ",", "pc_rtx", ")", ")", ")", ";", "}", ""], "natrual_language": ["Emit", "a", "branch", "of", "kind", "CODE", "to", "location", "LOC", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_emit_cbranch", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40509, "Length": 102} {"ground_truth": ["", "static", "void", "mt_emit_save_fp", "(", "enum", "save_direction", "direction", ",", "struct", "mt_frame_info", "info", ")", "{", "rtx", "base_reg", ";", "int", "reg_mask", "=", "info", ".", "reg_mask", "&", "~", "(", "FP_MASK", "|", "LINK_MASK", ")", ";", "int", "offset", "=", "info", ".", "total_size", ";", "int", "stack_offset", "=", "info", ".", "total_size", ";", "if", "(", "!", "info", ".", "save_fp", "&&", "!", "info", ".", "save_lr", "&&", "!", "reg_mask", ")", "return", ";", "if", "(", "CONST_OK_FOR_LETTER_P", "(", "offset", ",", "'O'", ")", ")", "base_reg", "=", "stack_pointer_rtx", ";", "else", "{", "base_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GPR_R9", ")", ";", "offset", "=", "0", ";", "}", "if", "(", "info", ".", "save_fp", ")", "{", "offset", "-=", "UNITS_PER_WORD", ";", "stack_offset", "-=", "UNITS_PER_WORD", ";", "mt_emit_save_restore", "(", "direction", ",", "gen_rtx_REG", "(", "SImode", ",", "GPR_FP", ")", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_PLUS", "(", "SImode", ",", "base_reg", ",", "GEN_INT", "(", "offset", ")", ")", ")", ",", "stack_offset", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "the", "frame", "pointer", "in", "the", "prologue", "and", "restore", "frame", "pointer", "in", "epilogue", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "mt_emit_save_fp", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40510, "Length": 138} {"ground_truth": ["", "static", "void", "mt_emit_save_regs", "(", "enum", "save_direction", "direction", ",", "struct", "mt_frame_info", "info", ")", "{", "rtx", "base_reg", ";", "int", "regno", ";", "int", "reg_mask", "=", "info", ".", "reg_mask", "&", "~", "(", "FP_MASK", "|", "LINK_MASK", ")", ";", "int", "offset", "=", "info", ".", "total_size", ";", "int", "stack_offset", "=", "info", ".", "total_size", ";", "if", "(", "!", "info", ".", "save_fp", "&&", "!", "info", ".", "save_lr", "&&", "!", "reg_mask", ")", "return", ";", "if", "(", "CONST_OK_FOR_LETTER_P", "(", "offset", ",", "'O'", ")", ")", "base_reg", "=", "stack_pointer_rtx", ";", "else", "{", "base_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "GPR_R9", ")", ";", "offset", "=", "0", ";", "}", "if", "(", "info", ".", "save_fp", ")", "{", "offset", "-=", "UNITS_PER_WORD", ";", "stack_offset", "-=", "UNITS_PER_WORD", ";", "}", "if", "(", "info", ".", "save_lr", ")", "{", "offset", "-=", "UNITS_PER_WORD", ";", "stack_offset", "-=", "UNITS_PER_WORD", ";", "mt_emit_save_restore", "(", "direction", ",", "gen_rtx_REG", "(", "SImode", ",", "GPR_LINK", ")", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_PLUS", "(", "SImode", ",", "base_reg", ",", "GEN_INT", "(", "offset", ")", ")", ")", ",", "stack_offset", ")", ";", "}", "for", "(", "regno", "=", "GPR_R0", ";", "regno", "<=", "GPR_LAST", ";", "regno", "++", ")", "{", "if", "(", "(", "reg_mask", "&", "(", "1", "<<", "regno", ")", ")", "!=", "0", ")", "{", "offset", "-=", "UNITS_PER_WORD", ";", "stack_offset", "-=", "UNITS_PER_WORD", ";", "mt_emit_save_restore", "(", "direction", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_PLUS", "(", "SImode", ",", "base_reg", ",", "GEN_INT", "(", "offset", ")", ")", ")", ",", "stack_offset", ")", ";", "}", "}", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "registers", "in", "the", "prologue", "and", "restore", "register", "in", "epilogue", "."], "TS_V_token": ["mt", "0", "1", "0"], "File": "mt", "Func": "mt_emit_save_regs", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40511, "Length": 227} {"ground_truth": ["", "static", "void", "mt_emit_save_restore", "(", "enum", "save_direction", "direction", ",", "rtx", "reg", ",", "rtx", "mem", ",", "int", "stack_offset", ")", "{", "if", "(", "direction", "==", "FROM_PROCESSOR_TO_MEM", ")", "{", "rtx", "insn", ";", "insn", "=", "emit_move_insn", "(", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "SImode", ",", "gen_rtx_PLUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "stack_offset", ")", ")", ")", ",", "reg", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "else", "emit_move_insn", "(", "reg", ",", "mem", ")", ";", "}", ""], "natrual_language": ["Emit", "code", "to", "save", "REG", "in", "stack", "offset", "pointed", "to", "by", "MEM", ".", "STACK_OFFSET", "is", "the", "offset", "from", "the", "SP", "where", "the", "save", "will", "happen", ".", "This", "function", "sets", "the", "REG_FRAME_RELATED_EXPR", "note", "accordingly", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "mt_emit_save_restore", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40512, "Length": 93} {"ground_truth": ["", "int", "mt_epilogue_uses", "(", "int", "regno", ")", "{", "if", "(", "cfun", "->", "machine", "&&", "cfun", "->", "machine", "->", "interrupt_handler", "&&", "reload_completed", ")", "return", "1", ";", "return", "regno", "==", "GPR_LINK", ";", "}", ""], "natrual_language": ["Implement", "EPILOGUE_USES", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "mt_epilogue_uses", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40513, "Length": 30} {"ground_truth": ["", "void", "mt_expand_eh_return", "(", "rtx", "*", "operands", ")", "{", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "!=", "REG", "||", "REGNO", "(", "operands", "[", "0", "]", ")", "!=", "EH_RETURN_STACKADJ_REGNO", ")", "{", "rtx", "sp", "=", "EH_RETURN_STACKADJ_RTX", ";", "emit_move_insn", "(", "sp", ",", "operands", "[", "0", "]", ")", ";", "operands", "[", "0", "]", "=", "sp", ";", "}", "emit_insn", "(", "gen_eh_epilogue", "(", "operands", "[", "0", "]", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "code", "for", "the", "``", "eh_return", "''", "pattern", "."], "TS_V_token": ["mt", "0", "0", "0", "0", "0"], "File": "mt", "Func": "mt_expand_eh_return", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40514, "Length": 66} {"ground_truth": ["", "void", "mt_expand_epilogue", "(", "enum", "epilogue_type", "eh_mode", ")", "{", "rtx", "size_rtx", ",", "insn", ";", "unsigned", "frame_size", ";", "mt_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "TARGET_DEBUG_STACK", ")", "mt_debug_stack", "(", "&", "current_frame_info", ")", ";", "frame_size", "=", "current_frame_info", ".", "total_size", ";", "if", "(", "CONST_OK_FOR_LETTER_P", "(", "frame_size", ",", "'O'", ")", ")", "size_rtx", "=", "GEN_INT", "(", "frame_size", ")", ";", "else", "{", "gcc_assert", "(", "!", "interrupt_handler", ")", ";", "size_rtx", "=", "gen_rtx_REG", "(", "SImode", ",", "GPR_R9", ")", ";", "insn", "=", "emit_move_insn", "(", "size_rtx", ",", "GEN_INT", "(", "frame_size", "&", "0xffff0000", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_iorsi3", "(", "size_rtx", ",", "size_rtx", ",", "GEN_INT", "(", "frame_size", "&", "0x0000ffff", ")", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "size_rtx", ",", "size_rtx", ",", "stack_pointer_rtx", ")", ")", ";", "}", "if", "(", "frame_pointer_needed", ")", "insn", "=", "emit_move_insn", "(", "stack_pointer_rtx", ",", "frame_pointer_rtx", ")", ";", "mt_emit_save_fp", "(", "FROM_MEM_TO_PROCESSOR", ",", "current_frame_info", ")", ";", "mt_emit_save_regs", "(", "FROM_MEM_TO_PROCESSOR", ",", "current_frame_info", ")", ";", "if", "(", "frame_size", ")", "{", "if", "(", "CONST_OK_FOR_LETTER_P", "(", "frame_size", ",", "'O'", ")", ")", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "size_rtx", ")", ")", ";", "else", "insn", "=", "emit_move_insn", "(", "stack_pointer_rtx", ",", "gen_rtx_REG", "(", "SImode", ",", "GPR_R9", ")", ")", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_PLUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "frame_size", ")", ")", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "if", "(", "cfun", "->", "machine", "&&", "cfun", "->", "machine", "->", "eh_stack_adjust", "!=", "NULL_RTX", ")", "emit_insn", "(", "gen_addsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "cfun", "->", "machine", "->", "eh_stack_adjust", ")", ")", ";", "if", "(", "eh_mode", "==", "EH_EPILOGUE", ")", "{", "emit_jump_insn", "(", "gen_eh_return_internal", "(", ")", ")", ";", "emit_barrier", "(", ")", ";", "}", "else", "if", "(", "interrupt_handler", ")", "emit_jump_insn", "(", "gen_return_interrupt_internal", "(", ")", ")", ";", "else", "emit_jump_insn", "(", "gen_return_internal", "(", ")", ")", ";", "interrupt_handler", "=", "0", ";", "current_frame_info", "=", "zero_frame_info", ";", "if", "(", "cfun", "->", "machine", ")", "cfun", "->", "machine", "->", "eh_stack_adjust", "=", "NULL_RTX", ";", "}", ""], "natrual_language": ["Generate", "epilogue", ".", "EH_MODE", "is", "NORMAL_EPILOGUE", "when", "generating", "a", "function", "epilogue", ",", "or", "EH_EPILOGUE", "when", "generating", "an", "EH", "epilogue", "."], "TS_V_token": ["mt", "0xffff0000", "0x0000ffff", "0"], "File": "mt", "Func": "mt_expand_epilogue", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40515, "Length": 315} {"ground_truth": ["", "void", "mt_expand_prologue", "(", "void", ")", "{", "rtx", "size_rtx", ",", "insn", ";", "unsigned", "int", "frame_size", ";", "if", "(", "mt_interrupt_function_p", "(", "current_function_decl", ")", ")", "{", "interrupt_handler", "=", "1", ";", "if", "(", "cfun", "->", "machine", ")", "cfun", "->", "machine", "->", "interrupt_handler", "=", "1", ";", "}", "mt_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "TARGET_DEBUG_STACK", ")", "mt_debug_stack", "(", "&", "current_frame_info", ")", ";", "frame_size", "=", "current_frame_info", ".", "total_size", ";", "if", "(", "CONST_OK_FOR_LETTER_P", "(", "frame_size", ",", "'O'", ")", ")", "size_rtx", "=", "GEN_INT", "(", "frame_size", ")", ";", "else", "{", "gcc_assert", "(", "!", "interrupt_handler", ")", ";", "size_rtx", "=", "gen_rtx_REG", "(", "SImode", ",", "GPR_R9", ")", ";", "insn", "=", "emit_move_insn", "(", "size_rtx", ",", "GEN_INT", "(", "frame_size", "&", "0xffff0000", ")", ")", ";", "insn", "=", "emit_insn", "(", "gen_iorsi3", "(", "size_rtx", ",", "size_rtx", ",", "GEN_INT", "(", "frame_size", "&", "0x0000ffff", ")", ")", ")", ";", "}", "if", "(", "frame_size", ")", "{", "insn", "=", "emit_insn", "(", "gen_subsi3", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "size_rtx", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "REG_NOTES", "(", "insn", ")", "=", "gen_rtx_EXPR_LIST", "(", "REG_FRAME_RELATED_EXPR", ",", "gen_rtx_SET", "(", "VOIDmode", ",", "stack_pointer_rtx", ",", "gen_rtx_MINUS", "(", "SImode", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "frame_size", ")", ")", ")", ",", "REG_NOTES", "(", "insn", ")", ")", ";", "}", "if", "(", "current_frame_info", ".", "reg_size", "!=", "0", "&&", "!", "CONST_OK_FOR_LETTER_P", "(", "frame_size", ",", "'O'", ")", ")", "emit_insn", "(", "gen_addsi3", "(", "size_rtx", ",", "size_rtx", ",", "stack_pointer_rtx", ")", ")", ";", "mt_emit_save_fp", "(", "FROM_PROCESSOR_TO_MEM", ",", "current_frame_info", ")", ";", "if", "(", "frame_pointer_needed", ")", "{", "insn", "=", "emit_move_insn", "(", "frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "mt_emit_save_regs", "(", "FROM_PROCESSOR_TO_MEM", ",", "current_frame_info", ")", ";", "if", "(", "profile_flag", ")", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", ""], "natrual_language": ["Generate", "prologue", "code", "."], "TS_V_token": ["mt", "1", "1", "0xffff0000", "0x0000ffff", "1", "0", "1"], "File": "mt", "Func": "mt_expand_prologue", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40516, "Length": 269} {"ground_truth": ["", "void", "mt_final_prescan_insn", "(", "rtx", "insn", ",", "rtx", "*", "opvec", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "prev_i", ";", "enum", "attr_type", "prev_attr", ";", "mt_nops_required", "=", "0", ";", "mt_nop_reasons", "=", "\"\"", ";", "if", "(", "TARGET_MS2", ")", "return", ";", "if", "(", "!", "INSN_P", "(", "insn", ")", ")", "return", ";", "for", "(", "prev_i", "=", "PREV_INSN", "(", "insn", ")", ";", "prev_i", "!=", "NULL", "&&", "(", "!", "INSN_P", "(", "prev_i", ")", "||", "GET_CODE", "(", "PATTERN", "(", "prev_i", ")", ")", "==", "USE", "||", "GET_CODE", "(", "PATTERN", "(", "prev_i", ")", ")", "==", "CLOBBER", ")", ";", "prev_i", "=", "PREV_INSN", "(", "prev_i", ")", ")", "{", "if", "(", "BARRIER_P", "(", "prev_i", ")", ")", "return", ";", "}", "if", "(", "prev_i", "==", "NULL", "||", "!", "INSN_P", "(", "prev_i", ")", ")", "return", ";", "prev_attr", "=", "mt_get_attr_type", "(", "prev_i", ")", ";", "if", "(", "prev_attr", "==", "TYPE_BRANCH", ")", "return", ";", "switch", "(", "mt_get_attr_type", "(", "insn", ")", ")", "{", "case", "TYPE_LOAD", ":", "case", "TYPE_STORE", ":", "if", "(", "(", "prev_attr", "==", "TYPE_LOAD", "||", "prev_attr", "==", "TYPE_STORE", ")", "&&", "TARGET_MS1_64_001", ")", "{", "mt_nops_required", "=", "1", ";", "mt_nop_reasons", "=", "\"consecutive mem ops\"", ";", "}", "case", "TYPE_ARITH", ":", "case", "TYPE_COMPLEX", ":", "if", "(", "prev_attr", "==", "TYPE_LOAD", "&&", "insn_true_dependent_p", "(", "prev_i", ",", "insn", ")", ")", "{", "mt_nops_required", "=", "1", ";", "mt_nop_reasons", "=", "\"load->arith dependency delay\"", ";", "}", "break", ";", "case", "TYPE_BRANCH", ":", "if", "(", "insn_dependent_p", "(", "prev_i", ",", "insn", ")", ")", "{", "if", "(", "prev_attr", "==", "TYPE_ARITH", "&&", "TARGET_MS1_64_001", ")", "{", "mt_nops_required", "=", "1", ";", "mt_nop_reasons", "=", "\"arith->branch dependency delay\"", ";", "}", "else", "if", "(", "prev_attr", "==", "TYPE_LOAD", ")", "{", "if", "(", "TARGET_MS1_64_001", ")", "mt_nops_required", "=", "2", ";", "else", "mt_nops_required", "=", "1", ";", "mt_nop_reasons", "=", "\"load->branch dependency delay\"", ";", "}", "}", "break", ";", "default", ":", "fatal_insn", "(", "\"mt_final_prescan_insn, invalid insn #1\"", ",", "insn", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "following", "determines", "the", "number", "of", "nops", "that", "need", "to", "be", "inserted", "between", "the", "previous", "instructions", "and", "current", "instruction", "to", "avoid", "pipeline", "hazards", "on", "the", "mt", "processor", ".", "Remember", "that", "the", "function", "is", "not", "called", "for", "asm", "insns", "."], "TS_V_token": ["mt", "0", "\"\"", "1", "\"consecutive mem ops\"", "1", "\"load->arith dependency delay\"", "1", "\"arith->branch dependency delay\"", "2", "1", "\"load->branch dependency delay\"", "\"mt_final_prescan_insn, invalid insn #1\""], "File": "mt", "Func": "mt_final_prescan_insn", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40517, "Length": 277} {"ground_truth": ["", "rtx", "mt_function_arg", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ",", "int", "incoming_p", ")", "{", "int", "slotno", ",", "regno", ";", "rtx", "reg", ";", "slotno", "=", "mt_function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "incoming_p", ",", "&", "regno", ")", ";", "if", "(", "slotno", "==", "-", "1", ")", "reg", "=", "NULL_RTX", ";", "else", "reg", "=", "gen_rtx_REG", "(", "mode", ",", "regno", ")", ";", "return", "reg", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_ARG", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "mt_function_arg", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40518, "Length": 73} {"ground_truth": ["", "void", "mt_function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "named", ")", "{", "int", "slotno", ",", "regno", ";", "slotno", "=", "mt_function_arg_slotno", "(", "cum", ",", "mode", ",", "type", ",", "named", ",", "0", ",", "&", "regno", ")", ";", "*", "cum", "+=", "(", "mode", "!=", "BLKmode", "?", "ROUND_ADVANCE", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", ":", "ROUND_ADVANCE", "(", "int_size_in_bytes", "(", "type", ")", ")", ")", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "fprintf", "(", "stderr", ",", "\"mt_function_arg_advance: words = %2d, mode = %4s, named = %d, size = %3d\\n\"", ",", "*", "cum", ",", "GET_MODE_NAME", "(", "mode", ")", ",", "named", ",", "(", "*", "cum", ")", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["mt", "0", "\"mt_function_arg_advance: words = %2d, mode = %4s, named = %d, size = %3d\\n\""], "File": "mt", "Func": "mt_function_arg_advance", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40519, "Length": 96} {"ground_truth": ["", "int", "mt_function_arg_boundary", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ")", "{", "return", "BITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "FUNCTION_ARG_BOUNDARY", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_function_arg_boundary", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40520, "Length": 17} {"ground_truth": ["", "static", "int", "mt_function_arg_slotno", "(", "const", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", "ATTRIBUTE_UNUSED", ",", "int", "incoming_p", "ATTRIBUTE_UNUSED", ",", "int", "*", "pregno", ")", "{", "int", "regbase", "=", "FIRST_ARG_REGNUM", ";", "int", "slotno", "=", "*", "cum", ";", "if", "(", "mode", "==", "VOIDmode", "||", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "return", "-", "1", ";", "if", "(", "slotno", ">=", "MT_NUM_ARG_REGS", ")", "return", "-", "1", ";", "*", "pregno", "=", "regbase", "+", "slotno", ";", "return", "slotno", ";", "}", ""], "natrual_language": ["Compute", "the", "slot", "number", "to", "pass", "an", "argument", "in", ".", "Returns", "the", "slot", "number", "or", "-1", "if", "passing", "on", "the", "stack", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "MODE", "is", "the", "argument", "'s", "machine", "mode", ".", "TYPE", "is", "the", "data", "type", "of", "the", "argument", "(", "as", "a", "tree", ")", ".", "This", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", ".", "INCOMING_P", "is", "zero", "for", "FUNCTION_ARG", ",", "nonzero", "for", "FUNCTION_INCOMING_ARG", ".", "*", "PREGNO", "records", "the", "register", "number", "to", "use", "if", "scalar", "type", "."], "TS_V_token": ["mt", "1", "1"], "File": "mt", "Func": "mt_function_arg_slotno", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40521, "Length": 82} {"ground_truth": ["", "rtx", "mt_function_value", "(", "tree", "valtype", ",", "enum", "machine_mode", "mode", ",", "tree", "func_decl", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "(", "mode", ")", "==", "DImode", "||", "(", "mode", ")", "==", "DFmode", ")", "return", "gen_rtx_MEM", "(", "mode", ",", "gen_rtx_REG", "(", "mode", ",", "RETURN_VALUE_REGNUM", ")", ")", ";", "if", "(", "valtype", ")", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "return", "gen_rtx_REG", "(", "mode", ",", "RETURN_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Handle", "FUNCTION_VALUE", ",", "FUNCTION_OUTGOING_VALUE", ",", "and", "LIBCALL_VALUE", "macros", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_function_value", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40522, "Length": 62} {"ground_truth": ["", "static", "rtx", "mt_generate_compare", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "scratch0", ",", "scratch1", ",", "const_scratch", ";", "switch", "(", "code", ")", "{", "case", "GTU", ":", "case", "LTU", ":", "case", "GEU", ":", "case", "LEU", ":", "scratch0", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "scratch1", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "const_scratch", "=", "force_reg", "(", "SImode", ",", "GEN_INT", "(", "MT_MIN_INT", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "scratch0", ",", "const_scratch", ",", "op0", ")", ")", ";", "emit_insn", "(", "gen_addsi3", "(", "scratch1", ",", "const_scratch", ",", "op1", ")", ")", ";", "break", ";", "default", ":", "scratch0", "=", "op0", ";", "scratch1", "=", "op1", ";", "break", ";", "}", "switch", "(", "code", ")", "{", "case", "GTU", ":", "code", "=", "GT", ";", "break", ";", "case", "LTU", ":", "code", "=", "LT", ";", "break", ";", "case", "GEU", ":", "code", "=", "GE", ";", "break", ";", "case", "LEU", ":", "code", "=", "LE", ";", "break", ";", "default", ":", "break", ";", "}", "return", "gen_rtx_fmt_ee", "(", "code", ",", "VOIDmode", ",", "scratch0", ",", "scratch1", ")", ";", "}", ""], "natrual_language": ["Generate", "a", "compare", "for", "CODE", ".", "Return", "a", "brand-new", "rtx", "that", "represents", "the", "result", "of", "the", "compare", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_generate_compare", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40523, "Length": 163} {"ground_truth": ["", "static", "enum", "attr_type", "mt_get_attr_type", "(", "rtx", "complete_insn", ")", "{", "rtx", "insn", "=", "PATTERN", "(", "complete_insn", ")", ";", "if", "(", "JUMP_P", "(", "complete_insn", ")", ")", "return", "TYPE_BRANCH", ";", "if", "(", "CALL_P", "(", "complete_insn", ")", ")", "return", "TYPE_BRANCH", ";", "if", "(", "GET_CODE", "(", "insn", ")", "!=", "SET", ")", "return", "TYPE_ARITH", ";", "if", "(", "SET_DEST", "(", "insn", ")", "==", "pc_rtx", ")", "return", "TYPE_BRANCH", ";", "if", "(", "GET_CODE", "(", "SET_DEST", "(", "insn", ")", ")", "==", "MEM", ")", "return", "TYPE_STORE", ";", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "insn", ")", ")", "==", "MEM", ")", "return", "TYPE_LOAD", ";", "return", "TYPE_ARITH", ";", "}", ""], "natrual_language": ["Given", "an", "insn", ",", "return", "whether", "it", "'s", "a", "memory", "operation", "or", "a", "branch", "operation", ",", "otherwise", "return", "TYPE_ARITH", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_get_attr_type", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40524, "Length": 95} {"ground_truth": ["", "static", "tree", "mt_handle_interrupt_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", "!=", "FUNCTION_DECL", ")", "{", "warning", "(", "OPT_Wattributes", ",", "\"%qs attribute only applies to functions\"", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";", "}", "return", "NULL_TREE", ";", "}", ""], "natrual_language": ["Handle", "an", "``", "interrupt", "''", "attribute", "."], "TS_V_token": ["mt", "\"%qs attribute only applies to functions\""], "File": "mt", "Func": "mt_handle_interrupt_attribute", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40525, "Length": 57} {"ground_truth": ["", "int", "mt_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "mt_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "from", "==", "FRAME_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "0", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "return", "current_frame_info", ".", "total_size", ";", "else", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "FRAME_POINTER_REGNUM", ")", "return", "current_frame_info", ".", "total_size", ";", "else", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implement", "INITIAL_ELIMINATION_OFFSET", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "mt_initial_elimination_offset", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40526, "Length": 68} {"ground_truth": ["", "void", "mt_init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "incoming", ")", "{", "*", "cum", "=", "0", ";", "if", "(", "TARGET_DEBUG_ARG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\nmt_init_cumulative_args:\"", ")", ";", "if", "(", "incoming", ")", "fputs", "(", "\" incoming\"", ",", "stderr", ")", ";", "if", "(", "fntype", ")", "{", "tree", "ret_type", "=", "TREE_TYPE", "(", "fntype", ")", ";", "fprintf", "(", "stderr", ",", "\" return = %s,\"", ",", "tree_code_name", "[", "(", "int", ")", "TREE_CODE", "(", "ret_type", ")", "]", ")", ";", "}", "if", "(", "libname", "&&", "GET_CODE", "(", "libname", ")", "==", "SYMBOL_REF", ")", "fprintf", "(", "stderr", ",", "\" libname = %s\"", ",", "XSTR", "(", "libname", ",", "0", ")", ")", ";", "if", "(", "cfun", "->", "returns_struct", ")", "fprintf", "(", "stderr", ",", "\" return-struct\"", ")", ";", "putc", "(", "'\\n'", ",", "stderr", ")", ";", "}", "}", ""], "natrual_language": ["Implement", "INIT_CUMULATIVE_ARGS", "."], "TS_V_token": ["mt", "0", "\"\\nmt_init_cumulative_args:\"", "\" incoming\"", "\" return = %s,\"", "\" libname = %s\"", "0", "\" return-struct\""], "File": "mt", "Func": "mt_init_cumulative_args", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40527, "Length": 128} {"ground_truth": ["", "static", "bool", "mt_interrupt_function_p", "(", "tree", "func", ")", "{", "tree", "a", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "false", ";", "a", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "DECL_ATTRIBUTES", "(", "func", ")", ")", ";", "return", "a", "!=", "NULL_TREE", ";", "}", ""], "natrual_language": ["Return", "true", "if", "FUNC", "is", "a", "function", "with", "the", "'interrupt", "'", "attribute", "."], "TS_V_token": ["mt", "\"interrupt\""], "File": "mt", "Func": "mt_interrupt_function_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40528, "Length": 41} {"ground_truth": ["", "int", "mt_legitimate_address_p", "(", "enum", "machine_mode", "mode", ",", "rtx", "xinsn", ",", "int", "strict", ")", "{", "if", "(", "mt_legitimate_simple_address_p", "(", "mode", ",", "xinsn", ",", "strict", ")", ")", "return", "1", ";", "if", "(", "(", "mode", ")", "==", "SImode", "&&", "GET_CODE", "(", "xinsn", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "xinsn", ",", "1", ")", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "XEXP", "(", "xinsn", ",", "1", ")", ")", "==", "-", "3", ")", "return", "mt_legitimate_simple_address_p", "(", "mode", ",", "XEXP", "(", "xinsn", ",", "0", ")", ",", "strict", ")", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Helper", "function", "of", "GO_IF_LEGITIMATE_ADDRESS", ".", "Return", "non-zero", "if", "XINSN", "is", "a", "legitimate", "address", "on", "MT", "."], "TS_V_token": ["mt", "1", "1", "1", "3", "0", "0"], "File": "mt", "Func": "mt_legitimate_address_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40529, "Length": 88} {"ground_truth": ["", "static", "bool", "mt_legitimate_simple_address_p", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "xinsn", ",", "int", "strict", ")", "{", "if", "(", "TARGET_DEBUG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n========== GO_IF_LEGITIMATE_ADDRESS, %sstrict\\n\"", ",", "strict", "?", "\"\"", ":", "\"not \"", ")", ";", "debug_rtx", "(", "xinsn", ")", ";", "}", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "REG", "&&", "mt_reg_ok_for_base_p", "(", "xinsn", ",", "strict", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "xinsn", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "xinsn", ",", "0", ")", ")", "==", "REG", "&&", "mt_reg_ok_for_base_p", "(", "XEXP", "(", "xinsn", ",", "0", ")", ",", "strict", ")", "&&", "GET_CODE", "(", "XEXP", "(", "xinsn", ",", "1", ")", ")", "==", "CONST_INT", "&&", "SMALL_INT", "(", "XEXP", "(", "xinsn", ",", "1", ")", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Helper", "function", "of", "mt_legitimate_address_p", ".", "Return", "true", "if", "XINSN", "is", "a", "simple", "address", ",", "otherwise", "false", "."], "TS_V_token": ["mt", "\"\\n========== GO_IF_LEGITIMATE_ADDRESS, %sstrict\\n\"", "\"\"", "\"not \"", "0", "0", "1", "1"], "File": "mt", "Func": "mt_legitimate_simple_address_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40530, "Length": 121} {"ground_truth": ["", "static", "void", "mt_machine_reorg", "(", "void", ")", "{", "if", "(", "mt_flag_delayed_branch", ")", "dbr_schedule", "(", "get_insns", "(", ")", ",", "dump_file", ")", ";", "if", "(", "TARGET_MS2", ")", "{", "split_all_insns_noflow", "(", ")", ";", "mt_reorg_hazard", "(", ")", ";", "}", "}", ""], "natrual_language": ["Fixup", "the", "looping", "instructions", ",", "do", "delayed", "branch", "scheduling", ",", "fixup", "scheduling", "hazards", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_machine_reorg", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40531, "Length": 35} {"ground_truth": ["", "void", "mt_override_options", "(", "void", ")", "{", "if", "(", "mt_cpu_string", "!=", "NULL", ")", "{", "if", "(", "!", "strcmp", "(", "mt_cpu_string", ",", "\"ms1-64-001\"", ")", ")", "mt_cpu", "=", "PROCESSOR_MS1_64_001", ";", "else", "if", "(", "!", "strcmp", "(", "mt_cpu_string", ",", "\"ms1-16-002\"", ")", ")", "mt_cpu", "=", "PROCESSOR_MS1_16_002", ";", "else", "if", "(", "!", "strcmp", "(", "mt_cpu_string", ",", "\"ms1-16-003\"", ")", ")", "mt_cpu", "=", "PROCESSOR_MS1_16_003", ";", "else", "if", "(", "!", "strcmp", "(", "mt_cpu_string", ",", "\"ms2\"", ")", ")", "mt_cpu", "=", "PROCESSOR_MS2", ";", "else", "error", "(", "\"bad value (%s) for -march= switch\"", ",", "mt_cpu_string", ")", ";", "}", "else", "mt_cpu", "=", "PROCESSOR_MS1_64_001", ";", "if", "(", "flag_exceptions", ")", "{", "flag_omit_frame_pointer", "=", "0", ";", "flag_gcse", "=", "0", ";", "}", "mt_flag_delayed_branch", "=", "flag_delayed_branch", ";", "flag_delayed_branch", "=", "0", ";", "init_machine_status", "=", "mt_init_machine_status", ";", "}", ""], "natrual_language": ["Implement", "OVERRIDE_OPTIONS", "."], "TS_V_token": ["mt", "\"ms1-64-001\"", "\"ms1-16-002\"", "\"ms1-16-003\"", "\"ms2\"", "\"bad value (%s) for -march= switch\"", "0", "0", "0"], "File": "mt", "Func": "mt_override_options", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40532, "Length": 113} {"ground_truth": ["", "static", "bool", "mt_pass_in_stack", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", ")", "{", "return", "(", "(", "(", "type", ")", "!=", "0", "&&", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "INTEGER_CST", "||", "TREE_ADDRESSABLE", "(", "type", ")", ")", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MUST_PASS_IN_STACK", "hook", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "mt_pass_in_stack", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40533, "Length": 42} {"ground_truth": ["", "void", "mt_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "'#'", ":", "if", "(", "dbr_sequence_length", "(", ")", "==", "0", ")", "fputs", "(", "\"\\n\\tnop\"", ",", "file", ")", ";", "return", ";", "case", "'H'", ":", "fprintf", "(", "file", ",", "\"#%%hi16(\"", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "return", ";", "case", "'L'", ":", "fprintf", "(", "file", ",", "\"#%%lo16(\"", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "return", ";", "case", "'N'", ":", "fprintf", "(", "file", ",", "\"#%ld\"", ",", "~", "INTVAL", "(", "x", ")", ")", ";", "return", ";", "case", "'z'", ":", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "x", ")", "==", "0", ")", "{", "fputs", "(", "reg_names", "[", "GPR_R0", "]", ",", "file", ")", ";", "return", ";", "}", "case", "0", ":", "break", ";", "default", ":", "fprintf", "(", "file", ",", "\"unknown code\"", ")", ";", "return", ";", "}", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fputs", "(", "reg_names", "[", "REGNO", "(", "x", ")", "]", ",", "file", ")", ";", "break", ";", "case", "CONST", ":", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "\"#%ld\"", ",", "INTVAL", "(", "x", ")", ")", ";", "break", ";", "case", "MEM", ":", "mt_print_operand_address", "(", "file", ",", "XEXP", "(", "x", ",", "0", ")", ")", ";", "break", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "default", ":", "fprintf", "(", "file", ",", "\"Uknown code: %d\"", ",", "GET_CODE", "(", "x", ")", ")", ";", "break", ";", "}", "return", ";", "}", ""], "natrual_language": ["Implement", "PRINT_OPERAND", "."], "TS_V_token": ["mt", "0", "\"\\n\\tnop\"", "\"#%%hi16(\"", "\")\"", "\"#%%lo16(\"", "\")\"", "\"#%ld\"", "0", "0", "\"unknown code\"", "\"#%ld\"", "0", "\"Uknown code: %d\""], "File": "mt", "Func": "mt_print_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40534, "Length": 257} {"ground_truth": ["", "void", "mt_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "if", "(", "GET_CODE", "(", "addr", ")", "==", "AND", "&&", "GET_CODE", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "XEXP", "(", "addr", ",", "1", ")", ")", "==", "-", "3", ")", "mt_print_operand_simple_address", "(", "file", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "else", "mt_print_operand_simple_address", "(", "file", ",", "addr", ")", ";", "}", ""], "natrual_language": ["Implement", "PRINT_OPERAND_ADDRESS", "."], "TS_V_token": ["mt", "1", "1", "3", "0"], "File": "mt", "Func": "mt_print_operand_address", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40535, "Length": 66} {"ground_truth": ["", "static", "void", "mt_print_operand_simple_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "if", "(", "!", "addr", ")", "error", "(", "\"PRINT_OPERAND_ADDRESS, null pointer\"", ")", ";", "else", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"%s, #0\"", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "reg", "=", "0", ";", "rtx", "offset", "=", "0", ";", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "==", "REG", ")", "{", "reg", "=", "arg0", ";", "offset", "=", "arg1", ";", "if", "(", "GET_CODE", "(", "offset", ")", "==", "REG", ")", "fatal_insn", "(", "\"PRINT_OPERAND_ADDRESS, 2 regs\"", ",", "addr", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "REG", ")", "reg", "=", "arg1", ",", "offset", "=", "arg0", ";", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "fprintf", "(", "file", ",", "\"%s, #\"", ",", "reg_names", "[", "GPR_R0", "]", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "}", "fprintf", "(", "file", ",", "\"%s, #\"", ",", "reg_names", "[", "REGNO", "(", "reg", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "offset", ")", ";", "break", ";", "}", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST_INT", ":", "case", "CONST", ":", "output_addr_const", "(", "file", ",", "addr", ")", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"PRINT_OPERAND_ADDRESS, invalid insn #1\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["Print", "a", "memory", "address", "as", "an", "operand", "to", "reference", "that", "memory", "location", "."], "TS_V_token": ["mt", "\"PRINT_OPERAND_ADDRESS, null pointer\"", "\"%s, #0\"", "0", "0", "0", "1", "\"PRINT_OPERAND_ADDRESS, 2 regs\"", "\"%s, #\"", "\"%s, #\"", "\"PRINT_OPERAND_ADDRESS, invalid insn #1\""], "File": "mt", "Func": "mt_print_operand_simple_address", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40536, "Length": 233} {"ground_truth": ["", "int", "mt_reg_ok_for_base_p", "(", "rtx", "x", ",", "int", "strict", ")", "{", "if", "(", "strict", ")", "return", "(", "(", "(", "unsigned", ")", "REGNO", "(", "x", ")", ")", "<", "FIRST_PSEUDO_REGISTER", ")", ";", "return", "1", ";", "}", ""], "natrual_language": ["Implement", "REG_OK_FOR_BASE_P", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "mt_reg_ok_for_base_p", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40537, "Length": 33} {"ground_truth": ["", "rtx", "mt_return_addr_rtx", "(", "int", "count", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "NULL_RTX", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "GPR_LINK", ")", ";", "}", ""], "natrual_language": ["Implement", "RETURN_ADDR_RTX", "."], "TS_V_token": ["mt", "0"], "File": "mt", "Func": "mt_return_addr_rtx", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40538, "Length": 25} {"ground_truth": ["", "enum", "reg_class", "mt_secondary_reload_class", "(", "enum", "reg_class", "class", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "(", "mode", "==", "QImode", "&&", "(", "!", "TARGET_BYTE_ACCESS", ")", ")", "||", "mode", "==", "HImode", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", "||", "(", "GET_CODE", "(", "x", ")", "==", "REG", "&&", "true_regnum", "(", "x", ")", "==", "-", "1", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "SUBREG", "&&", "(", "GET_CODE", "(", "SUBREG_REG", "(", "x", ")", ")", "==", "MEM", "||", "(", "GET_CODE", "(", "SUBREG_REG", "(", "x", ")", ")", "==", "REG", "&&", "true_regnum", "(", "SUBREG_REG", "(", "x", ")", ")", "==", "-", "1", ")", ")", ")", ")", "return", "GENERAL_REGS", ";", "}", "return", "NO_REGS", ";", "}", ""], "natrual_language": ["Implement", "SECONDARY_RELOAD_CLASS", "."], "TS_V_token": ["mt", "1", "1"], "File": "mt", "Func": "mt_secondary_reload_class", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40539, "Length": 113} {"ground_truth": ["", "static", "void", "mt_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "int", "regno", ";", "int", "regs", "=", "MT_NUM_ARG_REGS", "-", "*", "cum", ";", "*", "pretend_size", "=", "regs", "<", "0", "?", "0", ":", "GET_MODE_SIZE", "(", "SImode", ")", "*", "regs", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "MT_NUM_ARG_REGS", ";", "regno", "++", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "FIRST_ARG_REGNUM", "+", "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", ")", ";", "}", "}", ""], "natrual_language": ["Do", "what", "is", "necessary", "for", "`", "va_start", "'", ".", "We", "look", "at", "the", "current", "function", "to", "determine", "if", "stdarg", "or", "varargs", "is", "used", "and", "return", "the", "address", "of", "the", "first", "unnamed", "parameter", "."], "TS_V_token": ["mt", "0", "0"], "File": "mt", "Func": "mt_setup_incoming_varargs", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40540, "Length": 121} {"ground_truth": ["", "void", "mt_set_memflags", "(", "rtx", "ref", ")", "{", "rtx", "insn", ";", "int", "in_struct_p", ",", "volatile_p", ";", "if", "(", "GET_CODE", "(", "ref", ")", "!=", "MEM", ")", "return", ";", "in_struct_p", "=", "MEM_IN_STRUCT_P", "(", "ref", ")", ";", "volatile_p", "=", "MEM_VOLATILE_P", "(", "ref", ")", ";", "if", "(", "!", "in_struct_p", "&&", "!", "volatile_p", ")", "return", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "mt_set_memflags_1", "(", "insn", ",", "in_struct_p", ",", "volatile_p", ")", ";", "}", ""], "natrual_language": ["Look", "for", "any", "MEMs", "in", "the", "current", "sequence", "of", "insns", "and", "set", "the", "in-struct", ",", "unchanging", ",", "and", "volatile", "flags", "from", "the", "flags", "in", "REF", ".", "If", "REF", "is", "not", "a", "MEM", ",", "do", "n't", "do", "anything", "."], "TS_V_token": ["mt"], "File": "mt", "Func": "mt_set_memflags", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40541, "Length": 77} {"ground_truth": ["", "static", "void", "mt_set_memflags_1", "(", "rtx", "x", ",", "int", "in_struct_p", ",", "int", "volatile_p", ")", "{", "int", "i", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SEQUENCE", ":", "case", "PARALLEL", ":", "for", "(", "i", "=", "XVECLEN", "(", "x", ",", "0", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "mt_set_memflags_1", "(", "XVECEXP", "(", "x", ",", "0", ",", "i", ")", ",", "in_struct_p", ",", "volatile_p", ")", ";", "break", ";", "case", "INSN", ":", "mt_set_memflags_1", "(", "PATTERN", "(", "x", ")", ",", "in_struct_p", ",", "volatile_p", ")", ";", "break", ";", "case", "SET", ":", "mt_set_memflags_1", "(", "SET_DEST", "(", "x", ")", ",", "in_struct_p", ",", "volatile_p", ")", ";", "mt_set_memflags_1", "(", "SET_SRC", "(", "x", ")", ",", "in_struct_p", ",", "volatile_p", ")", ";", "break", ";", "case", "MEM", ":", "MEM_IN_STRUCT_P", "(", "x", ")", "=", "in_struct_p", ";", "MEM_VOLATILE_P", "(", "x", ")", "=", "volatile_p", ";", "break", ";", "default", ":", "break", ";", "}", "}", ""], "natrual_language": ["Subfunction", "of", "the", "following", "function", ".", "Update", "the", "flags", "of", "any", "MEM", "found", "in", "part", "of", "X", "."], "TS_V_token": ["mt", "0", "1", "0", "0"], "File": "mt", "Func": "mt_set_memflags_1", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40542, "Length": 140} {"ground_truth": ["", "int", "reg_or_0_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST_INT", ":", "return", "INTVAL", "(", "op", ")", "==", "0", ";", "case", "REG", ":", "case", "SUBREG", ":", "return", "register_operand", "(", "op", ",", "mode", ")", ";", "default", ":", "break", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "if", "OP", "is", "either", "a", "register", "or", "0"], "TS_V_token": ["mt", "0", "0"], "File": "mt", "Func": "reg_or_0_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40543, "Length": 53} {"ground_truth": ["", "int", "single_const_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "big_const_operand", "(", "op", ",", "mode", ")", "||", "GET_CODE", "(", "op", ")", "==", "CONST", "||", "GET_CODE", "(", "op", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "truth", "value", "of", "whether", "OP", "is", "a", "constant", "that", "require", "only", "one", "load", "to", "put", "in", "a", "register", "."], "TS_V_token": ["mt", "0", "1"], "File": "mt", "Func": "single_const_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40544, "Length": 49} {"ground_truth": ["", "int", "uns_arith_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "SMALL_INT_UNSIGNED", "(", "op", ")", ")", "return", "1", ";", "return", "register_operand", "(", "op", ",", "mode", ")", ";", "}", ""], "natrual_language": ["Return", "truth", "value", "of", "whether", "OP", "can", "be", "used", "as", "an", "operands", "where", "a", "register", "or", "16", "bit", "unsigned", "integer", "is", "needed", "."], "TS_V_token": ["mt", "1"], "File": "mt", "Func": "uns_arith_operand", "Target": "mt", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 40545, "Length": 37}