{"ground_truth": ["", "static", "void", "gen_int_relational", "(", "enum", "rtx_code", "code", ",", "rtx", "result", ",", "rtx", "cmp0", ",", "rtx", "cmp1", ",", "rtx", "destination", ")", "{", "machine_mode", "mode", ";", "int", "branch_p", ";", "mode", "=", "GET_MODE", "(", "cmp0", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "cmp1", ")", ";", "branch_p", "=", "(", "destination", "!=", "0", ")", ";", "switch", "(", "code", ")", "{", "case", "LE", ":", "case", "LT", ":", "case", "LEU", ":", "case", "LTU", ":", "{", "rtx", "temp", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "temp", "=", "cmp0", ";", "cmp0", "=", "cmp1", ";", "cmp1", "=", "temp", ";", "break", ";", "}", "default", ":", "break", ";", "}", "if", "(", "branch_p", ")", "{", "rtx", "insn", ",", "cond", ",", "label", ";", "if", "(", "!", "register_operand", "(", "cmp0", ",", "mode", ")", ")", "cmp0", "=", "force_reg", "(", "mode", ",", "cmp0", ")", ";", "if", "(", "!", "register_operand", "(", "cmp1", ",", "mode", ")", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "cmp0", ",", "cmp1", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "destination", ")", ";", "insn", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cond", ",", "label", ",", "pc_rtx", ")", ")", ";", "emit_jump_insn", "(", "insn", ")", ";", "}", "else", "{", "if", "(", "(", "GET_CODE", "(", "cmp0", ")", "==", "CONST_INT", ")", "&&", "(", "INTVAL", "(", "cmp0", ")", "!=", "0", ")", ")", "cmp0", "=", "force_reg", "(", "mode", ",", "cmp0", ")", ";", "if", "(", "GET_CODE", "(", "cmp1", ")", "==", "CONST_INT", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "LE", ":", "case", "LT", ":", "case", "GE", ":", "case", "GT", ":", "if", "(", "!", "satisfies_constraint_K", "(", "cmp1", ")", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "break", ";", "case", "LEU", ":", "case", "LTU", ":", "case", "GEU", ":", "case", "GTU", ":", "if", "(", "!", "satisfies_constraint_L", "(", "cmp1", ")", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "emit_move_insn", "(", "result", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "cmp0", ",", "cmp1", ")", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "the", "code", "to", "compare", "two", "integer", "values", ".", "The", "return", "value", "is", "the", "comparison", "expression", "."], "TS_V_token": ["lm32", "0", "0"], "File": "lm322", "Func": "gen_int_relational", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36969, "Length": 341} {"ground_truth": ["", "static", "void", "lm32_block_move_inline", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ",", "HOST_WIDE_INT", "alignment", ")", "{", "HOST_WIDE_INT", "offset", ",", "delta", ";", "unsigned", "HOST_WIDE_INT", "bits", ";", "int", "i", ";", "machine_mode", "mode", ";", "rtx", "*", "regs", ";", "switch", "(", "alignment", ")", "{", "case", "1", ":", "bits", "=", "8", ";", "break", ";", "case", "2", ":", "bits", "=", "16", ";", "break", ";", "default", ":", "bits", "=", "32", ";", "break", ";", "}", "mode", "=", "mode_for_size", "(", "bits", ",", "MODE_INT", ",", "0", ")", ";", "delta", "=", "bits", "/", "BITS_PER_UNIT", ";", "regs", "=", "XALLOCAVEC", "(", "rtx", ",", "length", "/", "delta", ")", ";", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "{", "regs", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "emit_move_insn", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["lm32", "1", "8", "2", "16", "32", "0", "0", "0", "0", "0", "0"], "File": "lm322", "Func": "lm32_block_move_inline", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36970, "Length": 245} {"ground_truth": ["", "static", "HOST_WIDE_INT", "lm32_compute_frame_size", "(", "int", "size", ")", "{", "int", "regno", ";", "HOST_WIDE_INT", "total_size", ",", "locals_size", ",", "args_size", ",", "pretend_size", ",", "callee_size", ";", "unsigned", "int", "reg_save_mask", ";", "locals_size", "=", "size", ";", "args_size", "=", "crtl", "->", "outgoing_args_size", ";", "pretend_size", "=", "crtl", "->", "args", ".", "pretend_args_size", ";", "callee_size", "=", "0", ";", "reg_save_mask", "=", "0", ";", "for", "(", "regno", "=", "1", ";", "regno", "<", "SP_REGNUM", ";", "regno", "++", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "{", "reg_save_mask", "|=", "1", "<<", "regno", ";", "callee_size", "+=", "UNITS_PER_WORD", ";", "}", "}", "if", "(", "df_regs_ever_live_p", "(", "RA_REGNUM", ")", "||", "!", "crtl", "->", "is_leaf", "||", "!", "optimize", ")", "{", "reg_save_mask", "|=", "1", "<<", "RA_REGNUM", ";", "callee_size", "+=", "UNITS_PER_WORD", ";", "}", "if", "(", "!", "(", "reg_save_mask", "&", "(", "1", "<<", "FP_REGNUM", ")", ")", "&&", "frame_pointer_needed", ")", "{", "reg_save_mask", "|=", "1", "<<", "FP_REGNUM", ";", "callee_size", "+=", "UNITS_PER_WORD", ";", "}", "total_size", "=", "pretend_size", "+", "args_size", "+", "locals_size", "+", "callee_size", ";", "total_size", "=", "(", "total_size", "+", "3", ")", "&", "~", "3", ";", "current_frame_info", ".", "total_size", "=", "total_size", ";", "current_frame_info", ".", "callee_size", "=", "callee_size", ";", "current_frame_info", ".", "pretend_size", "=", "pretend_size", ";", "current_frame_info", ".", "locals_size", "=", "locals_size", ";", "current_frame_info", ".", "args_size", "=", "args_size", ";", "current_frame_info", ".", "reg_save_mask", "=", "reg_save_mask", ";", "return", "total_size", ";", "}", ""], "natrual_language": ["Return", "the", "bytes", "needed", "to", "compute", "the", "frame", "pointer", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["lm32", "0", "0", "1", "1", "1", "1", "1", "3", "3"], "File": "lm322", "Func": "lm32_compute_frame_size", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36971, "Length": 207} {"ground_truth": ["", "static", "rtx", "lm32_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "return", "GEN_INT", "(", "0", ")", ";", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", ")", "return", "NULL_RTX", ";", "if", "(", "!", "named", "||", "(", "*", "cum", "+", "LM32_NUM_REGS2", "(", "mode", ",", "type", ")", ">", "LM32_NUM_ARG_REGS", ")", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "mode", ",", "*", "cum", "+", "LM32_FIRST_ARG_REG", ")", ";", "}", ""], "natrual_language": ["Determine", "where", "to", "put", "an", "argument", "to", "a", "function", ".", "Value", "is", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "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", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", "."], "TS_V_token": ["lm32", "0"], "File": "lm322", "Func": "lm32_function_arg", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36972, "Length": 88} {"ground_truth": ["", "void", "lm32_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"(%s+0)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "MEM", ":", "output_address", "(", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "==", "REG", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "\"(%s+%ld)\"", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ",", "INTVAL", "(", "arg1", ")", ")", ";", "else", "{", "fprintf", "(", "file", ",", "\"(%s+\"", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "arg1", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "}", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "output_addr_const", "(", "file", ",", "addr", ")", ";", "else", "fatal_insn", "(", "\"bad operand\"", ",", "addr", ")", ";", "}", "break", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_SMALL_P", "(", "addr", ")", ")", "{", "fprintf", "(", "file", ",", "\"gp(\"", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "else", "fatal_insn", "(", "\"can't use non gp relative absolute address\"", ",", "addr", ")", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"invalid addressing mode\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["A", "C", "compound", "statement", "to", "output", "to", "stdio", "stream", "STREAM", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", ".", "ADDR", "is", "an", "RTL", "expression", ".", "On", "some", "machines", ",", "the", "syntax", "for", "a", "symbolic", "address", "depends", "on", "the", "section", "that", "the", "address", "refers", "to", ".", "On", "these", "machines", ",", "define", "the", "macro", "`", "ENCODE_SECTION_INFO", "'", "to", "store", "the", "information", "into", "the", "`", "symbol_ref", "'", ",", "and", "then", "check", "for", "it", "here", "."], "TS_V_token": ["lm32", "\"(%s+0)\"", "0", "0", "1", "\"(%s+%ld)\"", "\"(%s+\"", "\")\"", "\"bad operand\"", "\"gp(\"", "\")\"", "\"can't use non gp relative absolute address\"", "\"invalid addressing mode\""], "File": "lm322", "Func": "lm32_print_operand_address", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36973, "Length": 242} {"ground_truth": ["", "static", "void", "lm32_block_move_inline", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ",", "HOST_WIDE_INT", "alignment", ")", "{", "HOST_WIDE_INT", "offset", ",", "delta", ";", "unsigned", "HOST_WIDE_INT", "bits", ";", "int", "i", ";", "machine_mode", "mode", ";", "rtx", "*", "regs", ";", "switch", "(", "alignment", ")", "{", "case", "1", ":", "bits", "=", "8", ";", "break", ";", "case", "2", ":", "bits", "=", "16", ";", "break", ";", "default", ":", "bits", "=", "32", ";", "break", ";", "}", "mode", "=", "int_mode_for_size", "(", "bits", ",", "0", ")", ".", "require", "(", ")", ";", "delta", "=", "bits", "/", "BITS_PER_UNIT", ";", "regs", "=", "XALLOCAVEC", "(", "rtx", ",", "length", "/", "delta", ")", ";", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "{", "regs", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "emit_move_insn", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "0", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["lm32", "1", "8", "2", "16", "32", "0", "0", "0", "0", "0", "0"], "File": "lm325", "Func": "lm32_block_move_inline", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36974, "Length": 247} {"ground_truth": ["", "static", "rtx", "emit_add", "(", "rtx", "dest", ",", "rtx", "src0", ",", "rtx", "src1", ")", "{", "rtx", "insn", ";", "insn", "=", "emit_insn", "(", "gen_addsi3", "(", "dest", ",", "src0", ",", "src1", ")", ")", ";", "return", "insn", ";", "}", ""], "natrual_language": ["Emit", "insns", "to", "set", "DSTREG", "to", "SRCREG", "+", "AMOUNT", "during", "the", "prologue", "or", "epilogue", "."], "TS_V_token": ["lm32"], "File": "lm32", "Func": "emit_add", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36975, "Length": 35} {"ground_truth": ["", "static", "void", "expand_save_restore", "(", "struct", "lm32_frame_info", "*", "info", ",", "int", "op", ")", "{", "unsigned", "int", "reg_save_mask", "=", "info", "->", "reg_save_mask", ";", "int", "regno", ";", "HOST_WIDE_INT", "offset", ";", "rtx", "insn", ";", "offset", "=", "info", "->", "args_size", "+", "info", "->", "callee_size", ";", "for", "(", "regno", "=", "0", ";", "regno", "<=", "31", ";", "regno", "++", ")", "{", "if", "(", "(", "reg_save_mask", "&", "(", "1", "<<", "regno", ")", ")", "!=", "0", ")", "{", "rtx", "offset_rtx", ";", "rtx", "mem", ";", "offset_rtx", "=", "GEN_INT", "(", "offset", ")", ";", "if", "(", "satisfies_constraint_K", "(", "offset_rtx", ")", ")", "{", "mem", "=", "gen_rtx_MEM", "(", "word_mode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "offset_rtx", ")", ")", ";", "}", "else", "{", "rtx", "r10", ";", "r10", "=", "gen_rtx_REG", "(", "word_mode", ",", "10", ")", ";", "insn", "=", "emit_move_insn", "(", "r10", ",", "offset_rtx", ")", ";", "if", "(", "op", "==", "0", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_add", "(", "r10", ",", "r10", ",", "stack_pointer_rtx", ")", ";", "if", "(", "op", "==", "0", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "mem", "=", "gen_rtx_MEM", "(", "word_mode", ",", "r10", ")", ";", "}", "if", "(", "op", "==", "0", ")", "insn", "=", "emit_move_insn", "(", "mem", ",", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ")", ";", "else", "insn", "=", "emit_move_insn", "(", "gen_rtx_REG", "(", "word_mode", ",", "regno", ")", ",", "mem", ")", ";", "if", "(", "op", "==", "0", ")", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "offset", "-=", "UNITS_PER_WORD", ";", "}", "}", "}", ""], "natrual_language": ["Generate", "and", "emit", "RTL", "to", "save", "or", "restore", "callee", "save", "registers", "."], "TS_V_token": ["lm32", "0", "31", "1", "0", "10", "0", "1", "0", "1", "0", "0", "1"], "File": "lm32", "Func": "expand_save_restore", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36976, "Length": 232} {"ground_truth": ["", "static", "void", "gen_int_relational", "(", "enum", "rtx_code", "code", ",", "rtx", "result", ",", "rtx", "cmp0", ",", "rtx", "cmp1", ",", "rtx", "destination", ")", "{", "machine_mode", "mode", ";", "int", "branch_p", ";", "mode", "=", "GET_MODE", "(", "cmp0", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "GET_MODE", "(", "cmp1", ")", ";", "branch_p", "=", "(", "destination", "!=", "0", ")", ";", "switch", "(", "code", ")", "{", "case", "LE", ":", "case", "LT", ":", "case", "LEU", ":", "case", "LTU", ":", "{", "rtx", "temp", ";", "code", "=", "swap_condition", "(", "code", ")", ";", "temp", "=", "cmp0", ";", "cmp0", "=", "cmp1", ";", "cmp1", "=", "temp", ";", "break", ";", "}", "default", ":", "break", ";", "}", "if", "(", "branch_p", ")", "{", "rtx", "insn", ",", "cond", ",", "label", ";", "if", "(", "!", "register_operand", "(", "cmp0", ",", "mode", ")", ")", "cmp0", "=", "force_reg", "(", "mode", ",", "cmp0", ")", ";", "if", "(", "!", "register_operand", "(", "cmp1", ",", "mode", ")", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "cond", "=", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "cmp0", ",", "cmp1", ")", ";", "label", "=", "gen_rtx_LABEL_REF", "(", "VOIDmode", ",", "destination", ")", ";", "insn", "=", "gen_rtx_SET", "(", "pc_rtx", ",", "gen_rtx_IF_THEN_ELSE", "(", "VOIDmode", ",", "cond", ",", "label", ",", "pc_rtx", ")", ")", ";", "emit_jump_insn", "(", "insn", ")", ";", "}", "else", "{", "if", "(", "(", "GET_CODE", "(", "cmp0", ")", "==", "CONST_INT", ")", "&&", "(", "INTVAL", "(", "cmp0", ")", "!=", "0", ")", ")", "cmp0", "=", "force_reg", "(", "mode", ",", "cmp0", ")", ";", "if", "(", "GET_CODE", "(", "cmp1", ")", "==", "CONST_INT", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "LE", ":", "case", "LT", ":", "case", "GE", ":", "case", "GT", ":", "if", "(", "!", "satisfies_constraint_K", "(", "cmp1", ")", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "break", ";", "case", "LEU", ":", "case", "LTU", ":", "case", "GEU", ":", "case", "GTU", ":", "if", "(", "!", "satisfies_constraint_L", "(", "cmp1", ")", ")", "cmp1", "=", "force_reg", "(", "mode", ",", "cmp1", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "}", "emit_move_insn", "(", "result", ",", "gen_rtx_fmt_ee", "(", "code", ",", "mode", ",", "cmp0", ",", "cmp1", ")", ")", ";", "}", "}", ""], "natrual_language": ["Generate", "the", "code", "to", "compare", "two", "integer", "values", ".", "The", "return", "value", "is", "the", "comparison", "expression", "."], "TS_V_token": ["lm32", "0", "0"], "File": "lm32", "Func": "gen_int_relational", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36977, "Length": 339} {"ground_truth": ["", "static", "void", "lm32_block_move_inline", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ",", "HOST_WIDE_INT", "alignment", ")", "{", "HOST_WIDE_INT", "offset", ",", "delta", ";", "unsigned", "HOST_WIDE_INT", "bits", ";", "int", "i", ";", "machine_mode", "mode", ";", "rtx", "*", "regs", ";", "switch", "(", "alignment", ")", "{", "case", "1", ":", "bits", "=", "8", ";", "break", ";", "case", "2", ":", "bits", "=", "16", ";", "break", ";", "default", ":", "bits", "=", "32", ";", "break", ";", "}", "mode", "=", "int_mode_for_size", "(", "bits", ",", "0", ")", ".", "require", "(", ")", ";", "delta", "=", "bits", "/", "BITS_PER_UNIT", ";", "regs", "=", "XALLOCAVEC", "(", "rtx", ",", "length", "/", "delta", ")", ";", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "{", "regs", "[", "i", "]", "=", "gen_reg_rtx", "(", "mode", ")", ";", "emit_move_insn", "(", "regs", "[", "i", "]", ",", "adjust_address", "(", "src", ",", "mode", ",", "offset", ")", ")", ";", "}", "for", "(", "offset", "=", "0", ",", "i", "=", "0", ";", "offset", "+", "delta", "<=", "length", ";", "offset", "+=", "delta", ",", "i", "++", ")", "emit_move_insn", "(", "adjust_address", "(", "dest", ",", "mode", ",", "offset", ")", ",", "regs", "[", "i", "]", ")", ";", "if", "(", "offset", "<", "length", ")", "{", "src", "=", "adjust_address", "(", "src", ",", "BLKmode", ",", "offset", ")", ";", "dest", "=", "adjust_address", "(", "dest", ",", "BLKmode", ",", "offset", ")", ";", "move_by_pieces", "(", "dest", ",", "src", ",", "length", "-", "offset", ",", "MIN", "(", "MEM_ALIGN", "(", "src", ")", ",", "MEM_ALIGN", "(", "dest", ")", ")", ",", "RETURN_BEGIN", ")", ";", "}", "}", ""], "natrual_language": ["Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "."], "TS_V_token": ["lm32", "1", "8", "2", "16", "32", "0", "0", "0", "0", "0"], "File": "lm32", "Func": "lm32_block_move_inline", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36978, "Length": 247} {"ground_truth": ["", "bool", "lm32_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "(", "to", "==", "STACK_POINTER_REGNUM", "&&", "frame_pointer_needed", ")", "?", "false", ":", "true", ";", "}", ""], "natrual_language": ["Implemenent", "TARGET_CAN_ELIMINATE", "."], "TS_V_token": ["lm32"], "File": "lm32", "Func": "lm32_can_eliminate", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36979, "Length": 27} {"ground_truth": ["", "int", "lm32_can_use_return", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "if", "(", "df_regs_ever_live_p", "(", "RA_REGNUM", ")", "||", "crtl", "->", "profile", ")", "return", "0", ";", "if", "(", "lm32_compute_frame_size", "(", "get_frame_size", "(", ")", ")", "!=", "0", ")", "return", "0", ";", "return", "1", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "."], "TS_V_token": ["lm32", "0", "0", "0", "0", "1"], "File": "lm32", "Func": "lm32_can_use_return", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36980, "Length": 46} {"ground_truth": ["", "static", "HOST_WIDE_INT", "lm32_compute_frame_size", "(", "int", "size", ")", "{", "int", "regno", ";", "HOST_WIDE_INT", "total_size", ",", "locals_size", ",", "args_size", ",", "pretend_size", ",", "callee_size", ";", "unsigned", "int", "reg_save_mask", ";", "locals_size", "=", "size", ";", "args_size", "=", "crtl", "->", "outgoing_args_size", ";", "pretend_size", "=", "crtl", "->", "args", ".", "pretend_args_size", ";", "callee_size", "=", "0", ";", "reg_save_mask", "=", "0", ";", "for", "(", "regno", "=", "1", ";", "regno", "<", "SP_REGNUM", ";", "regno", "++", ")", "{", "if", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", "{", "reg_save_mask", "|=", "1", "<<", "regno", ";", "callee_size", "+=", "UNITS_PER_WORD", ";", "}", "}", "if", "(", "df_regs_ever_live_p", "(", "RA_REGNUM", ")", "||", "!", "crtl", "->", "is_leaf", "||", "!", "optimize", ")", "{", "reg_save_mask", "|=", "1", "<<", "RA_REGNUM", ";", "callee_size", "+=", "UNITS_PER_WORD", ";", "}", "if", "(", "!", "(", "reg_save_mask", "&", "(", "1", "<<", "FP_REGNUM", ")", ")", "&&", "frame_pointer_needed", ")", "{", "reg_save_mask", "|=", "1", "<<", "FP_REGNUM", ";", "callee_size", "+=", "UNITS_PER_WORD", ";", "}", "total_size", "=", "pretend_size", "+", "args_size", "+", "locals_size", "+", "callee_size", ";", "total_size", "=", "(", "total_size", "+", "3", ")", "&", "~", "3", ";", "current_frame_info", ".", "total_size", "=", "total_size", ";", "current_frame_info", ".", "callee_size", "=", "callee_size", ";", "current_frame_info", ".", "pretend_size", "=", "pretend_size", ";", "current_frame_info", ".", "locals_size", "=", "locals_size", ";", "current_frame_info", ".", "args_size", "=", "args_size", ";", "current_frame_info", ".", "reg_save_mask", "=", "reg_save_mask", ";", "return", "total_size", ";", "}", ""], "natrual_language": ["Return", "the", "bytes", "needed", "to", "compute", "the", "frame", "pointer", "from", "the", "current", "stack", "pointer", "."], "TS_V_token": ["lm32", "0", "0", "1", "1", "1", "1", "1", "3", "3"], "File": "lm32", "Func": "lm32_compute_frame_size", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36981, "Length": 207} {"ground_truth": ["", "int", "lm32_expand_block_move", "(", "rtx", "*", "operands", ")", "{", "if", "(", "(", "GET_CODE", "(", "operands", "[", "2", "]", ")", "==", "CONST_INT", ")", "&&", "(", "INTVAL", "(", "operands", "[", "2", "]", ")", "<=", "32", ")", ")", "{", "lm32_block_move_inline", "(", "operands", "[", "0", "]", ",", "operands", "[", "1", "]", ",", "INTVAL", "(", "operands", "[", "2", "]", ")", ",", "INTVAL", "(", "operands", "[", "3", "]", ")", ")", ";", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Expand", "string/block", "move", "operations", ".", "operands", "[", "0", "]", "is", "the", "pointer", "to", "the", "destination", ".", "operands", "[", "1", "]", "is", "the", "pointer", "to", "the", "source", ".", "operands", "[", "2", "]", "is", "the", "number", "of", "bytes", "to", "move", ".", "operands", "[", "3", "]", "is", "the", "alignment", "."], "TS_V_token": ["lm32", "2", "2", "32", "0", "1", "2", "3", "1", "0"], "File": "lm32", "Func": "lm32_expand_block_move", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36982, "Length": 72} {"ground_truth": ["", "void", "lm32_expand_conditional_branch", "(", "rtx", "operands", "[", "]", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "0", "]", ")", ";", "rtx", "op0", "=", "operands", "[", "1", "]", ";", "rtx", "op1", "=", "operands", "[", "2", "]", ";", "rtx", "destination", "=", "operands", "[", "3", "]", ";", "gen_int_relational", "(", "code", ",", "NULL_RTX", ",", "op0", ",", "op1", ",", "destination", ")", ";", "}", ""], "natrual_language": ["Compare", "OPERANDS", "[", "1", "]", "with", "OPERANDS", "[", "2", "]", "using", "comparison", "code", "CODE", "and", "jump", "to", "OPERANDS", "[", "3", "]", "if", "the", "condition", "holds", "."], "TS_V_token": ["lm32", "0", "1", "2", "3"], "File": "lm32", "Func": "lm32_expand_conditional_branch", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36983, "Length": 59} {"ground_truth": ["", "void", "lm32_expand_epilogue", "(", "void", ")", "{", "rtx", "ra_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "RA_REGNUM", ")", ";", "lm32_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "current_frame_info", ".", "total_size", ">", "0", ")", "{", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "if", "(", "current_frame_info", ".", "reg_save_mask", "!=", "0", ")", "expand_save_restore", "(", "&", "current_frame_info", ",", "1", ")", ";", "stack_adjust", "(", "current_frame_info", ".", "total_size", ")", ";", "emit_jump_insn", "(", "gen_return_internal", "(", "ra_rtx", ")", ")", ";", "}", "else", "{", "emit_jump_insn", "(", "gen_return_internal", "(", "ra_rtx", ")", ")", ";", "}", "}", ""], "natrual_language": ["Create", "an", "emit", "instructions", "for", "a", "functions", "epilogue", "."], "TS_V_token": ["lm32", "0", "0", "1"], "File": "lm32", "Func": "lm32_expand_epilogue", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36984, "Length": 83} {"ground_truth": ["", "void", "lm32_expand_prologue", "(", "void", ")", "{", "rtx", "insn", ";", "lm32_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "if", "(", "current_frame_info", ".", "total_size", ">", "0", ")", "{", "stack_adjust", "(", "-", "current_frame_info", ".", "total_size", ")", ";", "if", "(", "current_frame_info", ".", "reg_save_mask", "!=", "0", ")", "expand_save_restore", "(", "&", "current_frame_info", ",", "0", ")", ";", "if", "(", "frame_pointer_needed", "==", "1", ")", "{", "insn", "=", "emit_move_insn", "(", "frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "insn", "=", "emit_add", "(", "frame_pointer_rtx", ",", "frame_pointer_rtx", ",", "GEN_INT", "(", "current_frame_info", ".", "args_size", "+", "current_frame_info", ".", "callee_size", "+", "current_frame_info", ".", "locals_size", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "1", ";", "}", "emit_insn", "(", "gen_blockage", "(", ")", ")", ";", "}", "}", ""], "natrual_language": ["Create", "and", "emit", "instructions", "for", "a", "functions", "prologue", "."], "TS_V_token": ["lm32", "0", "0", "0", "1", "1", "1"], "File": "lm32", "Func": "lm32_expand_prologue", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36985, "Length": 113} {"ground_truth": ["", "void", "lm32_expand_scc", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "target", "=", "operands", "[", "0", "]", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "op0", "=", "operands", "[", "2", "]", ";", "rtx", "op1", "=", "operands", "[", "3", "]", ";", "gen_int_relational", "(", "code", ",", "target", ",", "op0", ",", "op1", ",", "NULL_RTX", ")", ";", "}", ""], "natrual_language": ["Try", "performing", "the", "comparison", "in", "OPERANDS", "[", "1", "]", ",", "whose", "arms", "are", "OPERANDS", "[", "2", "]", "and", "OPERAND", "[", "3", "]", ".", "Store", "the", "result", "in", "OPERANDS", "[", "0", "]", "."], "TS_V_token": ["lm32", "0", "1", "2", "3"], "File": "lm32", "Func": "lm32_expand_scc", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36986, "Length": 59} {"ground_truth": ["", "static", "rtx", "lm32_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "arg", ".", "end_marker_p", "(", ")", ")", "return", "GEN_INT", "(", "0", ")", ";", "if", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "arg", ")", ")", "return", "NULL_RTX", ";", "if", "(", "!", "arg", ".", "named", "||", "*", "cum", "+", "LM32_NUM_REGS2", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ">", "LM32_NUM_ARG_REGS", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_REG", "(", "arg", ".", "mode", ",", "*", "cum", "+", "LM32_FIRST_ARG_REG", ")", ";", "}", ""], "natrual_language": ["Determine", "where", "to", "put", "an", "argument", "to", "a", "function", ".", "Value", "is", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "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", ".", "CUM", "is", "a", "variable", "of", "type", "CUMULATIVE_ARGS", "which", "gives", "info", "about", "the", "preceding", "args", "and", "about", "the", "function", "being", "called", ".", "NAMED", "is", "nonzero", "if", "this", "argument", "is", "a", "named", "parameter", "(", "otherwise", "it", "is", "an", "extra", "parameter", "matching", "an", "ellipsis", ")", "."], "TS_V_token": ["lm32", "0"], "File": "lm32", "Func": "lm32_function_arg", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36987, "Length": 90} {"ground_truth": ["", "static", "bool", "lm32_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", ")", "{", "return", "G_REG_P", "(", "regno", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", "."], "TS_V_token": ["lm32"], "File": "lm32", "Func": "lm32_hard_regno_mode_ok", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36988, "Length": 18} {"ground_truth": ["", "static", "bool", "lm32_in_small_data_p", "(", "const_tree", "exp", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "VAR_DECL", "&&", "DECL_SECTION_NAME", "(", "exp", ")", ")", "{", "const", "char", "*", "section", "=", "DECL_SECTION_NAME", "(", "exp", ")", ";", "if", "(", "strcmp", "(", "section", ",", "\".sdata\"", ")", "==", "0", "||", "strcmp", "(", "section", ",", "\".sbss\"", ")", "==", "0", ")", "return", "true", ";", "}", "else", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "TREE_TYPE", "(", "exp", ")", ")", ";", "if", "(", "size", ">", "0", "&&", "size", "<=", "g_switch_value", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Return", "true", "if", "EXP", "should", "be", "placed", "in", "the", "small", "data", "section", "."], "TS_V_token": ["lm32", "\".sdata\"", "0", "\".sbss\"", "0", "0"], "File": "lm32", "Func": "lm32_in_small_data_p", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36989, "Length": 112} {"ground_truth": ["", "static", "bool", "lm32_legitimate_address_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "if", "(", "strict", "&&", "REG_P", "(", "x", ")", "&&", "STRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ")", "return", "true", ";", "if", "(", "!", "strict", "&&", "REG_P", "(", "x", ")", "&&", "NONSTRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "REG_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "(", "(", "strict", "&&", "STRICT_REG_OK_FOR_BASE_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", "||", "(", "!", "strict", "&&", "NONSTRICT_REG_OK_FOR_BASE_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ")", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "satisfies_constraint_K", "(", "XEXP", "(", "(", "x", ")", ",", "1", ")", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "SYMBOL_REF_SMALL_P", "(", "x", ")", ")", "return", "true", ";", "return", "false", ";", "}", ""], "natrual_language": ["Implement", "TARGET_LEGITIMATE_ADDRESS_P", "."], "TS_V_token": ["lm32", "0", "0", "0", "1", "1"], "File": "lm32", "Func": "lm32_legitimate_address_p", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36990, "Length": 148} {"ground_truth": ["", "static", "bool", "lm32_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "return", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_INT", "&&", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_INT", "&&", "GET_MODE_SIZE", "(", "mode1", ")", "<=", "UNITS_PER_WORD", "&&", "GET_MODE_SIZE", "(", "mode2", ")", "<=", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_MODES_TIEABLE_P", "."], "TS_V_token": ["lm32"], "File": "lm32", "Func": "lm32_modes_tieable_p", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36991, "Length": 43} {"ground_truth": ["", "bool", "lm32_move_ok", "(", "machine_mode", "mode", ",", "rtx", "operands", "[", "2", "]", ")", "{", "if", "(", "memory_operand", "(", "operands", "[", "0", "]", ",", "mode", ")", ")", "return", "register_or_zero_operand", "(", "operands", "[", "1", "]", ",", "mode", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["Check", "a", "move", "is", "not", "memory", "to", "memory", "."], "TS_V_token": ["lm32", "2", "0", "1"], "File": "lm32", "Func": "lm32_move_ok", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36992, "Length": 40} {"ground_truth": ["", "static", "void", "lm32_option_override", "(", "void", ")", "{", "if", "(", "!", "TARGET_BARREL_SHIFT_ENABLED", "&&", "!", "TARGET_SIGN_EXTEND_ENABLED", ")", "target_flags", "|=", "MASK_SIGN_EXTEND_ENABLED", ";", "}", ""], "natrual_language": ["Override", "command", "line", "options", "."], "TS_V_token": ["lm32"], "File": "lm32", "Func": "lm32_option_override", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36993, "Length": 20} {"ground_truth": ["", "void", "lm32_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "\"(%s+0)\"", ",", "reg_names", "[", "REGNO", "(", "addr", ")", "]", ")", ";", "break", ";", "case", "MEM", ":", "output_address", "(", "VOIDmode", ",", "XEXP", "(", "addr", ",", "0", ")", ")", ";", "break", ";", "case", "PLUS", ":", "{", "rtx", "arg0", "=", "XEXP", "(", "addr", ",", "0", ")", ";", "rtx", "arg1", "=", "XEXP", "(", "addr", ",", "1", ")", ";", "if", "(", "GET_CODE", "(", "arg0", ")", "==", "REG", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "{", "if", "(", "GET_CODE", "(", "arg1", ")", "==", "CONST_INT", ")", "fprintf", "(", "file", ",", "\"(%s+%ld)\"", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ",", "INTVAL", "(", "arg1", ")", ")", ";", "else", "{", "fprintf", "(", "file", ",", "\"(%s+\"", ",", "reg_names", "[", "REGNO", "(", "arg0", ")", "]", ")", ";", "output_addr_const", "(", "file", ",", "arg1", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "}", "else", "if", "(", "CONSTANT_P", "(", "arg0", ")", "&&", "CONSTANT_P", "(", "arg1", ")", ")", "output_addr_const", "(", "file", ",", "addr", ")", ";", "else", "fatal_insn", "(", "\"bad operand\"", ",", "addr", ")", ";", "}", "break", ";", "case", "SYMBOL_REF", ":", "if", "(", "SYMBOL_REF_SMALL_P", "(", "addr", ")", ")", "{", "fprintf", "(", "file", ",", "\"gp(\"", ")", ";", "output_addr_const", "(", "file", ",", "addr", ")", ";", "fprintf", "(", "file", ",", "\")\"", ")", ";", "}", "else", "fatal_insn", "(", "\"can't use non gp relative absolute address\"", ",", "addr", ")", ";", "break", ";", "default", ":", "fatal_insn", "(", "\"invalid addressing mode\"", ",", "addr", ")", ";", "break", ";", "}", "}", ""], "natrual_language": ["A", "C", "compound", "statement", "to", "output", "to", "stdio", "stream", "STREAM", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", ".", "ADDR", "is", "an", "RTL", "expression", ".", "On", "some", "machines", ",", "the", "syntax", "for", "a", "symbolic", "address", "depends", "on", "the", "section", "that", "the", "address", "refers", "to", ".", "On", "these", "machines", ",", "define", "the", "macro", "`", "ENCODE_SECTION_INFO", "'", "to", "store", "the", "information", "into", "the", "`", "symbol_ref", "'", ",", "and", "then", "check", "for", "it", "here", "."], "TS_V_token": ["lm32", "\"(%s+0)\"", "0", "0", "1", "\"(%s+%ld)\"", "\"(%s+\"", "\")\"", "\"bad operand\"", "\"gp(\"", "\")\"", "\"can't use non gp relative absolute address\"", "\"invalid addressing mode\""], "File": "lm32", "Func": "lm32_print_operand_address", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36994, "Length": 244} {"ground_truth": ["", "lm32_return_addr_rtx", "(", "count", ",", "frame", ")", "{", "{", "FRAME_POINTER_REGNUM", ",", "STACK_POINTER_REGNUM", "}", ",", "\\", "{", "ARG_POINTER_REGNUM", ",", "STACK_POINTER_REGNUM", "}", ",", "\\", "}", "(", "OFFSET", ")", "=", "lm32_compute_initial_elimination_offset", "(", "FROM", ",", "TO", ")", "(", "CUM", ")", "=", "0", "(", "(", "(", "r", ")", ">=", "LM32_FIRST_ARG_REG", ")", "&&", "(", "(", "r", ")", "<=", "LM32_NUM_ARG_REGS", ")", ")", "gen_rtx_REG", "(", "(", "INTEGRAL_TYPE_P", "(", "VALTYPE", ")", "\\", "&&", "TYPE_PRECISION", "(", "VALTYPE", ")", "<", "BITS_PER_WORD", ")", "\\", "?", "word_mode", "\\", ":", "TYPE_MODE", "(", "VALTYPE", ")", ",", "\\", "RV_REGNUM", ")", "LM32_NUM_INTS", "(", "(", "MODE", ")", "==", "BLKmode", "?", "\\", "int_size_in_bytes", "(", "TYPE", ")", ":", "GET_MODE_SIZE", "(", "MODE", ")", ")", "(", "(", "GET_CODE", "(", "X", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "X", ")", "==", "SYMBOL_REF", "\\", "||", "GET_CODE", "(", "X", ")", "==", "CONST_INT", "||", "GET_CODE", "(", "X", ")", "==", "HIGH", "\\", "||", "(", "GET_CODE", "(", "X", ")", "==", "CONST", ")", ")", ")", "(", "REGNO_OK_FOR_BASE_P", "(", "REGNO", "(", "X", ")", ")", ")", "(", "G_REG_P", "(", "REGNO", "(", "X", ")", ")", "||", "!", "HARD_REGISTER_NUM_P", "(", "REGNO", "(", "X", ")", ")", ")", "(", "!", "(", "nonpic_symbol_mentioned_p", "(", "X", ")", ")", ")", "do", "{", "\\", "fputc", "(", "'\\t'", ",", "FILE", ")", ";", "\\", "assemble_name", "(", "FILE", ",", "LABEL1", ")", ";", "\\", "fputs", "(", "\" = \"", ",", "FILE", ")", ";", "\\", "assemble_name", "(", "FILE", ",", "LABEL2", ")", ";", "\\", "fputc", "(", "'\\n'", ",", "FILE", ")", ";", "\\", "}", "while", "(", "0", ")", "do", "{", "\\", "if", "(", "(", "SIZE", ")", "<=", "(", "unsigned", "HOST_WIDE_INT", ")", "g_switch_value", ")", "\\", "switch_to_section", "(", "sbss_section", ")", ";", "\\", "else", "\\", "switch_to_section", "(", "bss_section", ")", ";", "\\", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "FILE", ",", "NAME", ",", "\"object\"", ")", ";", "\\", "if", "(", "!", "flag_inhibit_size_directive", ")", "\\", "ASM_OUTPUT_SIZE_DIRECTIVE", "(", "FILE", ",", "NAME", ",", "SIZE", ")", ";", "\\", "ASM_OUTPUT_ALIGN", "(", "(", "FILE", ")", ",", "exact_log2", "(", "(", "ALIGN", ")", "/", "BITS_PER_UNIT", ")", ")", ";", "\\", "ASM_OUTPUT_LABEL", "(", "FILE", ",", "NAME", ")", ";", "\\", "ASM_OUTPUT_SKIP", "(", "(", "FILE", ")", ",", "(", "SIZE", ")", "?", "(", "SIZE", ")", ":", "1", ")", ";", "\\", "}", "while", "(", "0", ")", "do", "\\", "{", "\\", "if", "(", "(", "SIZE", ")", "<=", "(", "unsigned", "HOST_WIDE_INT", ")", "g_switch_value", ")", "\\", "{", "\\", "switch_to_section", "(", "sbss_section", ")", ";", "\\", "(", "*", "targetm", ".", "asm_out", ".", "globalize_label", ")", "(", "FILE", ",", "NAME", ")", ";", "\\", "ASM_OUTPUT_TYPE_DIRECTIVE", "(", "FILE", ",", "NAME", ",", "\"object\"", ")", ";", "\\", "if", "(", "!", "flag_inhibit_size_directive", ")", "\\", "ASM_OUTPUT_SIZE_DIRECTIVE", "(", "FILE", ",", "NAME", ",", "SIZE", ")", ";", "\\", "ASM_OUTPUT_ALIGN", "(", "(", "FILE", ")", ",", "exact_log2", "(", "(", "ALIGN", ")", "/", "BITS_PER_UNIT", ")", ")", ";", "\\", "ASM_OUTPUT_LABEL", "(", "FILE", ",", "NAME", ")", ";", "\\", "ASM_OUTPUT_SKIP", "(", "(", "FILE", ")", ",", "(", "SIZE", ")", "?", "(", "SIZE", ")", ":", "1", ")", ";", "\\", "}", ""], "natrual_language": ["Support", "function", "to", "determine", "the", "return", "address", "of", "the", "function", "'count", "'", "frames", "back", "up", "the", "stack", "."], "TS_V_token": ["lm32", "0", "\" = \"", "0", "\"object\"", "1", "0", "\"object\"", "1"], "File": "lm32", "Func": "lm32_return_addr_rtx", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36995, "Length": 442} {"ground_truth": ["", "int", "lm32_return_in_memory", "(", "tree", "type", ")", "{", "HOST_WIDE_INT", "size", ";", "if", "(", "!", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "{", "return", "0", ";", "}", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "if", "(", "size", ">=", "0", "&&", "size", "<=", "UNITS_PER_WORD", ")", "{", "return", "0", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "non-zero", "if", "the", "given", "return", "type", "should", "be", "returned", "in", "memory", "."], "TS_V_token": ["lm32", "0", "0", "0", "1"], "File": "lm32", "Func": "lm32_return_in_memory", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36996, "Length": 49} {"ground_truth": ["", "static", "HOST_WIDE_INT", "lm32_starting_frame_offset", "(", "void", ")", "{", "return", "UNITS_PER_WORD", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STARTING_FRAME_OFFSET", "."], "TS_V_token": ["lm32"], "File": "lm32", "Func": "lm32_starting_frame_offset", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36997, "Length": 11} {"ground_truth": ["", "int", "nonpic_symbol_mentioned_p", "(", "rtx", "x", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "PC", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_DOUBLE", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "return", "0", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "GET_CODE", "(", "x", ")", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "GET_CODE", "(", "x", ")", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "nonpic_symbol_mentioned_p", "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'e'", "&&", "nonpic_symbol_mentioned_p", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "1", ";", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "TRUE", "if", "X", "references", "a", "SYMBOL_REF", "or", "LABEL_REF", "whose", "symbol", "is", "n't", "protected", "by", "a", "PIC", "unspec", "."], "TS_V_token": ["lm32", "1", "0", "0", "1", "0", "1", "0", "1", "1", "0"], "File": "lm32", "Func": "nonpic_symbol_mentioned_p", "Target": "lm32", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 36998, "Length": 176}