{"ground_truth": ["", "static", "void", "ft32_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "named_size", "=", "0", ";", "if", "(", "!", "TYPE_NO_NAMED_ARGS_STDARG_P", "(", "TREE_TYPE", "(", "current_function_decl", ")", ")", ")", "named_size", "=", "GET_MODE_SIZE", "(", "SImode", ")", "*", "(", "*", "cum", "-", "FT32_R0", ")", "+", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "if", "(", "named_size", "<", "24", ")", "*", "pretend_size", "=", "24", "-", "named_size", ";", "else", "*", "pretend_size", "=", "0", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["ft32", "0", "24", "24", "0"], "File": "ft321", "Func": "ft32_setup_incoming_varargs", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36711, "Length": 87} {"ground_truth": ["", "static", "int", "ft32_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "enum", "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", "(", "ft32_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": ["ft32", "8", "0", "4", "0", "4", "6", "2", "4", "0"], "File": "ft322", "Func": "ft32_arg_partial_bytes", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36712, "Length": 124} {"ground_truth": ["", "static", "void", "ft32_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": ["ft32", "0", "0", "4", "0"], "File": "ft322", "Func": "ft32_compute_frame", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36713, "Length": 131} {"ground_truth": ["", "static", "rtx", "ft32_function_arg", "(", "cumulative_args_t", "cum_v", ",", "enum", "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": ["ft32", "8"], "File": "ft322", "Func": "ft32_function_arg", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36714, "Length": 50} {"ground_truth": ["", "static", "rtx", "ft32_libcall_value", "(", "enum", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "FT32_R0", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "ft32", "."], "TS_V_token": ["ft32"], "File": "ft322", "Func": "ft32_libcall_value", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36715, "Length": 22} {"ground_truth": ["", "static", "bool", "ft32_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "enum", "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": ["ft32", "4", "6"], "File": "ft322", "Func": "ft32_pass_by_reference", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36716, "Length": 63} {"ground_truth": ["", "void", "ft32_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "0", ":", "break", ";", "case", "'h'", ":", "if", "(", "GET_CODE", "(", "operand", ")", "!=", "REG", ")", "internal_error", "(", "\"'h' applied to non-register operand\"", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "+", "1", "]", ")", ";", "return", ";", "case", "'m'", ":", "fprintf", "(", "file", ",", "\"%ld\"", ",", "(", "long", ")", "(", "-", "INTVAL", "(", "x", ")", ")", ")", ";", "return", ";", "case", "'d'", ":", "{", "int", "i", "=", "INTVAL", "(", "x", ")", ";", "char", "dwspec", ";", "switch", "(", "i", ")", "{", "case", "1", ":", "dwspec", "=", "'b'", ";", "break", ";", "case", "2", ":", "dwspec", "=", "'s'", ";", "break", ";", "case", "4", ":", "dwspec", "=", "'l'", ";", "break", ";", "default", ":", "if", "(", "(", "i", "%", "4", ")", "!=", "0", ")", "internal_error", "(", "\"bad alignment: %d\"", ",", "i", ")", ";", "else", "dwspec", "=", "'l'", ";", "break", ";", "}", "fprintf", "(", "file", ",", "\"%c\"", ",", "dwspec", ")", ";", "return", ";", "}", "case", "'f'", ":", "{", "int", "bf", "=", "ft32_as_bitfield", "(", "INTVAL", "(", "x", ")", ")", ";", "fprintf", "(", "file", ",", "\"512|(%d<<5)|%d\"", ",", "bf", ">>", "5", ",", "bf", "&", "31", ")", ";", "return", ";", "}", "case", "'g'", ":", "{", "int", "bf", "=", "ft32_as_bitfield", "(", "0xffffffff", "^", "INTVAL", "(", "x", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%d<<5)|%d\"", ",", "bf", ">>", "5", ",", "bf", "&", "31", ")", ";", "return", ";", "}", "case", "'b'", ":", "{", "ft32_print_operand", "(", "file", ",", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "return", ";", "}", "default", ":", "LOSE_AND_RETURN", "(", "\"invalid operand modifier letter\"", ",", "x", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "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": ["ft32", "0", "\"'h' applied to non-register operand\"", "\"%s\"", "1", "\"%ld\"", "1", "2", "4", "4", "0", "\"bad alignment: %d\"", "\"%c\"", "\"512|(%d<<5)|%d\"", "5", "31", "0xffffffff", "\"(%d<<5)|%d\"", "5", "31", "0", "0", "\"invalid operand modifier letter\"", "\"%s\"", "0", "0", "\"unexpected operand\""], "File": "ft322", "Func": "ft32_print_operand", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36717, "Length": 355} {"ground_truth": ["", "static", "void", "ft32_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "enum", "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", "*", "(", "regno", "-", "FT32_R0", ")", ")", ")", ";", "emit_move_insn", "(", "gen_rtx_MEM", "(", "SImode", ",", "slot", ")", ",", "reg", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["ft32", "8", "0", "0", "8"], "File": "ft322", "Func": "ft32_setup_incoming_varargs", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36718, "Length": 131} {"ground_truth": ["", "static", "void", "ft32_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", "=", "0", "+", "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": ["ft32", "0", "0", "4", "0", "0"], "File": "ft323", "Func": "ft32_compute_frame", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36719, "Length": 127} {"ground_truth": ["", "static", "void", "ft32_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "enum", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "named_size", "=", "GET_MODE_SIZE", "(", "SImode", ")", "*", "(", "*", "cum", "-", "FT32_R0", ")", "+", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "named_size", "<", "24", ")", "*", "pretend_size", "=", "24", "-", "named_size", ";", "else", "*", "pretend_size", "=", "0", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["ft32", "24", "24", "0"], "File": "ft323", "Func": "ft32_setup_incoming_varargs", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36720, "Length": 73} {"ground_truth": ["", "static", "int", "ft32_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", "(", "ft32_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": ["ft32", "8", "0", "4", "0", "4", "6", "2", "4", "0"], "File": "ft324", "Func": "ft32_arg_partial_bytes", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36721, "Length": 123} {"ground_truth": ["", "static", "void", "ft32_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", "=", "0", "+", "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": ["ft32", "0", "0", "4", "0", "0"], "File": "ft324", "Func": "ft32_compute_frame", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36722, "Length": 130} {"ground_truth": ["", "static", "rtx", "ft32_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": ["ft32", "8"], "File": "ft324", "Func": "ft32_function_arg", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36723, "Length": 49} {"ground_truth": ["", "static", "bool", "ft32_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": ["ft32", "4", "6"], "File": "ft324", "Func": "ft32_pass_by_reference", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36724, "Length": 62} {"ground_truth": ["", "static", "void", "ft32_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "named_size", "=", "GET_MODE_SIZE", "(", "SImode", ")", "*", "(", "*", "cum", "-", "FT32_R0", ")", "+", "GET_MODE_SIZE", "(", "mode", ")", ";", "if", "(", "named_size", "<", "24", ")", "*", "pretend_size", "=", "24", "-", "named_size", ";", "else", "*", "pretend_size", "=", "0", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["ft32", "24", "24", "0"], "File": "ft324", "Func": "ft32_setup_incoming_varargs", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36725, "Length": 72} {"ground_truth": ["", "static", "int", "ft32_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", "(", "ft32_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": ["ft32", "8", "0", "4", "0", "4", "6", "2", "4", "0"], "File": "ft32", "Func": "ft32_arg_partial_bytes", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36726, "Length": 123} {"ground_truth": ["", "static", "bool", "ft32_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "1", ";", "return", "(", "to", "==", "FRAME_POINTER_REGNUM", ")", "||", "!", "ft32_frame_pointer_required", "(", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "register", "FROM", "can", "be", "eliminated", "via", "register", "TO", "."], "TS_V_token": ["ft32", "1"], "File": "ft32", "Func": "ft32_can_eliminate", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36727, "Length": 30} {"ground_truth": ["", "static", "void", "ft32_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", "=", "0", "+", "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": ["ft32", "0", "0", "4", "0", "0"], "File": "ft32", "Func": "ft32_compute_frame", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36728, "Length": 128} {"ground_truth": ["", "static", "bool", "ft32_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": ["ft32"], "File": "ft32", "Func": "ft32_fixed_condition_code_regs", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36729, "Length": 29} {"ground_truth": ["", "static", "rtx", "ft32_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": ["ft32", "8"], "File": "ft32", "Func": "ft32_function_arg", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36730, "Length": 45} {"ground_truth": ["", "static", "rtx", "ft32_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fntype_or_decl", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "valtype", ")", ",", "FT32_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", "ft32", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "ft32_function_value", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36731, "Length": 28} {"ground_truth": ["", "static", "bool", "ft32_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "FT32_R0", ")", ";", "}", ""], "natrual_language": ["Handle", "TARGET_FUNCTION_VALUE_REGNO_P", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "ft32", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "ft32_function_value_regno_p", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36732, "Length": 18} {"ground_truth": ["", "int", "ft32_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "ft32_compute_frame", "(", ")", ";", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "FRAME_POINTER_REGNUM", ")", "{", "return", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+", "2", "*", "UNITS_PER_WORD", ";", "}", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "STACK_POINTER_REGNUM", ")", "{", "int", "arg_offset", ";", "arg_offset", "=", "must_link", "(", ")", "?", "2", ":", "1", ";", "return", "(", "(", "cfun", "->", "machine", "->", "callee_saved_reg_size", "+", "arg_offset", "*", "UNITS_PER_WORD", ")", "+", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ")", ";", "}", "if", "(", "(", "from", "==", "FRAME_POINTER_REGNUM", ")", "&&", "(", "to", "==", "STACK_POINTER_REGNUM", ")", ")", "{", "return", "cfun", "->", "machine", "->", "size_for_adjusting_sp", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Implements", "the", "macro", "INITIAL_ELIMINATION_OFFSET", ",", "return", "the", "OFFSET", "."], "TS_V_token": ["ft32", "2", "2", "1"], "File": "ft32", "Func": "ft32_initial_elimination_offset", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36733, "Length": 111} {"ground_truth": ["", "static", "struct", "machine_function", "*", "ft32_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Zero", "initialization", "is", "OK", "for", "all", "current", "fields", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "ft32_init_machine_status", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36734, "Length": 18} {"ground_truth": ["", "int", "ft32_is_mem_pm", "(", "rtx", "o", ")", "{", "return", "(", "MEM_P", "(", "o", ")", "&&", "!", "ADDR_SPACE_GENERIC_P", "(", "MEM_ADDR_SPACE", "(", "o", ")", ")", ")", ";", "}", ""], "natrual_language": ["Used", "by", "constraints.md", "to", "distinguish", "between", "GENERIC", "and", "PM", "memory", "addresses", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "ft32_is_mem_pm", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36735, "Length": 25} {"ground_truth": ["", "static", "rtx", "ft32_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "FT32_R0", ")", ";", "}", ""], "natrual_language": ["Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "ft32", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "ft32_libcall_value", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36736, "Length": 21} {"ground_truth": ["", "static", "void", "ft32_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": ["ft32", "\"%s\""], "File": "ft32", "Func": "ft32_operand_lossage", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36737, "Length": 26} {"ground_truth": ["", "static", "void", "ft32_option_override", "(", "void", ")", "{", "init_machine_status", "=", "ft32_init_machine_status", ";", "}", ""], "natrual_language": ["The", "TARGET_OPTION_OVERRIDE", "worker", ".", "All", "this", "curently", "does", "is", "set", "init_machine_status", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "ft32_option_override", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36738, "Length": 12} {"ground_truth": ["", "static", "bool", "ft32_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": ["ft32", "4", "6"], "File": "ft32", "Func": "ft32_pass_by_reference", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36739, "Length": 41} {"ground_truth": ["", "void", "ft32_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "0", ":", "break", ";", "case", "'h'", ":", "if", "(", "GET_CODE", "(", "operand", ")", "!=", "REG", ")", "internal_error", "(", "\"% applied to non-register operand\"", ")", ";", "fprintf", "(", "file", ",", "\"%s\"", ",", "reg_names", "[", "REGNO", "(", "operand", ")", "+", "1", "]", ")", ";", "return", ";", "case", "'m'", ":", "fprintf", "(", "file", ",", "\"%ld\"", ",", "(", "long", ")", "(", "-", "INTVAL", "(", "x", ")", ")", ")", ";", "return", ";", "case", "'d'", ":", "{", "int", "i", "=", "INTVAL", "(", "x", ")", ";", "char", "dwspec", ";", "switch", "(", "i", ")", "{", "case", "1", ":", "dwspec", "=", "'b'", ";", "break", ";", "case", "2", ":", "dwspec", "=", "'s'", ";", "break", ";", "case", "4", ":", "dwspec", "=", "'l'", ";", "break", ";", "default", ":", "if", "(", "(", "i", "%", "4", ")", "!=", "0", ")", "internal_error", "(", "\"bad alignment: %d\"", ",", "i", ")", ";", "else", "dwspec", "=", "'l'", ";", "break", ";", "}", "fprintf", "(", "file", ",", "\"%c\"", ",", "dwspec", ")", ";", "return", ";", "}", "case", "'f'", ":", "{", "int", "bf", "=", "ft32_as_bitfield", "(", "INTVAL", "(", "x", ")", ")", ";", "fprintf", "(", "file", ",", "\"512|(%d<<5)|%d\"", ",", "bf", ">>", "5", ",", "bf", "&", "31", ")", ";", "return", ";", "}", "case", "'g'", ":", "{", "int", "bf", "=", "ft32_as_bitfield", "(", "0xffffffff", "^", "INTVAL", "(", "x", ")", ")", ";", "fprintf", "(", "file", ",", "\"(%d<<5)|%d\"", ",", "bf", ">>", "5", ",", "bf", "&", "31", ")", ";", "return", ";", "}", "case", "'b'", ":", "{", "ft32_print_operand", "(", "file", ",", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ";", "return", ";", "}", "default", ":", "LOSE_AND_RETURN", "(", "\"invalid operand modifier letter\"", ",", "x", ")", ";", "}", "switch", "(", "GET_CODE", "(", "operand", ")", ")", "{", "case", "REG", ":", "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": ["ft32", "0", "\"% applied to non-register operand\"", "\"%s\"", "1", "\"%ld\"", "1", "2", "4", "4", "0", "\"bad alignment: %d\"", "\"%c\"", "\"512|(%d<<5)|%d\"", "5", "31", "0xffffffff", "\"(%d<<5)|%d\"", "5", "31", "0", "0", "\"invalid operand modifier letter\"", "\"%s\"", "0", "0", "\"unexpected operand\""], "File": "ft32", "Func": "ft32_print_operand", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36740, "Length": 355} {"ground_truth": ["", "void", "ft32_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"%s,0\"", ",", "reg_names", "[", "REGNO", "(", "x", ")", "]", ")", ";", "break", ";", "case", "PLUS", ":", "switch", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "file", ",", "\"%s,%ld\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "x", ",", "0", ")", ")", "]", ",", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", ";", "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": ["ft32", "\"%s,0\"", "1", "\"%s,%ld\"", "0", "1", "1", "\"(%s)\"", "0", "1", "0", "0", "1", "0", "\"+%ld(%s)\"", "1", "0"], "File": "ft32", "Func": "ft32_print_operand_address", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36741, "Length": 244} {"ground_truth": ["", "static", "bool", "ft32_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": ["ft32", "1", "2"], "File": "ft32", "Func": "ft32_return_in_memory", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36742, "Length": 36} {"ground_truth": ["", "static", "section", "*", "ft32_select_section", "(", "tree", "decl", ",", "int", "reloc", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "TREE_TYPE", "(", "decl", ")", "!=", "error_mark_node", "&&", "TYPE_ADDR_SPACE", "(", "TREE_TYPE", "(", "decl", ")", ")", "==", "ADDR_SPACE_PM", ")", "{", "if", "(", "!", "DECL_P", "(", "decl", ")", ")", "return", "get_section", "(", "\"._pm\"", ",", "SECTION_WRITE", "|", "SECTION_DEBUG", ",", "NULL", ")", ";", "return", "get_named_section", "(", "decl", ",", "\"._pm\"", ",", "reloc", ")", ";", "}", "return", "default_elf_select_section", "(", "decl", ",", "reloc", ",", "align", ")", ";", "}", ""], "natrual_language": ["Implement", "targetm.select_section", "."], "TS_V_token": ["ft32", "\"._pm\"", "\"._pm\""], "File": "ft32", "Func": "ft32_select_section", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36743, "Length": 78} {"ground_truth": ["", "static", "void", "ft32_setup_incoming_varargs", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "no_rtl", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "named_size", "=", "GET_MODE_SIZE", "(", "SImode", ")", "*", "(", "*", "cum", "-", "FT32_R0", ")", "+", "GET_MODE_SIZE", "(", "arg", ".", "mode", ")", ";", "if", "(", "named_size", "<", "24", ")", "*", "pretend_size", "=", "24", "-", "named_size", ";", "else", "*", "pretend_size", "=", "0", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["ft32", "24", "24", "0"], "File": "ft32", "Func": "ft32_setup_incoming_varargs", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36744, "Length": 72} {"ground_truth": ["", "static", "bool", "reg_ok_for_base_p", "(", "rtx", "r", ",", "bool", "strict", ")", "{", "int", "NUM", "=", "REGNO", "(", "r", ")", ";", "if", "(", "strict", ")", "return", "(", "HARD_REGNO_OK_FOR_BASE_P", "(", "NUM", ")", "||", "HARD_REGNO_OK_FOR_BASE_P", "(", "reg_renumber", "[", "(", "NUM", ")", "]", ")", ")", ";", "else", "return", "(", "(", "NUM", ")", ">=", "FIRST_PSEUDO_REGISTER", "||", "HARD_REGNO_OK_FOR_BASE_P", "(", "NUM", ")", ")", ";", "}", ""], "natrual_language": ["Nonzero", "if", "X", "is", "a", "hard", "reg", "that", "can", "be", "used", "as", "an", "index", "."], "TS_V_token": ["ft32"], "File": "ft32", "Func": "reg_ok_for_base_p", "Target": "ft32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36745, "Length": 57}