{"ground_truth": ["", "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", ">=", "8", ")", "return", "0", ";", "if", "(", "moxie_pass_by_reference", "(", "cum_v", ",", "mode", ",", "type", ",", "named", ")", ")", "size", "=", "4", ";", "else", "if", "(", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "0", ";", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "mode", ")", ";", "bytes_left", "=", "(", "4", "*", "6", ")", "-", "(", "(", "*", "cum", "-", "2", ")", "*", "4", ")", ";", "if", "(", "size", ">", "bytes_left", ")", "return", "bytes_left", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Some", "function", "arguments", "will", "only", "partially", "fit", "in", "the", "registers", "that", "hold", "arguments", ".", "Given", "a", "new", "arg", ",", "return", "the", "number", "of", "bytes", "that", "fit", "in", "argument", "passing", "registers", "."], "TS_V_token": ["moxie", "8", "0", "4", "0", "4", "6", "2", "4", "0"], "File": "moxie2", "Func": "moxie_arg_partial_bytes", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 36999, "Length": 123}
{"ground_truth": ["", "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", ";", "cfun", "->", "machine", "->", "local_vars_size", "+=", "padding_locals", ";", "cfun", "->", "machine", "->", "callee_saved_reg_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "(", "!", "call_used_regs", "[", "regno", "]", ")", ")", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+=", "4", ";", "cfun", "->", "machine", "->", "size_for_adjusting_sp", "=", "crtl", "->", "args", ".", "pretend_args_size", "+", "cfun", "->", "machine", "->", "local_vars_size", "+", "(", "ACCUMULATE_OUTGOING_ARGS", "?", "crtl", "->", "outgoing_args_size", ":", "0", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "of", "the", "local", "area", "and", "the", "size", "to", "be", "adjusted", "by", "the", "*", "prologue", "and", "epilogue", "."], "TS_V_token": ["moxie", "0", "0", "4", "0"], "File": "moxie2", "Func": "moxie_compute_frame", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37000, "Length": 131}
{"ground_truth": ["", "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", "<", "8", ")", "return", "gen_rtx_REG", "(", "mode", ",", "*", "cum", ")", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "the", "next", "register", "to", "be", "used", "to", "hold", "a", "function", "argument", "or", "NULL_RTX", "if", "there", "'s", "no", "more", "space", "."], "TS_V_token": ["moxie", "8"], "File": "moxie2", "Func": "moxie_function_arg", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37001, "Length": 49}
{"ground_truth": ["", "static", "bool", "moxie_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "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", ">", "4", "*", "6", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "function", "argument", "described", "by", "TYPE", "is", "to", "be", "passed", "by", "reference", "."], "TS_V_token": ["moxie", "4", "6"], "File": "moxie2", "Func": "moxie_pass_by_reference", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37002, "Length": 62}
{"ground_truth": ["", "void", "moxie_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "0", ":", "break", ";", "default", ":", "LOSE_AND_RETURN", "(", "\"invalid operand modifier letter\"", ",", "x", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "operand", ")", ">", "MOXIE_R13", ")", "internal_error", "(", "\"internal error: bad register: %d\"", ",", "REGNO", "(", "operand", ")", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "return", ";", "case", "MEM", ":", "output_address", "(", "XEXP", "(", "operand", ",", "0", ")", ")", ";", "return", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "operand", ")", ")", "{", "output_addr_const", "(", "file", ",", "operand", ")", ";", "return", ";", "}", "LOSE_AND_RETURN", "(", "\"unexpected operand\"", ",", "x", ")", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND", "worker", "."], "TS_V_token": ["moxie", "0", "\"invalid operand modifier letter\"", "\"internal error: bad register: %d\"", "\"%s\"", "0", "\"unexpected operand\""], "File": "moxie2", "Func": "moxie_print_operand", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37003, "Length": 130}
{"ground_truth": ["", "void", "moxie_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "\"%ld(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "plus", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "plus", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "plus", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"+%ld(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND_ADDRESS", "worker", "."], "TS_V_token": ["moxie", "\"(%s)\"", "1", "\"%ld(%s)\"", "1", "0", "1", "\"(%s)\"", "0", "1", "0", "0", "1", "0", "\"+%ld(%s)\"", "1", "0"], "File": "moxie2", "Func": "moxie_print_operand_address", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37004, "Length": 244}
{"ground_truth": ["", "static", "void", "moxie_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "regno", ";", "int", "regs", "=", "8", "-", "*", "cum", ";", "*", "pretend_size", "=", "regs", "<", "0", "?", "0", ":", "GET_MODE_SIZE", "(", "SImode", ")", "*", "regs", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "8", ";", "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", "*", "(", "3", "+", "(", "regno", "-", "2", ")", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["moxie", "8", "0", "0", "8", "3", "2"], "File": "moxie2", "Func": "moxie_setup_incoming_varargs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37005, "Length": 134}
{"ground_truth": ["", "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", ";", "cfun", "->", "machine", "->", "local_vars_size", "+=", "padding_locals", ";", "cfun", "->", "machine", "->", "callee_saved_reg_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "(", "!", "call_used_regs", "[", "regno", "]", ")", ")", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+=", "4", ";", "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", ":", "0", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "of", "the", "local", "area", "and", "the", "size", "to", "be", "adjusted", "by", "the", "*", "prologue", "and", "epilogue", "."], "TS_V_token": ["moxie", "0", "0", "4", "0"], "File": "moxie5", "Func": "moxie_compute_frame", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37006, "Length": 134}
{"ground_truth": ["", "static", "int", "moxie_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "bytes_left", ",", "size", ";", "if", "(", "*", "cum", ">=", "8", ")", "return", "0", ";", "if", "(", "moxie_pass_by_reference", "(", "cum_v", ",", "arg", ")", ")", "size", "=", "4", ";", "else", "if", "(", "arg", ".", "type", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "arg", ".", "type", ")", ")", "return", "0", ";", "size", "=", "int_size_in_bytes", "(", "arg", ".", "type", ")", ";", "}", "else", "size", "=", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "bytes_left", "=", "(", "4", "*", "6", ")", "-", "(", "(", "*", "cum", "-", "2", ")", "*", "4", ")", ";", "if", "(", "size", ">", "bytes_left", ")", "return", "bytes_left", ";", "else", "return", "0", ";", "}", ""], "natrual_language": ["Some", "function", "arguments", "will", "only", "partially", "fit", "in", "the", "registers", "that", "hold", "arguments", ".", "Given", "a", "new", "arg", ",", "return", "the", "number", "of", "bytes", "that", "fit", "in", "argument", "passing", "registers", "."], "TS_V_token": ["moxie", "8", "0", "4", "0", "4", "6", "2", "4", "0"], "File": "moxie", "Func": "moxie_arg_partial_bytes", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37007, "Length": 123}
{"ground_truth": ["", "static", "void", "moxie_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "fprintf", "(", "f", ",", "\"\\tpush $sp, $r0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tldi.l $r0, 0x0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tsto.l 0x8($fp), $r0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tpop $sp, $r0\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tjmpa 0x0\\n\"", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_ASM_TRAMPOLINE_TEMPLATE", "."], "TS_V_token": ["moxie", "\"\\tpush $sp, $r0\\n\"", "\"\\tldi.l $r0, 0x0\\n\"", "\"\\tsto.l 0x8($fp), $r0\\n\"", "\"\\tpop $sp, $r0\\n\"", "\"\\tjmpa 0x0\\n\""], "File": "moxie", "Func": "moxie_asm_trampoline_template", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37008, "Length": 45}
{"ground_truth": ["", "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", ";", "cfun", "->", "machine", "->", "local_vars_size", "+=", "padding_locals", ";", "cfun", "->", "machine", "->", "callee_saved_reg_size", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "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", "+=", "4", ";", "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", ":", "0", ")", ";", "}", ""], "natrual_language": ["Compute", "the", "size", "of", "the", "local", "area", "and", "the", "size", "to", "be", "adjusted", "by", "the", "*", "prologue", "and", "epilogue", "."], "TS_V_token": ["moxie", "0", "0", "4", "0"], "File": "moxie", "Func": "moxie_compute_frame", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37009, "Length": 134}
{"ground_truth": ["", "static", "bool", "moxie_fixed_condition_code_regs", "(", "unsigned", "int", "*", "p1", ",", "unsigned", "int", "*", "p2", ")", "{", "*", "p1", "=", "CC_REG", ";", "*", "p2", "=", "INVALID_REGNUM", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "the", "fixed", "registers", "used", "for", "condition", "codes", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_fixed_condition_code_regs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37010, "Length": 29}
{"ground_truth": ["", "static", "rtx", "moxie_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "*", "cum", "<", "8", ")", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "*", "cum", ")", ";", "else", "return", "NULL_RTX", ";", "}", ""], "natrual_language": ["Return", "the", "next", "register", "to", "be", "used", "to", "hold", "a", "function", "argument", "or", "NULL_RTX", "if", "there", "'s", "no", "more", "space", "."], "TS_V_token": ["moxie", "8"], "File": "moxie", "Func": "moxie_function_arg", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37011, "Length": 45}
{"ground_truth": ["", "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", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "function", ".", "VALTYPE", "is", "the", "data", "type", "of", "the", "value", "(", "as", "a", "tree", ")", ".", "If", "the", "precise", "function", "being", "called", "is", "known", ",", "FUNC", "is", "its", "FUNCTION_DECL", ";", "otherwise", ",", "FUNC", "is", "0", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "moxie", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_function_value", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37012, "Length": 28}
{"ground_truth": ["", "static", "bool", "moxie_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "MOXIE_R0", ")", ";", "}", ""], "natrual_language": ["Handle", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "moxie", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_function_value_regno_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37013, "Length": 18}
{"ground_truth": ["", "int", "moxie_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "int", "ret", ";", "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", "=", "0x00", ";", "else", "abort", "(", ")", ";", "return", "ret", ";", "}", ""], "natrual_language": ["Implements", "the", "macro", "INITIAL_ELIMINATION_OFFSET", ",", "return", "the", "OFFSET", "."], "TS_V_token": ["moxie", "0x00"], "File": "moxie", "Func": "moxie_initial_elimination_offset", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37014, "Length": 70}
{"ground_truth": ["", "static", "struct", "machine_function", "*", "moxie_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Zero", "initialization", "is", "OK", "for", "all", "current", "fields", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_init_machine_status", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37015, "Length": 18}
{"ground_truth": ["", "static", "bool", "moxie_legitimate_address_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "bool", "strict_p", ",", "addr_space_t", "as", ")", "{", "gcc_assert", "(", "ADDR_SPACE_GENERIC_P", "(", "as", ")", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "moxie_reg_ok_for_base_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict_p", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "IN_RANGE", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "-", "32768", ",", "32767", ")", ")", "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", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LEGITIMATE_ADDRESS_P", "."], "TS_V_token": ["moxie", "0", "0", "1", "1", "32768", "32767"], "File": "moxie", "Func": "moxie_legitimate_address_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37016, "Length": 135}
{"ground_truth": ["", "static", "rtx", "moxie_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "MOXIE_R0", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "moxie", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_libcall_value", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37017, "Length": 21}
{"ground_truth": ["", "bool", "moxie_offset_address_p", "(", "rtx", "x", ")", "{", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "x", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "{", "unsigned", "int", "v", "=", "INTVAL", "(", "x", ")", "&", "0xFFFF8000", ";", "return", "(", "v", "==", "0xFFFF8000", "||", "v", "==", "0x00000000", ")", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "true", "for", "memory", "offset", "addresses", "between", "-32768", "and", "32767", "."], "TS_V_token": ["moxie", "0", "1", "0xFFFF8000", "0xFFFF8000", "0x00000000", "0"], "File": "moxie", "Func": "moxie_offset_address_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37018, "Length": 73}
{"ground_truth": ["", "static", "void", "moxie_operand_lossage", "(", "const", "char", "*", "msgid", ",", "rtx", "op", ")", "{", "debug_rtx", "(", "op", ")", ";", "output_operand_lossage", "(", "\"%s\"", ",", "msgid", ")", ";", "}", ""], "natrual_language": ["Emit", "an", "error", "message", "when", "we", "'re", "in", "an", "asm", ",", "and", "a", "fatal", "error", "for", "``", "normal", "''", "insns", ".", "Formatted", "output", "is", "n't", "easily", "implemented", ",", "since", "we", "use", "output_operand_lossage", "to", "output", "the", "actual", "message", "and", "handle", "the", "categorization", "of", "the", "error", "."], "TS_V_token": ["moxie", "\"%s\""], "File": "moxie", "Func": "moxie_operand_lossage", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37019, "Length": 26}
{"ground_truth": ["", "static", "void", "moxie_option_override", "(", "void", ")", "{", "init_machine_status", "=", "moxie_init_machine_status", ";", "target_flags", "|=", "MASK_HAS_MULX", ";", "}", ""], "natrual_language": ["The", "TARGET_OPTION_OVERRIDE", "worker", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_option_override", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37020, "Length": 16}
{"ground_truth": ["", "static", "bool", "moxie_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "if", "(", "arg", ".", "aggregate_type_p", "(", ")", ")", "return", "true", ";", "unsigned", "HOST_WIDE_INT", "size", "=", "arg", ".", "type_size_in_bytes", "(", ")", ";", "return", "size", ">", "4", "*", "6", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "function", "argument", "described", "by", "TYPE", "is", "to", "be", "passed", "by", "reference", "."], "TS_V_token": ["moxie", "4", "6"], "File": "moxie", "Func": "moxie_pass_by_reference", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37021, "Length": 41}
{"ground_truth": ["", "static", "void", "moxie_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "0", ":", "break", ";", "default", ":", "LOSE_AND_RETURN", "(", "\"invalid operand modifier letter\"", ",", "x", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "if", "(", "REGNO", "(", "operand", ")", ">", "MOXIE_R13", ")", "internal_error", "(", "\"internal error: bad register: %d\"", ",", "REGNO", "(", "operand", ")", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "]", ")", ";", "return", ";", "case", "MEM", ":", "output_address", "(", "GET_MODE", "(", "XEXP", "(", "operand", ",", "0", ")", ")", ",", "XEXP", "(", "operand", ",", "0", ")", ")", ";", "return", ";", "default", ":", "if", "(", "CONSTANT_P", "(", "operand", ")", ")", "{", "output_addr_const", "(", "file", ",", "operand", ")", ";", "return", ";", "}", "LOSE_AND_RETURN", "(", "\"unexpected operand\"", ",", "x", ")", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND", "worker", "."], "TS_V_token": ["moxie", "0", "\"invalid operand modifier letter\"", "\"internal error: bad register: %d\"", "\"%s\"", "0", "0", "\"unexpected operand\""], "File": "moxie", "Func": "moxie_print_operand", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37022, "Length": 141}
{"ground_truth": ["", "static", "void", "moxie_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "\"%ld(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "SYMBOL_REF", ":", "output_addr_const", "(", "file", ",", "XEXP", "(", "x", ",", "1", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%s)\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "break", ";", "case", "CONST", ":", "{", "rtx", "plus", "=", "XEXP", "(", "XEXP", "(", "x", ",", "1", ")", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "plus", ",", "0", ")", ")", "==", "SYMBOL_REF", "&&", "CONST_INT_P", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ")", "{", "output_addr_const", "(", "file", ",", "XEXP", "(", "plus", ",", "0", ")", ")", ";", "fprintf", "(", "file", ",", "\"+%ld(%s)\"", ",", "INTVAL", "(", "XEXP", "(", "plus", ",", "1", ")", ")", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ")", ";", "}", "else", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "abort", "(", ")", ";", "}", "break", ";", "default", ":", "output_addr_const", "(", "file", ",", "x", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["The", "PRINT_OPERAND_ADDRESS", "worker", "."], "TS_V_token": ["moxie", "\"(%s)\"", "1", "\"%ld(%s)\"", "1", "0", "1", "\"(%s)\"", "0", "1", "0", "0", "1", "0", "\"+%ld(%s)\"", "1", "0"], "File": "moxie", "Func": "moxie_print_operand_address", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37023, "Length": 247}
{"ground_truth": ["", "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", "]", ")", ";", "else", "return", "!", "HARD_REGISTER_NUM_P", "(", "regno", ")", "||", "HARD_REGNO_OK_FOR_BASE_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "for", "`", "moxie_legitimate_address_p", "'", "."], "TS_V_token": ["moxie"], "File": "moxie", "Func": "moxie_reg_ok_for_base_p", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37024, "Length": 51}
{"ground_truth": ["", "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", "==", "-", "1", "||", "size", ">", "2", "*", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "."], "TS_V_token": ["moxie", "1", "2"], "File": "moxie", "Func": "moxie_return_in_memory", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37025, "Length": 36}
{"ground_truth": ["", "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", "=", "8", "-", "*", "cum", ";", "*", "pretend_size", "=", "regs", "<", "0", "?", "0", ":", "GET_MODE_SIZE", "(", "SImode", ")", "*", "regs", ";", "if", "(", "no_rtl", ")", "return", ";", "for", "(", "regno", "=", "*", "cum", ";", "regno", "<", "8", ";", "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", "*", "(", "3", "+", "(", "regno", "-", "2", ")", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["moxie", "8", "0", "0", "8", "3", "2"], "File": "moxie", "Func": "moxie_setup_incoming_varargs", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37026, "Length": 130}
{"ground_truth": ["", "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", ",", "2", "*", "UNITS_PER_WORD", ")", ";", "else", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "-", "UNITS_PER_WORD", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "addr", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "return", "mem", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_STATIC_CHAIN", "."], "TS_V_token": ["moxie", "2", "1"], "File": "moxie", "Func": "moxie_static_chain", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37027, "Length": 69}
{"ground_truth": ["", "static", "void", "moxie_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "mem", ",", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "4", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "16", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["moxie", "0", "4", "16"], "File": "moxie", "Func": "moxie_trampoline_init", "Target": "moxie", "Target_Clf": "CPU", "Compiler_Type": "GCC", "Idx": 37028, "Length": 82}