{"ground_truth": ["", "static", "__inline__", "struct", "quot_rem", "do_31div", "(", "unsigned", "long", "a", ",", "unsigned", "long", "b", ")", "{", "long", "extra", "=", "0", ";", "int", "quot_digits", "=", "0", ";", "if", "(", "b", "==", "0", ")", "{", "struct", "quot_rem", "ret", ";", "ret", ".", "quot", "=", "0xffffffff", ";", "ret", ".", "rem", "=", "0xffffffff", ";", "return", "ret", ";", "}", "if", "(", "a", "<", "b", ")", "return", "(", "struct", "quot_rem", ")", "{", "0", ",", "a", "}", ";", "if", "(", "b", "<=", "a", ")", "{", "quot_digits", "=", "LZ", "(", "b", ")", "-", "LZ", "(", "a", ")", ";", "quot_digits", "+=", "(", "a", ">=", "(", "b", "<<", "quot_digits", ")", ")", ";", "b", "<<=", "quot_digits", ";", "}", "while", "(", "b", "<=", "a", ")", "{", "b", "<<=", "1", ";", "quot_digits", "++", ";", "}", "if", "(", "a", "&", "0x40000000", ")", "{", "b", ">>=", "1", ";", "if", "(", "a", ">=", "b", ")", "{", "a", "-=", "b", ";", "extra", "=", "1", "<<", "(", "quot_digits", "-", "1", ")", ";", "}", "else", "{", "a", "-=", "b", ">>", "1", ";", "extra", "=", "1", "<<", "quot_digits", ";", "}", "quot_digits", "--", ";", "}", "b", "--", ";", "switch", "(", "quot_digits", ")", "{", "case", "32", ":", "DS", ";", "case", "31", ":", "DS", ";", "case", "30", ":", "DS", ";", "case", "29", ":", "DS", ";", "case", "28", ":", "DS", ";", "case", "27", ":", "DS", ";", "case", "26", ":", "DS", ";", "case", "25", ":", "DS", ";", "case", "24", ":", "DS", ";", "case", "23", ":", "DS", ";", "case", "22", ":", "DS", ";", "case", "21", ":", "DS", ";", "case", "20", ":", "DS", ";", "case", "19", ":", "DS", ";", "case", "18", ":", "DS", ";", "case", "17", ":", "DS", ";", "case", "16", ":", "DS", ";", "case", "15", ":", "DS", ";", "case", "14", ":", "DS", ";", "case", "13", ":", "DS", ";", "case", "12", ":", "DS", ";", "case", "11", ":", "DS", ";", "case", "10", ":", "DS", ";", "case", "9", ":", "DS", ";", "case", "8", ":", "DS", ";", "case", "7", ":", "DS", ";", "case", "6", ":", "DS", ";", "case", "5", ":", "DS", ";", "case", "4", ":", "DS", ";", "case", "3", ":", "DS", ";", "case", "2", ":", "DS", ";", "case", "1", ":", "DS", ";", "case", "0", ":", ";", "}", "{", "struct", "quot_rem", "ret", ";", "ret", ".", "quot", "=", "(", "a", "&", "(", "(", "1", "<<", "quot_digits", ")", "-", "1", ")", ")", "+", "extra", ";", "ret", ".", "rem", "=", "a", ">>", "quot_digits", ";", "return", "ret", ";", "}", "}", ""], "natrual_language": ["This", "is", "the", "worker", "function", "for", "div", "and", "mod", ".", "It", "is", "inlined", "into", "the", "respective", "library", "function", "."], "TS_V_token": ["cris", "0", "0", "0", "0xffffffff", "0xffffffff", "0", "1", "0x40000000", "1", "1", "1", "1", "1", "32", "31", "30", "29", "28", "27", "26", "25", "24", "23", "22", "21", "20", "19", "18", "17", "16", "15", "14", "13", "12", "11", "10", "9", "8", "7", "6", "5", "4", "3", "2", "1", "0", "1", "1"], "File": "arit", "Func": "do_31div", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44076, "Length": 383} {"ground_truth": ["", "static", "rtx_insn", "*", "cris_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", ",", "vec", "<", "rtx", ">", "&", "inputs", ",", "vec", "<", "machine_mode", ">", "&", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "CCmode", ",", "CRIS_CC0_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "CRIS_CC0_REGNUM", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "constraints", ".", "length", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "if", "(", "strchr", "(", "constraints", "[", "i", "]", ",", "'h'", ")", "!=", "NULL", ")", "return", "NULL", ";", "rtx", "mof_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "CRIS_MOF_REGNUM", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "outputs", ".", "length", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "if", "(", "reg_overlap_mentioned_p", "(", "mof_reg", ",", "outputs", "[", "i", "]", ")", ")", "return", "NULL", ";", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "inputs", ".", "length", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "if", "(", "reg_overlap_mentioned_p", "(", "mof_reg", ",", "inputs", "[", "i", "]", ")", ")", "return", "NULL", ";", "clobbers", ".", "safe_push", "(", "mof_reg", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "CRIS_MOF_REGNUM", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_ADJUST", "."], "TS_V_token": ["cris", "0", "0", "0"], "File": "cris1", "Func": "cris_md_asm_adjust", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44077, "Length": 206} {"ground_truth": ["", "static", "void", "cris_option_override", "(", "void", ")", "{", "if", "(", "cris_max_stackframe_str", ")", "{", "cris_max_stackframe", "=", "atoi", "(", "cris_max_stackframe_str", ")", ";", "if", "(", "cris_max_stackframe", "<", "0", "||", "cris_max_stackframe", ">", "0x20000000", ")", "internal_error", "(", "\"%<-max-stackframe=%d%> is not usable, \"", "\"not between 0 and %d\"", ",", "cris_max_stackframe", ",", "0x20000000", ")", ";", "}", "if", "(", "TARGET_SVINTO", "&&", "cris_cpu_version", "<", "CRIS_CPU_SVINTO", ")", "cris_cpu_version", "=", "CRIS_CPU_SVINTO", ";", "else", "if", "(", "TARGET_ETRAX4_ADD", "&&", "cris_cpu_version", "<", "CRIS_CPU_ETRAX4", ")", "cris_cpu_version", "=", "CRIS_CPU_ETRAX4", ";", "if", "(", "cris_cpu_str", ")", "{", "cris_cpu_version", "=", "(", "*", "cris_cpu_str", "==", "'v'", "?", "atoi", "(", "cris_cpu_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "10", ";", "if", "(", "cris_cpu_version", "<", "0", "||", "cris_cpu_version", ">", "10", ")", "error", "(", "\"unknown CRIS version specification in %<-march=%> or \"", "\"%<-mcpu=%> : %s\"", ",", "cris_cpu_str", ")", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_ETRAX4", ")", "target_flags", "|=", "MASK_ETRAX4_ADD", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "MASK_SVINTO", "|", "MASK_ALIGN_BY_32", "|", "MASK_STACK_ALIGN", "|", "MASK_CONST_ALIGN", "|", "MASK_DATA_ALIGN", ")", ";", "}", "if", "(", "cris_tune_str", ")", "{", "int", "cris_tune", "=", "(", "*", "cris_tune_str", "==", "'v'", "?", "atoi", "(", "cris_tune_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "10", ";", "if", "(", "cris_tune", "<", "0", "||", "cris_tune", ">", "32", ")", "error", "(", "\"unknown CRIS cpu version specification in %<-mtune=%> : %s\"", ",", "cris_tune_str", ")", ";", "if", "(", "cris_tune", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "MASK_STACK_ALIGN", "|", "MASK_CONST_ALIGN", "|", "MASK_DATA_ALIGN", "|", "MASK_ALIGN_BY_32", ")", ";", "}", "if", "(", "flag_pic", ")", "{", "error", "(", "\"%<-fPIC%> and %<-fpic%> are not supported on this target\"", ")", ";", "flag_pic", "=", "0", ";", "}", "init_machine_status", "=", "cris_init_machine_status", ";", "}", ""], "natrual_language": ["The", "TARGET_OPTION_OVERRIDE", "worker", ".", "As", "is", "the", "norm", ",", "this", "also", "parses", "-mfoo=bar", "type", "parameters", "."], "TS_V_token": ["cris", "0", "0x20000000", "\"%<-max-stackframe=%d%> is not usable, \"", "\"not between 0 and %d\"", "0x20000000", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "10", "\"unknown CRIS version specification in %<-march=%> or \"", "\"%<-mcpu=%> : %s\"", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "32", "\"unknown CRIS cpu version specification in %<-mtune=%> : %s\"", "\"%<-fPIC%> and %<-fpic%> are not supported on this target\"", "0"], "File": "cris1", "Func": "cris_option_override", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44078, "Length": 345} {"ground_truth": ["", "static", "unsigned", "int", "cris_postdbr_cmpelim", "(", ")", "{", "rtx_insn", "*", "insn", ";", "rtx_insn", "*", "next", ";", "rtx_insn", "*", "prev_cc_setter", "=", "0", ";", "rtx_insn", "*", "prev_cc_outer", "=", "0", ";", "rtx", "dccr", "=", "gen_rtx_REG", "(", "CCmode", ",", "CRIS_CC0_REGNUM", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "next", ")", "{", "rtx_insn", "*", "outer_insn", "=", "insn", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "next", "=", "NEXT_INSN", "(", "outer_insn", ")", ";", "if", "(", "LABEL_P", "(", "insn", ")", ")", "{", "prev_cc_setter", "=", "0", ";", "continue", ";", "}", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SEQUENCE", ")", "insn", "=", "as_a", "<", "rtx_insn", "*", ">", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ";", "else", "if", "(", "prev_cc_setter", "!=", "0", "&&", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "rtx", "prev_set", ";", "if", "(", "REG_P", "(", "dest", ")", "&&", "REGNO", "(", "dest", ")", "==", "CRIS_CC0_REGNUM", "&&", "GET_CODE", "(", "src", ")", "==", "COMPARE", "&&", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "XEXP", "(", "src", ",", "1", ")", "==", "const0_rtx", "&&", "(", "prev_set", "=", "single_set", "(", "prev_cc_setter", ")", ")", "!=", "0", ")", "{", "rtx", "reg", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "prev_dest", "=", "SET_DEST", "(", "prev_set", ")", ";", "rtx", "prev_src", "=", "SET_SRC", "(", "prev_set", ")", ";", "bool", "src_same", "=", "rtx_equal_p", "(", "prev_src", ",", "reg", ")", ";", "if", "(", "REG_P", "(", "prev_dest", ")", "&&", "!", "reg_set_p", "(", "reg", ",", "prev_src", ")", "&&", "!", "reg_set_between_p", "(", "reg", ",", "prev_cc_outer", ",", "outer_insn", ")", "&&", "(", "src_same", "||", "rtx_equal_p", "(", "prev_dest", ",", "reg", ")", ")", ")", "{", "machine_mode", "ccmode", "=", "GET_MODE", "(", "src", ")", ";", "rtx", "modeadjusted_dccr", "=", "(", "ccmode", "==", "CCmode", "?", "dccr", ":", "gen_rtx_REG", "(", "CCmode", ",", "CRIS_CC0_REGNUM", ")", ")", ";", "rtx", "compare", "=", "(", "src_same", "?", "pat", ":", "gen_rtx_SET", "(", "modeadjusted_dccr", ",", "gen_rtx_COMPARE", "(", "ccmode", ",", "copy_rtx", "(", "prev_src", ")", ",", "const0_rtx", ")", ")", ")", ";", "validate_change", "(", "prev_cc_setter", ",", "&", "XVECEXP", "(", "PATTERN", "(", "prev_cc_setter", ")", ",", "0", ",", "0", ")", ",", "compare", ",", "true", ")", ";", "validate_change", "(", "prev_cc_setter", ",", "&", "XVECEXP", "(", "PATTERN", "(", "prev_cc_setter", ")", ",", "0", ",", "1", ")", ",", "prev_set", ",", "true", ")", ";", "if", "(", "apply_change_group", "(", ")", ")", "{", "delete_insn", "(", "insn", ")", ";", "prev_cc_setter", "=", "0", ";", "continue", ";", "}", "}", "}", "}", "if", "(", "reg_set_p", "(", "dccr", ",", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "prev_cc_setter", "=", "0", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "pat", ",", "0", ")", "==", "2", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", "==", "CLOBBER", ")", "{", "prev_cc_setter", "=", "insn", ";", "prev_cc_outer", "=", "outer_insn", ";", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["``", "Cheap", "version", "''", "of", "cmpelim", ",", "making", "use", "of", "the", "opportunities", "opened", "up", "by", "reorg", ".", "Go", "through", "the", "insns", "of", "a", "function", "and", "look", "at", "each", "actual", "compare", "insn", ";", "considering", "only", "those", "that", "compare", "a", "register", "to", "0", ".", "If", "the", "previous", "CC-affecting", "insn", "sets", "the", "compared", "register", "or", "if", "a", "move", "reads", "from", "it", ",", "try", "to", "change", "that", "into", "a", "CC-setting", "move", "and", "try", "to", "have", "it", "recognized", ".", "Bail", "at", "labels", "or", "non-matching", "insns", "that", "clobber", "the", "compared", "register", ".", "If", "successful", ",", "delete", "the", "compare", ".", "Also", ",", "reorg", "is", "n't", "up", "to", "date", "regarding", "data-flow", "handling", ",", "so", "we", "ca", "n't", "go", "beyond", "classic", "RTL", "scanning", "."], "TS_V_token": ["cris", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0", "0", "0", "2", "0", "1", "0"], "File": "cris1", "Func": "cris_postdbr_cmpelim", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44079, "Length": 470} {"ground_truth": ["", "int", "cris_side_effect_mode_ok", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "ops", ",", "int", "lreg", ",", "int", "rreg", ",", "int", "rval", ",", "int", "multop", ",", "int", "other_op", ")", "{", "int", "mult", "=", "multop", "<", "0", "?", "1", ":", "INTVAL", "(", "ops", "[", "multop", "]", ")", ";", "rtx", "reg_rtx", "=", "ops", "[", "rreg", "]", ";", "rtx", "val_rtx", "=", "ops", "[", "rval", "]", ";", "if", "(", "!", "cris_base_p", "(", "reg_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "reg_rtx", "=", "val_rtx", ",", "val_rtx", "=", "ops", "[", "rreg", "]", ";", "if", "(", "!", "cris_base_p", "(", "reg_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "0", ";", "if", "(", "!", "TARGET_SIDE_EFFECT_PREFIXES", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "val_rtx", ")", "==", "MULT", ")", "{", "mult", "=", "INTVAL", "(", "XEXP", "(", "val_rtx", ",", "1", ")", ")", ";", "val_rtx", "=", "XEXP", "(", "val_rtx", ",", "0", ")", ";", "code", "=", "MULT", ";", "}", "if", "(", "other_op", ">=", "0", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "ops", "[", "other_op", "]", ")", ")", ">", "UNITS_PER_WORD", ")", "return", "0", ";", "if", "(", "(", "cris_base_p", "(", "ops", "[", "lreg", "]", ",", "reload_in_progress", "||", "reload_completed", ")", "&&", "cris_base_p", "(", "ops", "[", "other_op", "]", ",", "reload_in_progress", "||", "reload_completed", ")", "&&", "REGNO", "(", "ops", "[", "lreg", "]", ")", "==", "REGNO", "(", "ops", "[", "other_op", "]", ")", ")", "||", "rtx_equal_p", "(", "ops", "[", "other_op", "]", ",", "ops", "[", "lreg", "]", ")", ")", "return", "0", ";", "}", "if", "(", "ops", "[", "lreg", "]", "==", "frame_pointer_rtx", "||", "ops", "[", "rreg", "]", "==", "frame_pointer_rtx", "||", "ops", "[", "rval", "]", "==", "frame_pointer_rtx", "||", "(", "other_op", ">=", "0", "&&", "ops", "[", "other_op", "]", "==", "frame_pointer_rtx", ")", ")", "return", "0", ";", "if", "(", "code", "==", "PLUS", "&&", "!", "cris_base_p", "(", "val_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "reg_rtx", ")", "&&", "CONST_INT_P", "(", "val_rtx", ")", "&&", "(", "INTVAL", "(", "val_rtx", ")", "<=", "63", "&&", "INTVAL", "(", "val_rtx", ")", ">=", "-", "63", ")", ")", "return", "0", ";", "if", "(", "CONSTANT_P", "(", "val_rtx", ")", ")", "return", "1", ";", "if", "(", "MEM_P", "(", "val_rtx", ")", "&&", "cris_base_or_autoincr_p", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "val_rtx", ")", "==", "SIGN_EXTEND", "&&", "MEM_P", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ")", "&&", "cris_base_or_autoincr_p", "(", "XEXP", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ",", "0", ")", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "1", ";", "return", "0", ";", "}", "else", "if", "(", "code", "==", "MULT", "||", "(", "code", "==", "PLUS", "&&", "cris_base_p", "(", "val_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "reg_rtx", ")", "||", "(", "mult", "==", "1", "&&", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "val_rtx", ")", ")", ")", "return", "0", ";", "if", "(", "mult", "!=", "1", "&&", "mult", "!=", "2", "&&", "mult", "!=", "4", ")", "return", "0", ";", "if", "(", "!", "cris_base_p", "(", "reg_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "0", ";", "return", "1", ";", "}", "internal_error", "(", "\"internal error: cris_side_effect_mode_ok with bad operands\"", ")", ";", "}", ""], "natrual_language": ["Check", "various", "objections", "to", "the", "side-effect", ".", "Used", "in", "the", "test-part", "of", "an", "anonymous", "insn", "describing", "an", "insn", "with", "a", "possible", "side-effect", ".", "Returns", "nonzero", "if", "the", "implied", "side-effect", "is", "ok.", "code", ":", "PLUS", "or", "MULT", "ops", ":", "An", "array", "of", "rtx", ":", "es", ".", "lreg", ",", "rreg", ",", "rval", ",", "The", "variables", "multop", "and", "other_op", "are", "indexes", "into", "this", ",", "or", "-1", "if", "they", "are", "not", "applicable", ".", "lreg", ":", "The", "register", "that", "gets", "assigned", "in", "the", "side-effect", ".", "rreg", ":", "One", "register", "in", "the", "side-effect", "expression", "rval", ":", "The", "other", "register", ",", "or", "an", "int", ".", "multop", ":", "An", "integer", "to", "multiply", "rval", "with", ".", "other_op", ":", "One", "of", "the", "entities", "of", "the", "main", "effect", ",", "whose", "mode", "we", "must", "consider", "."], "TS_V_token": ["cris", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "63", "63", "0", "1", "0", "1", "0", "0", "0", "1", "0", "1", "0", "1", "2", "4", "0", "0", "1", "\"internal error: cris_side_effect_mode_ok with bad operands\""], "File": "cris1", "Func": "cris_side_effect_mode_ok", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44080, "Length": 496} {"ground_truth": ["", "int", "cris_cfun_uses_pic_table", "(", ")", "{", "return", "current_function_uses_pic_offset_table", ";", "}", ""], "natrual_language": ["Return", "current_function_uses_pic_offset_table", ".", "For", "use", "in", "cris.md", ",", "since", "some", "generated", "files", "do", "not", "include", "function.h", "."], "TS_V_token": ["cris"], "File": "cris2", "Func": "cris_cfun_uses_pic_table", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44081, "Length": 9} {"ground_truth": ["", "void", "cris_conditional_register_usage", "(", ")", "{", "if", "(", "flag_pic", ")", "fixed_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "}", ""], "natrual_language": ["The", "CONDITIONAL_REGISTER_USAGE", "worker", "."], "TS_V_token": ["cris", "1"], "File": "cris2", "Func": "cris_conditional_register_usage", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44082, "Length": 22} {"ground_truth": ["", "int", "cris_delay_slots_for_epilogue", "(", ")", "{", "if", "(", "regs_ever_live", "[", "CRIS_SRP_REGNUM", "]", "||", "cfun", "->", "machine", "->", "needs_return_address_on_stack", "!=", "0", ")", "return", "0", ";", "cris_target_asm_function_epilogue", "(", "NULL", ",", "get_frame_size", "(", ")", ")", ";", "if", "(", "*", "save_last", ")", "return", "1", ";", "return", "0", ";", "}", ""], "natrual_language": ["Return", "the", "number", "of", "delay-slots", "in", "the", "epilogue", ":", "return", "1", "if", "it", "contains", "``", "ret", "''", ",", "else", "0", "."], "TS_V_token": ["cris", "0", "0", "1", "0"], "File": "cris2", "Func": "cris_delay_slots_for_epilogue", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44083, "Length": 44} {"ground_truth": ["", "static", "int", "cris_initial_frame_pointer_offset", "(", ")", "{", "int", "regno", ";", "int", "offs", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "(", "(", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "(", "regno", "==", "(", "int", ")", "PIC_OFFSET_TABLE_REGNUM", "&&", "(", "current_function_uses_pic_offset_table", "||", "(", "flag_pic", "&&", "regs_ever_live", "[", "regno", "+", "1", "]", "&&", "!", "call_used_regs", "[", "regno", "+", "1", "]", ")", ")", ")", ")", "&&", "(", "regno", "!=", "FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "regno", "!=", "CRIS_SRP_REGNUM", ")", "||", "(", "current_function_calls_eh_return", "&&", "(", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "0", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "1", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "2", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "3", ")", ")", ")", ")", "offs", "+=", "4", ";", "offs", "+=", "get_frame_size", "(", ")", ";", "offs", "+=", "current_function_outgoing_args_size", ";", "if", "(", "TARGET_STACK_ALIGN", ")", "offs", "=", "TARGET_ALIGN_BY_32", "?", "(", "offs", "+", "3", ")", "&", "~", "3", ":", "(", "offs", "+", "1", ")", "&", "~", "1", ";", "return", "offs", ";", "}", ""], "natrual_language": ["This", "used", "to", "be", "the", "INITIAL_FRAME_POINTER_OFFSET", "worker", ";", "now", "only", "handles", "FP", "-", ">", "SP", "elimination", "offset", "."], "TS_V_token": ["cris", "0", "0", "1", "1", "0", "1", "2", "3", "4", "3", "3", "1", "1"], "File": "cris2", "Func": "cris_initial_frame_pointer_offset", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44084, "Length": 169} {"ground_truth": ["", "void", "cris_init_expanders", "(", ")", "{", "}", ""], "natrual_language": ["The", "INIT_EXPANDERS", "worker", "sets", "the", "per-function-data", "initializer", "and", "mark", "functions", "."], "TS_V_token": ["cris"], "File": "cris2", "Func": "cris_init_expanders", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44085, "Length": 6} {"ground_truth": ["", "void", "cris_override_options", "(", ")", "{", "if", "(", "cris_max_stackframe_str", ")", "{", "cris_max_stackframe", "=", "atoi", "(", "cris_max_stackframe_str", ")", ";", "if", "(", "cris_max_stackframe", "<", "0", "||", "cris_max_stackframe", ">", "0x20000000", ")", "internal_error", "(", "\"-max-stackframe=%d is not usable, not between 0 and %d\"", ",", "cris_max_stackframe", ",", "0x20000000", ")", ";", "}", "if", "(", "TARGET_SVINTO", "&&", "cris_cpu_version", "<", "CRIS_CPU_SVINTO", ")", "cris_cpu_version", "=", "CRIS_CPU_SVINTO", ";", "else", "if", "(", "TARGET_ETRAX4_ADD", "&&", "cris_cpu_version", "<", "CRIS_CPU_ETRAX4", ")", "cris_cpu_version", "=", "CRIS_CPU_ETRAX4", ";", "if", "(", "cris_cpu_str", ")", "{", "cris_cpu_version", "=", "(", "*", "cris_cpu_str", "==", "'v'", "?", "atoi", "(", "cris_cpu_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "10", ";", "if", "(", "cris_cpu_version", "<", "0", "||", "cris_cpu_version", ">", "10", ")", "error", "(", "\"unknown CRIS version specification in -march= or -mcpu= : %s\"", ",", "cris_cpu_str", ")", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_ETRAX4", ")", "target_flags", "|=", "TARGET_MASK_ETRAX4_ADD", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "TARGET_MASK_SVINTO", "|", "TARGET_MASK_ALIGN_BY_32", "|", "TARGET_MASK_STACK_ALIGN", "|", "TARGET_MASK_CONST_ALIGN", "|", "TARGET_MASK_DATA_ALIGN", ")", ";", "}", "if", "(", "cris_tune_str", ")", "{", "int", "cris_tune", "=", "(", "*", "cris_tune_str", "==", "'v'", "?", "atoi", "(", "cris_tune_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "10", ";", "if", "(", "cris_tune", "<", "0", "||", "cris_tune", ">", "10", ")", "error", "(", "\"unknown CRIS cpu version specification in -mtune= : %s\"", ",", "cris_tune_str", ")", ";", "if", "(", "cris_tune", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "TARGET_MASK_STACK_ALIGN", "|", "TARGET_MASK_CONST_ALIGN", "|", "TARGET_MASK_DATA_ALIGN", "|", "TARGET_MASK_ALIGN_BY_32", ")", ";", "}", "if", "(", "flag_pic", ")", "{", "if", "(", "!", "TARGET_LINUX", ")", "{", "error", "(", "\"-fPIC and -fpic are not supported in this configuration\"", ")", ";", "flag_pic", "=", "0", ";", "}", "flag_no_function_cse", "=", "1", ";", "}", "if", "(", "(", "write_symbols", "==", "DWARF_DEBUG", "||", "write_symbols", "==", "DWARF2_DEBUG", ")", "&&", "!", "TARGET_ELF", ")", "{", "warning", "(", "\"that particular -g option is invalid with -maout and -melinux\"", ")", ";", "write_symbols", "=", "DBX_DEBUG", ";", "}", "init_machine_status", "=", "cris_init_machine_status", ";", "}", ""], "natrual_language": ["The", "OVERRIDE_OPTIONS", "worker", ".", "As", "is", "the", "norm", ",", "this", "also", "parses", "-mfoo=bar", "type", "parameters", "."], "TS_V_token": ["cris", "0", "0x20000000", "\"-max-stackframe=%d is not usable, not between 0 and %d\"", "0x20000000", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "10", "\"unknown CRIS version specification in -march= or -mcpu= : %s\"", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "10", "\"unknown CRIS cpu version specification in -mtune= : %s\"", "\"-fPIC and -fpic are not supported in this configuration\"", "0", "1", "\"that particular -g option is invalid with -maout and -melinux\""], "File": "cris2", "Func": "cris_override_options", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44086, "Length": 378} {"ground_truth": ["", "int", "cris_simple_epilogue", "(", ")", "{", "int", "regno", ";", "int", "reglimit", "=", "STACK_POINTER_REGNUM", ";", "int", "lastreg", "=", "-", "1", ";", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", "||", "get_frame_size", "(", ")", "!=", "0", "||", "current_function_pretend_args_size", "||", "current_function_args_size", "||", "current_function_outgoing_args_size", "||", "current_function_calls_eh_return", "||", "!", "TARGET_PROLOGUE_EPILOGUE", ")", "return", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "reglimit", ";", "regno", "++", ")", "if", "(", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "(", "regno", "==", "(", "int", ")", "PIC_OFFSET_TABLE_REGNUM", "&&", "(", "current_function_uses_pic_offset_table", "||", "(", "flag_pic", "&&", "regs_ever_live", "[", "regno", "+", "1", "]", "&&", "!", "call_used_regs", "[", "regno", "+", "1", "]", ")", ")", ")", ")", "{", "if", "(", "lastreg", "!=", "regno", "-", "1", ")", "return", "0", ";", "lastreg", "=", "regno", ";", "}", "return", "1", ";", "}", ""], "natrual_language": ["Return", "!", "=", "0", "if", "the", "return", "sequence", "for", "the", "current", "function", "is", "short", ",", "like", "``", "ret", "''", "or", "``", "jump", "[", "sp+", "]", "''", ".", "Prior", "to", "reloading", ",", "we", "ca", "n't", "tell", "how", "many", "registers", "must", "be", "saved", ",", "so", "return", "0", "then", "."], "TS_V_token": ["cris", "1", "0", "0", "0", "1", "1", "1", "0", "1"], "File": "cris2", "Func": "cris_simple_epilogue", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44087, "Length": 127} {"ground_truth": ["", "static", "int", "cris_address_cost", "(", "rtx", "x", ")", "{", "if", "(", "BASE_OR_AUTOINCR_P", "(", "x", ")", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", ")", "return", "(", "2", "+", "4", ")", "/", "2", ";", "if", "(", "CONSTANT_P", "(", "x", ")", ")", "return", "(", "2", "+", "4", ")", "/", "2", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "tem1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "tem2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "(", "GET_CODE", "(", "tem1", ")", "==", "MULT", "&&", "BIAP_INDEX_P", "(", "tem1", ")", ")", "||", "REG_P", "(", "tem1", ")", ")", "return", "2", "/", "2", ";", "if", "(", "GET_CODE", "(", "tem2", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "tem2", ")", "<", "128", "&&", "INTVAL", "(", "tem2", ")", ">=", "-", "128", ")", "return", "2", "/", "2", ";", "if", "(", "GET_CODE", "(", "tem2", ")", "==", "CONST_INT", "&&", "CONST_OK_FOR_LETTER_P", "(", "INTVAL", "(", "tem2", ")", ",", "'L'", ")", ")", "return", "(", "2", "+", "2", ")", "/", "2", ";", "if", "(", "CONSTANT_P", "(", "tem2", ")", ")", "return", "(", "2", "+", "2", "+", "2", ")", "/", "2", ";", "return", "(", "2", "+", "2", "+", "2", ")", "/", "2", ";", "}", "return", "10", ";", "}", ""], "natrual_language": ["The", "ADDRESS_COST", "worker", "."], "TS_V_token": ["cris", "0", "2", "4", "2", "2", "4", "2", "0", "1", "2", "2", "128", "128", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "10"], "File": "cris3", "Func": "cris_address_cost", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44088, "Length": 199} {"ground_truth": ["", "void", "cris_asm_output_label_ref", "(", "FILE", "*", "file", ",", "char", "*", "buf", ")", "{", "if", "(", "flag_pic", "&&", "in_code", ">", "0", ")", "{", "assemble_name", "(", "file", ",", "buf", ")", ";", "if", "(", "!", "current_function_uses_pic_offset_table", ")", "internal_error", "(", "\"emitting PIC operand, but PIC register isn't set up\"", ")", ";", "}", "else", "assemble_name", "(", "file", ",", "buf", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "ASM_OUTPUT_LABEL_REF", "."], "TS_V_token": ["cris", "0", "\"emitting PIC operand, but PIC register isn't set up\""], "File": "cris3", "Func": "cris_asm_output_label_ref", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44089, "Length": 48} {"ground_truth": ["", "static", "void", "cris_asm_output_mi_thunk", "(", "FILE", "*", "stream", ",", "tree", "thunkdecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "funcdecl", ")", "{", "if", "(", "delta", ">", "0", ")", "fprintf", "(", "stream", ",", "\"\\tadd%s \"", "HOST_WIDE_INT_PRINT_DEC", "\",$%s\\n\"", ",", "ADDITIVE_SIZE_MODIFIER", "(", "delta", ")", ",", "delta", ",", "reg_names", "[", "CRIS_FIRST_ARG_REG", "]", ")", ";", "else", "if", "(", "delta", "<", "0", ")", "fprintf", "(", "stream", ",", "\"\\tsub%s \"", "HOST_WIDE_INT_PRINT_DEC", "\",$%s\\n\"", ",", "ADDITIVE_SIZE_MODIFIER", "(", "-", "delta", ")", ",", "-", "delta", ",", "reg_names", "[", "CRIS_FIRST_ARG_REG", "]", ")", ";", "if", "(", "flag_pic", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "funcdecl", ")", ",", "0", ")", ",", "0", ")", ";", "name", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "name", ")", ";", "fprintf", "(", "stream", ",", "\"add.d \"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"%s,$pc\\n\"", ",", "CRIS_PLT_PCOFFSET_SUFFIX", ")", ";", "}", "else", "{", "fprintf", "(", "stream", ",", "\"jump \"", ")", ";", "assemble_name", "(", "stream", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "funcdecl", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "}", "}", ""], "natrual_language": ["The", "ASM_OUTPUT_MI_THUNK", "worker", "."], "TS_V_token": ["cris", "0", "\"\\tadd%s \"", "\",$%s\\n\"", "0", "\"\\tsub%s \"", "\",$%s\\n\"", "0", "0", "\"add.d \"", "\"%s,$pc\\n\"", "\"jump \"", "0", "0", "\"\\n\""], "File": "cris3", "Func": "cris_asm_output_mi_thunk", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44090, "Length": 179} {"ground_truth": ["", "void", "cris_asm_output_symbol_ref", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", ";", "if", "(", "flag_pic", "&&", "in_code", ">", "0", ")", "{", "const", "char", "*", "origstr", "=", "XSTR", "(", "x", ",", "0", ")", ";", "const", "char", "*", "str", ";", "str", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "origstr", ")", ";", "assemble_name", "(", "file", ",", "str", ")", ";", "if", "(", "!", "current_function_uses_pic_offset_table", ")", "output_operand_lossage", "(", "\"PIC register isn't set up\"", ")", ";", "}", "else", "assemble_name", "(", "file", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "ASM_OUTPUT_SYMBOL_REF", "."], "TS_V_token": ["cris", "0", "0", "\"PIC register isn't set up\"", "0"], "File": "cris3", "Func": "cris_asm_output_symbol_ref", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44091, "Length": 91} {"ground_truth": ["", "int", "cris_cfun_uses_pic_table", "(", "void", ")", "{", "return", "current_function_uses_pic_offset_table", ";", "}", ""], "natrual_language": ["Return", "current_function_uses_pic_offset_table", ".", "For", "use", "in", "cris.md", ",", "since", "some", "generated", "files", "do", "not", "include", "function.h", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_cfun_uses_pic_table", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44092, "Length": 10} {"ground_truth": ["", "void", "cris_conditional_register_usage", "(", "void", ")", "{", "if", "(", "flag_pic", ")", "fixed_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "call_used_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "if", "(", "TARGET_HAS_MUL_INSNS", ")", "fixed_regs", "[", "CRIS_MOF_REGNUM", "]", "=", "0", ";", "if", "(", "cris_cpu_version", "<", "8", ")", "reg_names", "[", "CRIS_CC0_REGNUM", "]", "=", "\"ccr\"", ";", "}", ""], "natrual_language": ["The", "CONDITIONAL_REGISTER_USAGE", "worker", "."], "TS_V_token": ["cris", "1", "0", "8", "\"ccr\""], "File": "cris3", "Func": "cris_conditional_register_usage", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44093, "Length": 47} {"ground_truth": ["", "void", "cris_expand_pic_call_address", "(", "rtx", "*", "opp", ")", "{", "rtx", "op", "=", "*", "opp", ";", "gcc_assert", "(", "MEM_P", "(", "op", ")", ")", ";", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "op", ")", "&&", "GET_CODE", "(", "op", ")", "!=", "CONST_INT", ")", "{", "enum", "cris_pic_symbol_type", "t", "=", "cris_pic_symbol_type_of", "(", "op", ")", ";", "CRIS_ASSERT", "(", "!", "no_new_pseudos", ")", ";", "if", "(", "t", "==", "cris_gotrel_symbol", ")", "op", "=", "force_reg", "(", "Pmode", ",", "op", ")", ";", "else", "if", "(", "t", "==", "cris_got_symbol", ")", "{", "if", "(", "TARGET_AVOID_GOTPLT", ")", "{", "rtx", "tem", ",", "rm", ",", "ro", ";", "gcc_assert", "(", "!", "no_new_pseudos", ")", ";", "current_function_uses_pic_offset_table", "=", "1", ";", "tem", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "op", ")", ",", "CRIS_UNSPEC_PLT", ")", ";", "rm", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "rm", ",", "gen_rtx_CONST", "(", "Pmode", ",", "tem", ")", ")", ";", "ro", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "rm", ",", "pic_offset_table_rtx", ",", "ro", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", "!=", "ro", ")", "internal_error", "(", "\"expand_binop failed in movsi got\"", ")", ";", "op", "=", "ro", ";", "}", "else", "{", "rtx", "tem", ",", "mem", ",", "rm", ",", "ro", ";", "gcc_assert", "(", "!", "no_new_pseudos", ")", ";", "current_function_uses_pic_offset_table", "=", "1", ";", "tem", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "op", ")", ",", "CRIS_UNSPEC_PLTGOTREAD", ")", ";", "rm", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "rm", ",", "gen_rtx_CONST", "(", "Pmode", ",", "tem", ")", ")", ";", "ro", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "rm", ",", "pic_offset_table_rtx", ",", "ro", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", "!=", "ro", ")", "internal_error", "(", "\"expand_binop failed in movsi got\"", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "ro", ")", ";", "set_mem_alias_set", "(", "mem", ",", "new_alias_set", "(", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "op", "=", "mem", ";", "}", "}", "else", "fatal_insn", "(", "\"Unidentifiable call op\"", ",", "op", ")", ";", "*", "opp", "=", "replace_equiv_address", "(", "*", "opp", ",", "op", ")", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "expanding", "the", "address", "for", "PIC", "function", "calls", "."], "TS_V_token": ["cris", "0", "1", "1", "0", "\"expand_binop failed in movsi got\"", "1", "1", "0", "\"expand_binop failed in movsi got\"", "1", "\"Unidentifiable call op\""], "File": "cris3", "Func": "cris_expand_pic_call_address", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44094, "Length": 320} {"ground_truth": ["", "void", "cris_expand_return", "(", "bool", "on_stack", ")", "{", "emit_jump_insn", "(", "gen_rtx_RETURN", "(", "VOIDmode", ")", ")", ";", "CRIS_ASSERT", "(", "cfun", "->", "machine", "->", "return_type", "!=", "CRIS_RETINSN_RET", "||", "!", "on_stack", ")", ";", "CRIS_ASSERT", "(", "cfun", "->", "machine", "->", "return_type", "!=", "CRIS_RETINSN_JUMP", "||", "on_stack", ")", ";", "cfun", "->", "machine", "->", "return_type", "=", "on_stack", "?", "CRIS_RETINSN_JUMP", ":", "CRIS_RETINSN_RET", ";", "}", ""], "natrual_language": ["Expand", "a", "return", "insn", "(", "just", "one", "insn", ")", "marked", "as", "using", "SRP", "or", "stack", "slot", "depending", "on", "parameter", "ON_STACK", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_expand_return", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44095, "Length": 55} {"ground_truth": ["", "static", "void", "cris_file_start", "(", "void", ")", "{", "targetm", ".", "file_start_app_off", "=", "!", "(", "TARGET_PDEBUG", "||", "flag_print_asm_name", ")", ";", "targetm", ".", "file_start_file_directive", "=", "TARGET_ELF", ";", "default_file_start", "(", ")", ";", "}", ""], "natrual_language": ["Boilerplate", "emitted", "at", "start", "of", "file", ".", "NO_APP", "*", "only", "at", "file", "start", "*", "means", "faster", "assembly", ".", "It", "also", "means", "comments", "are", "not", "allowed", ".", "In", "some", "cases", "comments", "will", "be", "output", "for", "debugging", "purposes", ".", "Make", "sure", "they", "are", "allowed", "then", ".", "We", "want", "a", ".file", "directive", "only", "if", "TARGET_ELF", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_file_start", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44096, "Length": 29} {"ground_truth": ["", "rtx", "cris_gen_movem_load", "(", "rtx", "src", ",", "rtx", "nregs_rtx", ",", "int", "nprefix", ")", "{", "int", "nregs", "=", "INTVAL", "(", "nregs_rtx", ")", ";", "rtvec", "vec", ";", "int", "eltno", "=", "1", ";", "int", "i", ";", "rtx", "srcreg", "=", "XEXP", "(", "src", ",", "0", ")", ";", "unsigned", "int", "regno", "=", "nregs", "-", "1", ";", "int", "regno_inc", "=", "-", "1", ";", "if", "(", "GET_CODE", "(", "srcreg", ")", "==", "POST_INC", ")", "srcreg", "=", "XEXP", "(", "srcreg", ",", "0", ")", ";", "CRIS_ASSERT", "(", "REG_P", "(", "srcreg", ")", ")", ";", "if", "(", "nregs", "==", "1", ")", "return", "gen_movsi", "(", "gen_rtx_REG", "(", "SImode", ",", "0", ")", ",", "src", ")", ";", "vec", "=", "rtvec_alloc", "(", "nprefix", "+", "nregs", "+", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "POST_INC", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "POST_INC", ")", "{", "RTVEC_ELT", "(", "vec", ",", "nprefix", "+", "1", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "srcreg", ",", "plus_constant", "(", "srcreg", ",", "nregs", "*", "4", ")", ")", ";", "eltno", "++", ";", "}", "src", "=", "replace_equiv_address", "(", "src", ",", "srcreg", ")", ";", "RTVEC_ELT", "(", "vec", ",", "nprefix", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "src", ")", ";", "regno", "+=", "regno_inc", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nregs", ";", "i", "++", ",", "eltno", "++", ")", "{", "RTVEC_ELT", "(", "vec", ",", "nprefix", "+", "eltno", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "adjust_address_nv", "(", "src", ",", "SImode", ",", "i", "*", "4", ")", ")", ";", "regno", "+=", "regno_inc", ";", "}", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "generating", "movem", "from", "mem", "for", "load_multiple", "."], "TS_V_token": ["cris", "1", "0", "1", "1", "0", "1", "0", "0", "0", "1", "4", "1", "4"], "File": "cris3", "Func": "cris_gen_movem_load", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44097, "Length": 265} {"ground_truth": ["", "static", "bool", "cris_handle_option", "(", "size_t", "code", ",", "const", "char", "*", "arg", "ATTRIBUTE_UNUSED", ",", "int", "value", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "code", ")", "{", "case", "OPT_metrax100", ":", "target_flags", "|=", "(", "MASK_SVINTO", "+", "MASK_ETRAX4_ADD", "+", "MASK_ALIGN_BY_32", ")", ";", "break", ";", "case", "OPT_mno_etrax100", ":", "target_flags", "&=", "~", "(", "MASK_SVINTO", "+", "MASK_ETRAX4_ADD", "+", "MASK_ALIGN_BY_32", ")", ";", "break", ";", "case", "OPT_m32_bit", ":", "case", "OPT_m32bit", ":", "target_flags", "|=", "(", "MASK_STACK_ALIGN", "+", "MASK_CONST_ALIGN", "+", "MASK_DATA_ALIGN", "+", "MASK_ALIGN_BY_32", ")", ";", "break", ";", "case", "OPT_m16_bit", ":", "case", "OPT_m16bit", ":", "target_flags", "|=", "(", "MASK_STACK_ALIGN", "+", "MASK_CONST_ALIGN", "+", "MASK_DATA_ALIGN", ")", ";", "break", ";", "case", "OPT_m8_bit", ":", "case", "OPT_m8bit", ":", "target_flags", "&=", "~", "(", "MASK_STACK_ALIGN", "+", "MASK_CONST_ALIGN", "+", "MASK_DATA_ALIGN", ")", ";", "break", ";", "default", ":", "break", ";", "}", "CRIS_SUBTARGET_HANDLE_OPTION", "(", "code", ",", "arg", ",", "value", ")", ";", "return", "true", ";", "}", ""], "natrual_language": ["TARGET_HANDLE_OPTION", "worker", ".", "We", "just", "store", "the", "values", "into", "local", "variables", "here", ".", "Checks", "for", "correct", "semantics", "are", "in", "cris_override_options", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_handle_option", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44098, "Length": 129} {"ground_truth": ["", "static", "int", "cris_initial_frame_pointer_offset", "(", "void", ")", "{", "int", "regno", ";", "int", "offs", "=", "0", ";", "bool", "got_really_used", "=", "false", ";", "if", "(", "current_function_uses_pic_offset_table", ")", "{", "push_topmost_sequence", "(", ")", ";", "got_really_used", "=", "reg_used_between_p", "(", "pic_offset_table_rtx", ",", "get_insns", "(", ")", ",", "NULL_RTX", ")", ";", "pop_topmost_sequence", "(", ")", ";", "}", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "cris_reg_saved_in_regsave_area", "(", "regno", ",", "got_really_used", ")", ")", "offs", "+=", "4", ";", "offs", "+=", "get_frame_size", "(", ")", ";", "offs", "+=", "current_function_outgoing_args_size", ";", "if", "(", "TARGET_STACK_ALIGN", ")", "offs", "=", "TARGET_ALIGN_BY_32", "?", "(", "offs", "+", "3", ")", "&", "~", "3", ":", "(", "offs", "+", "1", ")", "&", "~", "1", ";", "return", "offs", ";", "}", ""], "natrual_language": ["This", "used", "to", "be", "the", "INITIAL_FRAME_POINTER_OFFSET", "worker", ";", "now", "only", "handles", "FP", "-", ">", "SP", "elimination", "offset", "."], "TS_V_token": ["cris", "0", "0", "4", "3", "3", "1", "1"], "File": "cris3", "Func": "cris_initial_frame_pointer_offset", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44099, "Length": 113} {"ground_truth": ["", "static", "void", "cris_init_libfuncs", "(", "void", ")", "{", "set_optab_libfunc", "(", "smul_optab", ",", "SImode", ",", "\"__Mul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "\"__Div\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "\"__Udiv\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "\"__Mod\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "\"__Umod\"", ")", ";", "}", ""], "natrual_language": ["Rename", "the", "function", "calls", "for", "integer", "multiply", "and", "divide", "."], "TS_V_token": ["cris", "\"__Mul\"", "\"__Div\"", "\"__Udiv\"", "\"__Mod\"", "\"__Umod\""], "File": "cris3", "Func": "cris_init_libfuncs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44100, "Length": 53} {"ground_truth": ["", "static", "struct", "machine_function", "*", "cris_init_machine_status", "(", "void", ")", "{", "return", "ggc_alloc_cleared", "(", "sizeof", "(", "struct", "machine_function", ")", ")", ";", "}", ""], "natrual_language": ["Zero", "initialization", "is", "OK", "for", "all", "current", "fields", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_init_machine_status", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44101, "Length": 20} {"ground_truth": ["", "int", "cris_legitimate_pic_operand", "(", "rtx", "x", ")", "{", "return", "cris_valid_pic_const", "(", "x", ")", ";", "}", ""], "natrual_language": ["The", "LEGITIMATE_PIC_OPERAND_P", "worker", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_legitimate_pic_operand", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44102, "Length": 14} {"ground_truth": ["", "static", "tree", "cris_md_asm_clobbers", "(", "tree", "outputs", ",", "tree", "inputs", ",", "tree", "in_clobbers", ")", "{", "HARD_REG_SET", "mof_set", ";", "tree", "clobbers", ";", "tree", "t", ";", "CLEAR_HARD_REG_SET", "(", "mof_set", ")", ";", "SET_HARD_REG_BIT", "(", "mof_set", ",", "CRIS_MOF_REGNUM", ")", ";", "clobbers", "=", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "strlen", "(", "reg_names", "[", "CRIS_CC0_REGNUM", "]", ")", ",", "reg_names", "[", "CRIS_CC0_REGNUM", "]", ")", ",", "in_clobbers", ")", ";", "for", "(", "t", "=", "outputs", ";", "t", "!=", "NULL", ";", "t", "=", "TREE_CHAIN", "(", "t", ")", ")", "{", "tree", "val", "=", "TREE_VALUE", "(", "t", ")", ";", "if", "(", "strchr", "(", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "TREE_PURPOSE", "(", "t", ")", ")", ")", ",", "'h'", ")", "!=", "NULL", "||", "tree_overlaps_hard_reg_set", "(", "val", ",", "&", "mof_set", ")", "!=", "NULL_TREE", ")", "return", "clobbers", ";", "}", "for", "(", "t", "=", "inputs", ";", "t", "!=", "NULL", ";", "t", "=", "TREE_CHAIN", "(", "t", ")", ")", "{", "tree", "val", "=", "TREE_VALUE", "(", "t", ")", ";", "if", "(", "strchr", "(", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "TREE_PURPOSE", "(", "t", ")", ")", ")", ",", "'h'", ")", "!=", "NULL", "||", "tree_overlaps_hard_reg_set", "(", "val", ",", "&", "mof_set", ")", "!=", "NULL_TREE", ")", "return", "clobbers", ";", "}", "return", "tree_cons", "(", "NULL_TREE", ",", "build_string", "(", "strlen", "(", "reg_names", "[", "CRIS_MOF_REGNUM", "]", ")", ",", "reg_names", "[", "CRIS_MOF_REGNUM", "]", ")", ",", "clobbers", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_CLOBBERS", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_md_asm_clobbers", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44103, "Length": 205} {"ground_truth": ["", "const", "char", "*", "cris_op_str", "(", "rtx", "x", ")", "{", "cris_output_insn_is_bound", "=", "0", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "PLUS", ":", "return", "\"add\"", ";", "break", ";", "case", "MINUS", ":", "return", "\"sub\"", ";", "break", ";", "case", "MULT", ":", "internal_error", "(", "\"MULT case in cris_op_str\"", ")", ";", "break", ";", "case", "DIV", ":", "return", "\"div\"", ";", "break", ";", "case", "AND", ":", "return", "\"and\"", ";", "break", ";", "case", "IOR", ":", "return", "\"or\"", ";", "break", ";", "case", "XOR", ":", "return", "\"xor\"", ";", "break", ";", "case", "NOT", ":", "return", "\"not\"", ";", "break", ";", "case", "ASHIFT", ":", "return", "\"lsl\"", ";", "break", ";", "case", "LSHIFTRT", ":", "return", "\"lsr\"", ";", "break", ";", "case", "ASHIFTRT", ":", "return", "\"asr\"", ";", "break", ";", "case", "UMIN", ":", "cris_output_insn_is_bound", "=", "1", ";", "return", "\"bound\"", ";", "break", ";", "default", ":", "return", "\"Unknown operator\"", ";", "break", ";", "}", "}", ""], "natrual_language": ["Given", "an", "rtx", ",", "return", "the", "text", "string", "corresponding", "to", "the", "CODE", "of", "X", ".", "Intended", "for", "use", "in", "the", "assembly", "language", "output", "section", "of", "a", "define_insn", "."], "TS_V_token": ["cris", "0", "\"add\"", "\"sub\"", "\"MULT case in cris_op_str\"", "\"div\"", "\"and\"", "\"or\"", "\"xor\"", "\"not\"", "\"lsl\"", "\"lsr\"", "\"asr\"", "1", "\"bound\"", "\"Unknown operator\""], "File": "cris3", "Func": "cris_op_str", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44104, "Length": 132} {"ground_truth": ["", "void", "cris_order_for_addsi3", "(", "rtx", "*", "operands", ",", "int", "n", ")", "{", "if", "(", "MEM_P", "(", "operands", "[", "n", "]", ")", ")", "{", "rtx", "tem", "=", "operands", "[", "n", "]", ";", "operands", "[", "n", "]", "=", "operands", "[", "n", "+", "1", "]", ";", "operands", "[", "n", "+", "1", "]", "=", "tem", ";", "}", "}", ""], "natrual_language": ["Make", "sure", "operands", "are", "in", "the", "right", "order", "for", "an", "addsi3", "insn", "as", "generated", "by", "a", "define_split", ".", "A", "MEM", "as", "the", "first", "operand", "is", "n't", "recognized", "by", "addsi3", "after", "reload", ".", "OPERANDS", "contains", "the", "operands", ",", "with", "the", "first", "at", "OPERANDS", "[", "N", "]", "and", "the", "second", "at", "OPERANDS", "[", "N+1", "]", "."], "TS_V_token": ["cris", "1", "1"], "File": "cris3", "Func": "cris_order_for_addsi3", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44105, "Length": 53} {"ground_truth": ["", "bool", "cris_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "xconst", ")", "{", "switch", "(", "GET_CODE", "(", "xconst", ")", ")", "{", "rtx", "x", ";", "case", "UNSPEC", ":", "x", "=", "XVECEXP", "(", "xconst", ",", "0", ",", "0", ")", ";", "CRIS_ASSERT", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "switch", "(", "XINT", "(", "xconst", ",", "1", ")", ")", "{", "case", "CRIS_UNSPEC_PLT", ":", "fprintf", "(", "file", ",", "\":PLTG\"", ")", ";", "break", ";", "case", "CRIS_UNSPEC_GOTREL", ":", "fprintf", "(", "file", ",", "\":GOTOFF\"", ")", ";", "break", ";", "case", "CRIS_UNSPEC_GOTREAD", ":", "if", "(", "flag_pic", "==", "1", ")", "fprintf", "(", "file", ",", "\":GOT16\"", ")", ";", "else", "fprintf", "(", "file", ",", "\":GOT\"", ")", ";", "break", ";", "case", "CRIS_UNSPEC_PLTGOTREAD", ":", "if", "(", "flag_pic", "==", "1", ")", "fprintf", "(", "file", ",", "CRIS_GOTPLT_SUFFIX", "\"16\"", ")", ";", "else", "fprintf", "(", "file", ",", "CRIS_GOTPLT_SUFFIX", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["cris", "0", "0", "1", "\":PLTG\"", "\":GOTOFF\"", "1", "\":GOT16\"", "\":GOT\"", "1", "\"16\""], "File": "cris3", "Func": "cris_output_addr_const_extra", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44106, "Length": 171} {"ground_truth": ["", "void", "cris_override_options", "(", "void", ")", "{", "if", "(", "cris_max_stackframe_str", ")", "{", "cris_max_stackframe", "=", "atoi", "(", "cris_max_stackframe_str", ")", ";", "if", "(", "cris_max_stackframe", "<", "0", "||", "cris_max_stackframe", ">", "0x20000000", ")", "internal_error", "(", "\"-max-stackframe=%d is not usable, not between 0 and %d\"", ",", "cris_max_stackframe", ",", "0x20000000", ")", ";", "}", "if", "(", "TARGET_SVINTO", "&&", "cris_cpu_version", "<", "CRIS_CPU_SVINTO", ")", "cris_cpu_version", "=", "CRIS_CPU_SVINTO", ";", "else", "if", "(", "TARGET_ETRAX4_ADD", "&&", "cris_cpu_version", "<", "CRIS_CPU_ETRAX4", ")", "cris_cpu_version", "=", "CRIS_CPU_ETRAX4", ";", "if", "(", "cris_cpu_str", ")", "{", "cris_cpu_version", "=", "(", "*", "cris_cpu_str", "==", "'v'", "?", "atoi", "(", "cris_cpu_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "10", ";", "if", "(", "cris_cpu_version", "<", "0", "||", "cris_cpu_version", ">", "10", ")", "error", "(", "\"unknown CRIS version specification in -march= or -mcpu= : %s\"", ",", "cris_cpu_str", ")", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_ETRAX4", ")", "target_flags", "|=", "MASK_ETRAX4_ADD", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "MASK_SVINTO", "|", "MASK_ALIGN_BY_32", "|", "MASK_STACK_ALIGN", "|", "MASK_CONST_ALIGN", "|", "MASK_DATA_ALIGN", ")", ";", "}", "if", "(", "cris_tune_str", ")", "{", "int", "cris_tune", "=", "(", "*", "cris_tune_str", "==", "'v'", "?", "atoi", "(", "cris_tune_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "10", ";", "if", "(", "cris_tune", "<", "0", "||", "cris_tune", ">", "10", ")", "error", "(", "\"unknown CRIS cpu version specification in -mtune= : %s\"", ",", "cris_tune_str", ")", ";", "if", "(", "cris_tune", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "MASK_STACK_ALIGN", "|", "MASK_CONST_ALIGN", "|", "MASK_DATA_ALIGN", "|", "MASK_ALIGN_BY_32", ")", ";", "}", "if", "(", "flag_pic", ")", "{", "if", "(", "!", "TARGET_LINUX", ")", "{", "error", "(", "\"-fPIC and -fpic are not supported in this configuration\"", ")", ";", "flag_pic", "=", "0", ";", "}", "flag_no_function_cse", "=", "1", ";", "}", "if", "(", "write_symbols", "==", "DWARF2_DEBUG", "&&", "!", "TARGET_ELF", ")", "{", "warning", "(", "0", ",", "\"that particular -g option is invalid with -maout and -melinux\"", ")", ";", "write_symbols", "=", "DBX_DEBUG", ";", "}", "init_machine_status", "=", "cris_init_machine_status", ";", "}", ""], "natrual_language": ["The", "OVERRIDE_OPTIONS", "worker", ".", "As", "is", "the", "norm", ",", "this", "also", "parses", "-mfoo=bar", "type", "parameters", "."], "TS_V_token": ["cris", "0", "0x20000000", "\"-max-stackframe=%d is not usable, not between 0 and %d\"", "0x20000000", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "10", "\"unknown CRIS version specification in -march= or -mcpu= : %s\"", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "10", "\"unknown CRIS cpu version specification in -mtune= : %s\"", "\"-fPIC and -fpic are not supported in this configuration\"", "0", "1", "0", "\"that particular -g option is invalid with -maout and -melinux\""], "File": "cris3", "Func": "cris_override_options", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44107, "Length": 375} {"ground_truth": ["", "enum", "cris_pic_symbol_type", "cris_pic_symbol_type_of", "(", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SYMBOL_REF", ":", "return", "SYMBOL_REF_LOCAL_P", "(", "x", ")", "?", "cris_gotrel_symbol", ":", "cris_got_symbol", ";", "case", "LABEL_REF", ":", "return", "cris_gotrel_symbol", ";", "case", "CONST", ":", "return", "cris_pic_symbol_type_of", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "case", "PLUS", ":", "case", "MINUS", ":", "{", "enum", "cris_pic_symbol_type", "t1", "=", "cris_pic_symbol_type_of", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "enum", "cris_pic_symbol_type", "t2", "=", "cris_pic_symbol_type_of", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "gcc_assert", "(", "t1", "==", "cris_no_symbol", "||", "t2", "==", "cris_no_symbol", ")", ";", "if", "(", "t1", "==", "cris_got_symbol", "||", "t1", "==", "cris_got_symbol", ")", "return", "cris_got_symbol_needing_fixup", ";", "return", "t1", "!=", "cris_no_symbol", "?", "t1", ":", "t2", ";", "}", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "return", "cris_no_symbol", ";", "case", "UNSPEC", ":", "return", "cris_invalid_pic_symbol", ";", "default", ":", "fatal_insn", "(", "\"unrecognized supposed constant\"", ",", "x", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "find", "the", "right", "PIC-type", "symbol", "to", "generate", ",", "given", "the", "original", "(", "non-PIC", ")", "representation", "."], "TS_V_token": ["cris", "0", "0", "1", "\"unrecognized supposed constant\""], "File": "cris3", "Func": "cris_pic_symbol_type_of", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44108, "Length": 148} {"ground_truth": ["", "static", "void", "cris_print_index", "(", "rtx", "index", ",", "FILE", "*", "file", ")", "{", "rtx", "inner", "=", "XEXP", "(", "index", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "index", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "index", ")", ">=", "0", ")", "putc", "(", "'+'", ",", "file", ")", ";", "if", "(", "REG_P", "(", "index", ")", ")", "fprintf", "(", "file", ",", "\"$%s.b\"", ",", "reg_names", "[", "REGNO", "(", "index", ")", "]", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "index", ")", ")", "cris_output_addr_const", "(", "file", ",", "index", ")", ";", "else", "if", "(", "GET_CODE", "(", "index", ")", "==", "MULT", ")", "{", "fprintf", "(", "file", ",", "\"$%s.\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "index", ",", "0", ")", ")", "]", ")", ";", "putc", "(", "INTVAL", "(", "XEXP", "(", "index", ",", "1", ")", ")", "==", "2", "?", "'w'", ":", "'d'", ",", "file", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "index", ")", "==", "SIGN_EXTEND", "&&", "GET_CODE", "(", "inner", ")", "==", "MEM", ")", "{", "rtx", "inner_inner", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner_inner", ")", "==", "POST_INC", ")", "{", "fprintf", "(", "file", ",", "\"[$%s+].\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "inner_inner", ",", "0", ")", ")", "]", ")", ";", "putc", "(", "GET_MODE", "(", "inner", ")", "==", "HImode", "?", "'w'", ":", "'b'", ",", "file", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"[$%s].\"", ",", "reg_names", "[", "REGNO", "(", "inner_inner", ")", "]", ")", ";", "putc", "(", "GET_MODE", "(", "inner", ")", "==", "HImode", "?", "'w'", ":", "'b'", ",", "file", ")", ";", "}", "}", "else", "if", "(", "GET_CODE", "(", "index", ")", "==", "MEM", ")", "{", "if", "(", "GET_CODE", "(", "inner", ")", "==", "POST_INC", ")", "fprintf", "(", "file", ",", "\"[$%s+].d\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "inner", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"[$%s].d\"", ",", "reg_names", "[", "REGNO", "(", "inner", ")", "]", ")", ";", "}", "else", "cris_operand_lossage", "(", "\"unexpected index-type in cris_print_index\"", ",", "index", ")", ";", "}", ""], "natrual_language": ["Print", "an", "index", "part", "of", "an", "address", "to", "file", "."], "TS_V_token": ["cris", "0", "0", "\"$%s.b\"", "\"$%s.\"", "0", "1", "2", "0", "\"[$%s+].\"", "0", "\"[$%s].\"", "\"[$%s+].d\"", "0", "\"[$%s].d\"", "\"unexpected index-type in cris_print_index\""], "File": "cris3", "Func": "cris_print_index", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44109, "Length": 311} {"ground_truth": ["", "void", "cris_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "putc", "(", "'['", ",", "file", ")", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "x", ")", ")", "cris_output_addr_const", "(", "file", ",", "x", ")", ";", "else", "if", "(", "BASE_OR_AUTOINCR_P", "(", "x", ")", ")", "cris_print_base", "(", "x", ",", "file", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "x1", ",", "x2", ";", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "BASE_P", "(", "x1", ")", ")", "{", "cris_print_base", "(", "x1", ",", "file", ")", ";", "cris_print_index", "(", "x2", ",", "file", ")", ";", "}", "else", "if", "(", "BASE_P", "(", "x2", ")", ")", "{", "cris_print_base", "(", "x2", ",", "file", ")", ";", "cris_print_index", "(", "x1", ",", "file", ")", ";", "}", "else", "LOSE_AND_RETURN", "(", "\"unrecognized address\"", ",", "x", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "MEM", ")", "{", "putc", "(", "'['", ",", "file", ")", ";", "cris_print_base", "(", "XEXP", "(", "x", ",", "0", ")", ",", "file", ")", ";", "putc", "(", "']'", ",", "file", ")", ";", "}", "else", "LOSE_AND_RETURN", "(", "\"unrecognized address\"", ",", "x", ")", ";", "putc", "(", "']'", ",", "file", ")", ";", "}", ""], "natrual_language": ["The", "PRINT_OPERAND_ADDRESS", "worker", "."], "TS_V_token": ["cris", "0", "1", "\"unrecognized address\"", "0", "\"unrecognized address\""], "File": "cris3", "Func": "cris_print_operand_address", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44110, "Length": 191} {"ground_truth": ["", "static", "int", "cris_reg_saved_in_regsave_area", "(", "unsigned", "int", "regno", ",", "bool", "got_really_used", ")", "{", "return", "(", "(", "(", "regs_ever_live", "[", "regno", "]", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "(", "regno", "==", "PIC_OFFSET_TABLE_REGNUM", "&&", "(", "got_really_used", "||", "(", "flag_pic", "&&", "regs_ever_live", "[", "regno", "+", "1", "]", "&&", "!", "call_used_regs", "[", "regno", "+", "1", "]", ")", ")", ")", ")", "&&", "(", "regno", "!=", "FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "regno", "!=", "CRIS_SRP_REGNUM", ")", "||", "(", "current_function_calls_eh_return", "&&", "(", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "0", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "1", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "2", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "3", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "REGNO", "is", "an", "ordinary", "register", "that", "*", "needs", "*", "to", "be", "saved", "together", "with", "other", "registers", ",", "possibly", "by", "a", "MOVEM", "instruction", ",", "or", "is", "saved", "for", "target-independent", "reasons", ".", "There", "may", "be", "target-dependent", "reasons", "to", "save", "the", "register", "anyway", ";", "this", "is", "just", "a", "wrapper", "for", "a", "complicated", "conditional", "."], "TS_V_token": ["cris", "1", "1", "0", "1", "2", "3"], "File": "cris3", "Func": "cris_reg_saved_in_regsave_area", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44111, "Length": 107} {"ground_truth": ["", "bool", "cris_reload_address_legitimized", "(", "rtx", "x", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "opnum", "ATTRIBUTE_UNUSED", ",", "int", "itype", ",", "int", "ind_levels", "ATTRIBUTE_UNUSED", ")", "{", "enum", "reload_type", "type", "=", "itype", ";", "rtx", "op0", ",", "op1", ";", "rtx", "*", "op0p", ";", "rtx", "*", "op1p", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "false", ";", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "op0p", "=", "&", "XEXP", "(", "x", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "op1p", "=", "&", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "op1", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "SIGN_EXTEND", "&&", "GET_CODE", "(", "XEXP", "(", "op0", ",", "0", ")", ")", "==", "MEM", ")", "{", "rtx", "op00", "=", "XEXP", "(", "op0", ",", "0", ")", ";", "rtx", "op000", "=", "XEXP", "(", "op00", ",", "0", ")", ";", "rtx", "*", "op000p", "=", "&", "XEXP", "(", "op00", ",", "0", ")", ";", "if", "(", "(", "GET_MODE", "(", "op00", ")", "==", "HImode", "||", "GET_MODE", "(", "op00", ")", "==", "QImode", ")", "&&", "(", "REG_P", "(", "op000", ")", "||", "(", "GET_CODE", "(", "op000", ")", "==", "POST_INC", "&&", "REG_P", "(", "XEXP", "(", "op000", ",", "0", ")", ")", ")", ")", ")", "{", "bool", "something_reloaded", "=", "false", ";", "if", "(", "GET_CODE", "(", "op000", ")", "==", "POST_INC", "&&", "REG_P", "(", "XEXP", "(", "op000", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "op000", ",", "0", ")", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", "return", "false", ";", "if", "(", "(", "REG_P", "(", "op000", ")", "&&", "REGNO", "(", "op000", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", ")", "{", "push_reload", "(", "op000", ",", "NULL_RTX", ",", "op000p", ",", "NULL", ",", "GENERAL_REGS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "type", ")", ";", "something_reloaded", "=", "true", ";", "}", "if", "(", "REGNO", "(", "op1", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", "{", "push_reload", "(", "op1", ",", "NULL_RTX", ",", "op1p", ",", "NULL", ",", "GENERAL_REGS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "type", ")", ";", "something_reloaded", "=", "true", ";", "}", "gcc_assert", "(", "something_reloaded", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "LEGITIMIZE_RELOAD_ADDRESS", "."], "TS_V_token": ["cris", "0", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "cris3", "Func": "cris_reload_address_legitimized", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44112, "Length": 348} {"ground_truth": ["", "bool", "cris_return_address_on_stack", "(", "void", ")", "{", "return", "regs_ever_live", "[", "CRIS_SRP_REGNUM", "]", "||", "cfun", "->", "machine", "->", "needs_return_address_on_stack", ";", "}", ""], "natrual_language": ["Accessor", "used", "in", "cris.md", ":", "return", "because", "cfun-", ">", "machine", "is", "n't", "available", "there", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_return_address_on_stack", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44113, "Length": 19} {"ground_truth": ["", "rtx", "cris_return_addr_rtx", "(", "int", "count", ",", "rtx", "frameaddr", "ATTRIBUTE_UNUSED", ")", "{", "cfun", "->", "machine", "->", "needs_return_address_on_stack", "=", "1", ";", "return", "count", "==", "0", "?", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "virtual_incoming_args_rtx", ",", "-", "4", ")", ")", ":", "NULL_RTX", ";", "}", ""], "natrual_language": ["The", "RETURN_ADDR_RTX", "worker", ".", "We", "mark", "that", "the", "return", "address", "is", "used", ",", "either", "by", "EH", "or", "__builtin_return_address", ",", "for", "use", "by", "the", "function", "prologue", "and", "epilogue", ".", "FIXME", ":", "This", "is", "n't", "optimal", ";", "we", "just", "use", "the", "mark", "in", "the", "prologue", "and", "epilogue", "to", "say", "that", "the", "return", "address", "is", "to", "be", "stored", "in", "the", "stack", "frame", ".", "We", "could", "return", "SRP", "for", "leaf-functions", "and", "use", "the", "initial-value", "machinery", "."], "TS_V_token": ["cris", "1", "0", "4"], "File": "cris3", "Func": "cris_return_addr_rtx", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44114, "Length": 40} {"ground_truth": ["", "static", "bool", "cris_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "*", "total", ")", "{", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "val", "==", "0", ")", "*", "total", "=", "0", ";", "else", "if", "(", "val", "<", "32", "&&", "val", ">=", "-", "32", ")", "*", "total", "=", "1", ";", "else", "if", "(", "val", "<=", "32767", "&&", "val", ">=", "-", "32768", ")", "*", "total", "=", "2", ";", "else", "*", "total", "=", "4", ";", "return", "true", ";", "}", "case", "LABEL_REF", ":", "*", "total", "=", "6", ";", "return", "true", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "6", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "if", "(", "x", "!=", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", "?", "DImode", ":", "GET_MODE", "(", "x", ")", ")", ")", "*", "total", "=", "12", ";", "else", "*", "total", "=", "0", ";", "return", "true", ";", "case", "MULT", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "CONST_INT", "||", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "if", "(", "TARGET_HAS_MUL_INSNS", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "+", "COSTS_N_INSNS", "(", "1", ")", "/", "2", ";", "return", "true", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "132", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "case", "DIV", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "!=", "CONST_INT", "||", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "260", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "AND", ":", "if", "(", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "!=", "CONST_INT", "&&", "!", "CONST_OK_FOR_LETTER_P", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", ",", "'I'", ")", ")", "{", "*", "total", "=", "(", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "outer_code", ")", "+", "2", "+", "2", "*", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "ZERO_EXTEND", ":", "case", "SIGN_EXTEND", ":", "*", "total", "=", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "outer_code", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["cris", "0", "0", "32", "32", "1", "32767", "32768", "2", "4", "6", "6", "12", "0", "1", "1", "0", "1", "1", "2", "132", "1", "1", "0", "260", "1", "0", "1", "0", "2", "2", "0", "0"], "File": "cris3", "Func": "cris_rtx_costs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44115, "Length": 400} {"ground_truth": ["", "static", "void", "cris_setup_incoming_varargs", "(", "CUMULATIVE_ARGS", "*", "ca", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", ")", "{", "if", "(", "ca", "->", "regs", "<", "CRIS_MAX_ARGS_IN_REGS", ")", "{", "int", "stdarg_regs", "=", "CRIS_MAX_ARGS_IN_REGS", "-", "ca", "->", "regs", ";", "cfun", "->", "machine", "->", "stdarg_regs", "=", "stdarg_regs", ";", "*", "pretend_arg_size", "=", "stdarg_regs", "*", "4", ";", "}", "if", "(", "TARGET_PDEBUG", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\"", ",", "ca", "->", "regs", ",", "*", "pretend_arg_size", ",", "second_time", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["cris", "4", "\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\""], "File": "cris3", "Func": "cris_setup_incoming_varargs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44116, "Length": 80} {"ground_truth": ["", "int", "cris_side_effect_mode_ok", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "ops", ",", "int", "lreg", ",", "int", "rreg", ",", "int", "rval", ",", "int", "multop", ",", "int", "other_op", ")", "{", "int", "mult", "=", "multop", "<", "0", "?", "1", ":", "INTVAL", "(", "ops", "[", "multop", "]", ")", ";", "rtx", "reg_rtx", "=", "ops", "[", "rreg", "]", ";", "rtx", "val_rtx", "=", "ops", "[", "rval", "]", ";", "if", "(", "!", "BASE_P", "(", "reg_rtx", ")", ")", "reg_rtx", "=", "val_rtx", ",", "val_rtx", "=", "ops", "[", "rreg", "]", ";", "if", "(", "!", "BASE_P", "(", "reg_rtx", ")", ")", "return", "0", ";", "if", "(", "!", "TARGET_SIDE_EFFECT_PREFIXES", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "val_rtx", ")", "==", "MULT", ")", "{", "mult", "=", "INTVAL", "(", "XEXP", "(", "val_rtx", ",", "1", ")", ")", ";", "val_rtx", "=", "XEXP", "(", "val_rtx", ",", "0", ")", ";", "code", "=", "MULT", ";", "}", "if", "(", "other_op", ">=", "0", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "ops", "[", "other_op", "]", ")", ")", ">", "UNITS_PER_WORD", ")", "return", "0", ";", "if", "(", "(", "BASE_P", "(", "ops", "[", "lreg", "]", ")", "&&", "BASE_P", "(", "ops", "[", "other_op", "]", ")", "&&", "REGNO", "(", "ops", "[", "lreg", "]", ")", "==", "REGNO", "(", "ops", "[", "other_op", "]", ")", ")", "||", "rtx_equal_p", "(", "ops", "[", "other_op", "]", ",", "ops", "[", "lreg", "]", ")", ")", "return", "0", ";", "}", "if", "(", "ops", "[", "lreg", "]", "==", "frame_pointer_rtx", "||", "ops", "[", "rreg", "]", "==", "frame_pointer_rtx", "||", "ops", "[", "rval", "]", "==", "frame_pointer_rtx", "||", "(", "other_op", ">=", "0", "&&", "ops", "[", "other_op", "]", "==", "frame_pointer_rtx", ")", ")", "return", "0", ";", "if", "(", "code", "==", "PLUS", "&&", "!", "BASE_P", "(", "val_rtx", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "reg_rtx", ")", "&&", "GET_CODE", "(", "val_rtx", ")", "==", "CONST_INT", "&&", "(", "INTVAL", "(", "val_rtx", ")", "<=", "63", "&&", "INTVAL", "(", "val_rtx", ")", ">=", "-", "63", ")", ")", "return", "0", ";", "if", "(", "CONSTANT_P", "(", "val_rtx", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "val_rtx", ")", "==", "MEM", "&&", "BASE_OR_AUTOINCR_P", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "val_rtx", ")", "==", "SIGN_EXTEND", "&&", "GET_CODE", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ")", "==", "MEM", "&&", "BASE_OR_AUTOINCR_P", "(", "XEXP", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ",", "0", ")", ")", ")", "return", "1", ";", "return", "0", ";", "}", "else", "if", "(", "code", "==", "MULT", "||", "(", "code", "==", "PLUS", "&&", "BASE_P", "(", "val_rtx", ")", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "reg_rtx", ")", "||", "(", "mult", "==", "1", "&&", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "val_rtx", ")", ")", ")", "return", "0", ";", "if", "(", "mult", "!=", "1", "&&", "mult", "!=", "2", "&&", "mult", "!=", "4", ")", "return", "0", ";", "if", "(", "!", "BASE_P", "(", "reg_rtx", ")", ")", "return", "0", ";", "return", "1", ";", "}", "internal_error", "(", "\"internal error: cris_side_effect_mode_ok with bad operands\"", ")", ";", "}", ""], "natrual_language": ["Check", "various", "objections", "to", "the", "side-effect", ".", "Used", "in", "the", "test-part", "of", "an", "anonymous", "insn", "describing", "an", "insn", "with", "a", "possible", "side-effect", ".", "Returns", "nonzero", "if", "the", "implied", "side-effect", "is", "ok.", "code", ":", "PLUS", "or", "MULT", "ops", ":", "An", "array", "of", "rtx", ":", "es", ".", "lreg", ",", "rreg", ",", "rval", ",", "The", "variables", "multop", "and", "other_op", "are", "indexes", "into", "this", ",", "or", "-1", "if", "they", "are", "not", "applicable", ".", "lreg", ":", "The", "register", "that", "gets", "assigned", "in", "the", "side-effect", ".", "rreg", ":", "One", "register", "in", "the", "side-effect", "expression", "rval", ":", "The", "other", "register", ",", "or", "an", "int", ".", "multop", ":", "An", "integer", "to", "multiply", "rval", "with", ".", "other_op", ":", "One", "of", "the", "entities", "of", "the", "main", "effect", ",", "whose", "mode", "we", "must", "consider", "."], "TS_V_token": ["cris", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "63", "63", "0", "1", "0", "1", "0", "0", "0", "1", "0", "1", "0", "1", "2", "4", "0", "0", "1", "\"internal error: cris_side_effect_mode_ok with bad operands\""], "File": "cris3", "Func": "cris_side_effect_mode_ok", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44117, "Length": 466} {"ground_truth": ["", "bool", "cris_simple_epilogue", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "unsigned", "int", "reglimit", "=", "STACK_POINTER_REGNUM", ";", "bool", "got_really_used", "=", "false", ";", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", "||", "get_frame_size", "(", ")", "!=", "0", "||", "current_function_pretend_args_size", "||", "current_function_args_size", "||", "current_function_outgoing_args_size", "||", "current_function_calls_eh_return", "||", "!", "TARGET_PROLOGUE_EPILOGUE", ")", "return", "false", ";", "if", "(", "current_function_uses_pic_offset_table", ")", "{", "push_topmost_sequence", "(", ")", ";", "got_really_used", "=", "reg_used_between_p", "(", "pic_offset_table_rtx", ",", "get_insns", "(", ")", ",", "NULL_RTX", ")", ";", "pop_topmost_sequence", "(", ")", ";", "}", "for", "(", "regno", "=", "0", ";", "regno", "<", "reglimit", ";", "regno", "++", ")", "if", "(", "cris_reg_saved_in_regsave_area", "(", "regno", ",", "got_really_used", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "!", "=", "0", "if", "the", "return", "sequence", "for", "the", "current", "function", "is", "short", ",", "like", "``", "ret", "''", "or", "``", "jump", "[", "sp+", "]", "''", ".", "Prior", "to", "reloading", ",", "we", "ca", "n't", "tell", "how", "many", "registers", "must", "be", "saved", ",", "so", "return", "0", "then", "."], "TS_V_token": ["cris", "0", "0"], "File": "cris3", "Func": "cris_simple_epilogue", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44118, "Length": 104} {"ground_truth": ["", "void", "cris_target_asm_named_section", "(", "const", "char", "*", "name", ",", "unsigned", "int", "flags", ",", "tree", "decl", ")", "{", "if", "(", "!", "TARGET_ELF", ")", "default_no_named_section", "(", "name", ",", "flags", ",", "decl", ")", ";", "else", "default_elf_asm_named_section", "(", "name", ",", "flags", ",", "decl", ")", ";", "}", ""], "natrual_language": ["The", "TARGET_ASM_NAMED_SECTION", "worker", ".", "We", "just", "dispatch", "to", "the", "functions", "for", "ELF", "and", "a.out", "."], "TS_V_token": ["cris"], "File": "cris3", "Func": "cris_target_asm_named_section", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44119, "Length": 41} {"ground_truth": ["", "bool", "cris_valid_pic_const", "(", "rtx", "x", ")", "{", "gcc_assert", "(", "flag_pic", ")", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "return", "true", ";", "default", ":", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "UNSPEC", "&&", "XINT", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", "==", "CRIS_UNSPEC_GOTREL", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "1", ")", ")", "==", "CONST_INT", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "CRIS_UNSPEC_PLT", ":", "case", "CRIS_UNSPEC_PLTGOTREAD", ":", "case", "CRIS_UNSPEC_GOTREAD", ":", "case", "CRIS_UNSPEC_GOTREL", ":", "return", "true", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "cris_pic_symbol_type_of", "(", "x", ")", "==", "cris_no_symbol", ";", "}", ""], "natrual_language": ["Return", "TRUE", "iff", "X", "is", "a", "CONST", "valid", "for", "e.g", ".", "indexing", "."], "TS_V_token": ["cris", "0", "0", "0", "1", "1", "0", "1"], "File": "cris3", "Func": "cris_valid_pic_const", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44120, "Length": 160} {"ground_truth": ["", "static", "int", "saved_regs_mentioned", "(", "rtx", "x", ")", "{", "int", "i", ";", "const", "char", "*", "fmt", ";", "RTX_CODE", "code", ";", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "REG", ":", "i", "=", "REGNO", "(", "x", ")", ";", "return", "!", "call_used_regs", "[", "i", "]", ";", "case", "SUBREG", ":", "i", "=", "REGNO", "(", "SUBREG_REG", "(", "x", ")", ")", ";", "return", "!", "call_used_regs", "[", "i", "]", ";", "default", ":", ";", "}", "fmt", "=", "GET_RTX_FORMAT", "(", "code", ")", ";", "for", "(", "i", "=", "GET_RTX_LENGTH", "(", "code", ")", "-", "1", ";", "i", ">=", "0", ";", "i", "--", ")", "{", "if", "(", "fmt", "[", "i", "]", "==", "'e'", ")", "{", "if", "(", "saved_regs_mentioned", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "1", ";", "}", "else", "if", "(", "fmt", "[", "i", "]", "==", "'E'", ")", "{", "int", "j", ";", "for", "(", "j", "=", "XVECLEN", "(", "x", ",", "i", ")", "-", "1", ";", "j", ">=", "0", ";", "j", "--", ")", "if", "(", "saved_regs_mentioned", "(", "XEXP", "(", "x", ",", "i", ")", ")", ")", "return", "1", ";", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "there", "are", "regs", "mentioned", "in", "the", "insn", "that", "are", "not", "all", "in", "the", "call_used", "regs", ".", "This", "is", "part", "of", "the", "decision", "whether", "an", "insn", "can", "be", "put", "in", "the", "epilogue", "."], "TS_V_token": ["cris", "1", "0", "1", "1", "0", "1", "0"], "File": "cris3", "Func": "saved_regs_mentioned", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44121, "Length": 179} {"ground_truth": ["", "void", "cris_asm_output_case_end", "(", "FILE", "*", "stream", ",", "int", "num", ",", "rtx", "table", ")", "{", "rtx", "whole_jump_insn", "=", "prev_nonnote_nondebug_insn", "(", "table", ")", ";", "gcc_assert", "(", "whole_jump_insn", "!=", "NULL_RTX", "&&", "LABEL_P", "(", "whole_jump_insn", ")", ")", ";", "whole_jump_insn", "=", "prev_nonnote_nondebug_insn", "(", "whole_jump_insn", ")", ";", "gcc_assert", "(", "whole_jump_insn", "!=", "NULL_RTX", "&&", "(", "JUMP_P", "(", "whole_jump_insn", ")", "||", "(", "TARGET_V32", "&&", "INSN_P", "(", "whole_jump_insn", ")", "&&", "GET_CODE", "(", "PATTERN", "(", "whole_jump_insn", ")", ")", "==", "SEQUENCE", ")", ")", ")", ";", "whole_jump_insn", "=", "PATTERN", "(", "whole_jump_insn", ")", ";", "if", "(", "TARGET_V32", ")", "{", "rtx", "parallel_jump", "=", "(", "GET_CODE", "(", "whole_jump_insn", ")", "==", "SEQUENCE", "?", "PATTERN", "(", "XVECEXP", "(", "whole_jump_insn", ",", "0", ",", "0", ")", ")", ":", "whole_jump_insn", ")", ";", "asm_fprintf", "(", "stream", ",", "\"\\t.word %LL%d-.%s\\n\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "XEXP", "(", "XEXP", "(", "XVECEXP", "(", "parallel_jump", ",", "0", ",", "0", ")", ",", "1", ")", ",", "2", ")", ",", "0", ")", ")", ",", "(", "TARGET_PDEBUG", "?", "\"; default\"", ":", "\"\"", ")", ")", ";", "return", ";", "}", "asm_fprintf", "(", "stream", ",", "\"\\t.word %LL%d-%LL%d%s\\n\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "XEXP", "(", "XEXP", "(", "XVECEXP", "(", "whole_jump_insn", ",", "0", ",", "0", ")", ",", "1", ")", ",", "2", ")", ",", "0", ")", ")", ",", "num", ",", "(", "TARGET_PDEBUG", "?", "\"; default\"", ":", "\"\"", ")", ")", ";", "}", ""], "natrual_language": ["The", "ASM_OUTPUT_CASE_END", "worker", "."], "TS_V_token": ["cris", "0", "0", "\"\\t.word %LL%d-.%s\\n\"", "0", "0", "1", "2", "0", "\"; default\"", "\"\"", "\"\\t.word %LL%d-%LL%d%s\\n\"", "0", "0", "1", "2", "0", "\"; default\"", "\"\""], "File": "cris4", "Func": "cris_asm_output_case_end", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44122, "Length": 202} {"ground_truth": ["", "static", "void", "cris_asm_output_mi_thunk", "(", "FILE", "*", "stream", ",", "tree", "thunkdecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "funcdecl", ")", "{", "final_start_function", "(", "emit_barrier", "(", ")", ",", "stream", ",", "1", ")", ";", "if", "(", "delta", ">", "0", ")", "fprintf", "(", "stream", ",", "\"\\tadd%s \"", "HOST_WIDE_INT_PRINT_DEC", "\",$%s\\n\"", ",", "ADDITIVE_SIZE_MODIFIER", "(", "delta", ")", ",", "delta", ",", "reg_names", "[", "CRIS_FIRST_ARG_REG", "]", ")", ";", "else", "if", "(", "delta", "<", "0", ")", "fprintf", "(", "stream", ",", "\"\\tsub%s \"", "HOST_WIDE_INT_PRINT_DEC", "\",$%s\\n\"", ",", "ADDITIVE_SIZE_MODIFIER", "(", "-", "delta", ")", ",", "-", "delta", ",", "reg_names", "[", "CRIS_FIRST_ARG_REG", "]", ")", ";", "if", "(", "flag_pic", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "funcdecl", ")", ",", "0", ")", ",", "0", ")", ";", "name", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "name", ")", ";", "if", "(", "TARGET_V32", ")", "{", "fprintf", "(", "stream", ",", "\"\\tba \"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"%s\\n\"", ",", "CRIS_PLT_PCOFFSET_SUFFIX", ")", ";", "}", "else", "{", "fprintf", "(", "stream", ",", "\"add.d \"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"%s,$pc\\n\"", ",", "CRIS_PLT_PCOFFSET_SUFFIX", ")", ";", "}", "}", "else", "{", "fprintf", "(", "stream", ",", "\"jump \"", ")", ";", "assemble_name", "(", "stream", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "funcdecl", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "if", "(", "TARGET_V32", ")", "fprintf", "(", "stream", ",", "\"\\tnop\\n\"", ")", ";", "}", "final_end_function", "(", ")", ";", "}", ""], "natrual_language": ["The", "ASM_OUTPUT_MI_THUNK", "worker", "."], "TS_V_token": ["cris", "1", "0", "\"\\tadd%s \"", "\",$%s\\n\"", "0", "\"\\tsub%s \"", "\",$%s\\n\"", "0", "0", "\"\\tba \"", "\"%s\\n\"", "\"add.d \"", "\"%s,$pc\\n\"", "\"jump \"", "0", "0", "\"\\n\"", "\"\\tnop\\n\""], "File": "cris4", "Func": "cris_asm_output_mi_thunk", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44123, "Length": 237} {"ground_truth": ["", "bool", "cris_cc0_user_requires_cmp", "(", "rtx", "insn", ")", "{", "rtx_insn", "*", "cc0_user", "=", "NULL", ";", "rtx", "body", ";", "rtx", "set", ";", "gcc_assert", "(", "insn", "!=", "NULL", ")", ";", "if", "(", "!", "TARGET_V32", ")", "return", "false", ";", "cc0_user", "=", "next_cc0_user", "(", "insn", ")", ";", "if", "(", "cc0_user", "==", "NULL", ")", "return", "false", ";", "body", "=", "PATTERN", "(", "cc0_user", ")", ";", "set", "=", "single_set", "(", "cc0_user", ")", ";", "if", "(", "JUMP_P", "(", "cc0_user", ")", "&&", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "SET_DEST", "(", "body", ")", "==", "pc_rtx", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "IF_THEN_ELSE", "&&", "XEXP", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ",", "0", ")", "==", "cc0_rtx", ")", "{", "return", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "GT", "||", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "LE", ";", "}", "else", "if", "(", "set", ")", "{", "return", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "GT", "||", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "LE", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Whether", "next_cc0_user", "of", "insn", "is", "LE", "or", "GT", "or", "requires", "a", "real", "compare", "insn", "for", "other", "reasons", "."], "TS_V_token": ["cris", "0", "0", "0", "0"], "File": "cris4", "Func": "cris_cc0_user_requires_cmp", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44124, "Length": 178} {"ground_truth": ["", "static", "rtx", "cris_function_arg", "(", "cumulative_args_t", "ca", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "return", "cris_function_arg_1", "(", "ca", ",", "mode", ",", "type", ",", "named", ",", "false", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_ARG", ".", "The", "void_type_node", "is", "sent", "as", "a", "``", "closing", "''", "call", "."], "TS_V_token": ["cris"], "File": "cris4", "Func": "cris_function_arg", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44125, "Length": 32} {"ground_truth": ["", "static", "void", "cris_function_arg_advance", "(", "cumulative_args_t", "ca_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "ca", "->", "regs", "+=", "(", "3", "+", "CRIS_FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", ")", "/", "4", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["cris", "3", "4"], "File": "cris4", "Func": "cris_function_arg_advance", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44126, "Length": 45} {"ground_truth": ["", "static", "rtx", "cris_function_incoming_arg", "(", "cumulative_args_t", "ca", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "return", "cris_function_arg_1", "(", "ca", ",", "mode", ",", "type", ",", "named", ",", "true", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_INCOMING_ARG", ".", "The", "differences", "between", "this", "and", "the", "previous", ",", "is", "that", "this", "one", "checks", "that", "an", "argument", "is", "named", ",", "since", "incoming", "stdarg/varargs", "arguments", "are", "pushed", "onto", "the", "stack", ",", "and", "we", "do", "n't", "have", "to", "check", "against", "the", "``", "closing", "''", "void_type_node", "TYPE", "parameter", "."], "TS_V_token": ["cris"], "File": "cris4", "Func": "cris_function_incoming_arg", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44127, "Length": 32} {"ground_truth": ["", "rtx", "cris_gen_movem_load", "(", "rtx", "src", ",", "rtx", "nregs_rtx", ",", "int", "nprefix", ")", "{", "int", "nregs", "=", "INTVAL", "(", "nregs_rtx", ")", ";", "rtvec", "vec", ";", "int", "eltno", "=", "1", ";", "int", "i", ";", "rtx", "srcreg", "=", "XEXP", "(", "src", ",", "0", ")", ";", "unsigned", "int", "regno", "=", "nregs", "-", "1", ";", "int", "regno_inc", "=", "-", "1", ";", "if", "(", "TARGET_V32", ")", "{", "regno", "=", "0", ";", "regno_inc", "=", "1", ";", "}", "if", "(", "GET_CODE", "(", "srcreg", ")", "==", "POST_INC", ")", "srcreg", "=", "XEXP", "(", "srcreg", ",", "0", ")", ";", "CRIS_ASSERT", "(", "REG_P", "(", "srcreg", ")", ")", ";", "if", "(", "nregs", "==", "1", ")", "return", "gen_movsi", "(", "gen_rtx_REG", "(", "SImode", ",", "0", ")", ",", "src", ")", ";", "vec", "=", "rtvec_alloc", "(", "nprefix", "+", "nregs", "+", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "POST_INC", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "POST_INC", ")", "{", "RTVEC_ELT", "(", "vec", ",", "nprefix", "+", "1", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "srcreg", ",", "plus_constant", "(", "Pmode", ",", "srcreg", ",", "nregs", "*", "4", ")", ")", ";", "eltno", "++", ";", "}", "src", "=", "replace_equiv_address", "(", "src", ",", "srcreg", ")", ";", "RTVEC_ELT", "(", "vec", ",", "nprefix", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "src", ")", ";", "regno", "+=", "regno_inc", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nregs", ";", "i", "++", ",", "eltno", "++", ")", "{", "RTVEC_ELT", "(", "vec", ",", "nprefix", "+", "eltno", ")", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "adjust_address_nv", "(", "src", ",", "SImode", ",", "i", "*", "4", ")", ")", ";", "regno", "+=", "regno_inc", ";", "}", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "generating", "movem", "from", "mem", "for", "load_multiple", "."], "TS_V_token": ["cris", "1", "0", "1", "1", "0", "1", "0", "1", "0", "0", "0", "1", "4", "1", "4"], "File": "cris4", "Func": "cris_gen_movem_load", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44128, "Length": 281} {"ground_truth": ["", "static", "void", "cris_option_override", "(", "void", ")", "{", "if", "(", "cris_max_stackframe_str", ")", "{", "cris_max_stackframe", "=", "atoi", "(", "cris_max_stackframe_str", ")", ";", "if", "(", "cris_max_stackframe", "<", "0", "||", "cris_max_stackframe", ">", "0x20000000", ")", "internal_error", "(", "\"-max-stackframe=%d is not usable, not between 0 and %d\"", ",", "cris_max_stackframe", ",", "0x20000000", ")", ";", "}", "if", "(", "TARGET_SVINTO", "&&", "cris_cpu_version", "<", "CRIS_CPU_SVINTO", ")", "cris_cpu_version", "=", "CRIS_CPU_SVINTO", ";", "else", "if", "(", "TARGET_ETRAX4_ADD", "&&", "cris_cpu_version", "<", "CRIS_CPU_ETRAX4", ")", "cris_cpu_version", "=", "CRIS_CPU_ETRAX4", ";", "if", "(", "cris_cpu_str", ")", "{", "cris_cpu_version", "=", "(", "*", "cris_cpu_str", "==", "'v'", "?", "atoi", "(", "cris_cpu_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "10", ";", "if", "(", "cris_cpu_version", "<", "0", "||", "cris_cpu_version", ">", "32", ")", "error", "(", "\"unknown CRIS version specification in -march= or -mcpu= : %s\"", ",", "cris_cpu_str", ")", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_ETRAX4", ")", "target_flags", "|=", "MASK_ETRAX4_ADD", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "MASK_SVINTO", "|", "MASK_ALIGN_BY_32", "|", "MASK_STACK_ALIGN", "|", "MASK_CONST_ALIGN", "|", "MASK_DATA_ALIGN", ")", ";", "}", "if", "(", "cris_tune_str", ")", "{", "int", "cris_tune", "=", "(", "*", "cris_tune_str", "==", "'v'", "?", "atoi", "(", "cris_tune_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "10", ";", "if", "(", "cris_tune", "<", "0", "||", "cris_tune", ">", "32", ")", "error", "(", "\"unknown CRIS cpu version specification in -mtune= : %s\"", ",", "cris_tune_str", ")", ";", "if", "(", "cris_tune", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "MASK_STACK_ALIGN", "|", "MASK_CONST_ALIGN", "|", "MASK_DATA_ALIGN", "|", "MASK_ALIGN_BY_32", ")", ";", "}", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_V32", ")", "target_flags", "&=", "~", "(", "MASK_SIDE_EFFECT_PREFIXES", "|", "MASK_MUL_BUG", ")", ";", "if", "(", "flag_pic", ")", "{", "if", "(", "!", "TARGET_LINUX", ")", "{", "error", "(", "\"-fPIC and -fpic are not supported in this configuration\"", ")", ";", "flag_pic", "=", "0", ";", "}", "flag_no_function_cse", "=", "1", ";", "}", "init_machine_status", "=", "cris_init_machine_status", ";", "}", ""], "natrual_language": ["The", "TARGET_OPTION_OVERRIDE", "worker", ".", "As", "is", "the", "norm", ",", "this", "also", "parses", "-mfoo=bar", "type", "parameters", "."], "TS_V_token": ["cris", "0", "0x20000000", "\"-max-stackframe=%d is not usable, not between 0 and %d\"", "0x20000000", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "32", "\"unknown CRIS version specification in -march= or -mcpu= : %s\"", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "32", "\"unknown CRIS cpu version specification in -mtune= : %s\"", "\"-fPIC and -fpic are not supported in this configuration\"", "0", "1"], "File": "cris4", "Func": "cris_option_override", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44129, "Length": 369} {"ground_truth": ["", "static", "bool", "cris_pass_by_reference", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "mode", ",", "type", ")", "||", "CRIS_FUNCTION_ARG_SIZE", "(", "mode", ",", "type", ")", ">", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "must", "be", "passed", "by", "invisible", "reference", ".", "For", "cris", ",", "we", "pass", "<", "=", "8", "bytes", "by", "value", ",", "others", "by", "reference", "."], "TS_V_token": ["cris", "8"], "File": "cris4", "Func": "cris_pass_by_reference", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44130, "Length": 43} {"ground_truth": ["", "static", "reg_class_t", "cris_preferred_reload_class", "(", "rtx", "x", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "rclass", "!=", "ACR_REGS", "&&", "rclass", "!=", "MOF_REGS", "&&", "rclass", "!=", "MOF_SRP_REGS", "&&", "rclass", "!=", "SRP_REGS", "&&", "rclass", "!=", "CC0_REGS", "&&", "rclass", "!=", "SPECIAL_REGS", ")", "return", "GENERAL_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PREFERRED_RELOAD_CLASS", ".", "It", "seems", "like", "gcc", "(", "2.7.2", "and", "2.9x", "of", "2000-03-22", ")", "may", "send", "``", "NO_REGS", "''", "as", "the", "class", "for", "a", "constant", "(", "testcase", ":", "__Mul", "in", "arit.c", ")", ".", "To", "avoid", "forcing", "out", "a", "constant", "into", "the", "constant", "pool", ",", "we", "will", "trap", "this", "case", "and", "return", "something", "a", "bit", "more", "sane", ".", "FIXME", ":", "Check", "if", "this", "is", "a", "bug", ".", "Beware", "that", "we", "must", "not", "``", "override", "''", "classes", "that", "can", "be", "specified", "as", "constraint", "letters", ",", "or", "else", "asm", "operands", "using", "them", "will", "fail", "when", "they", "need", "to", "be", "reloaded", ".", "FIXME", ":", "Investigate", "whether", "that", "constitutes", "a", "bug", "."], "TS_V_token": ["cris"], "File": "cris4", "Func": "cris_preferred_reload_class", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44131, "Length": 45} {"ground_truth": ["", "static", "void", "cris_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "putc", "(", "'['", ",", "file", ")", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "x", ")", ")", "cris_output_addr_const", "(", "file", ",", "x", ")", ";", "else", "if", "(", "cris_base_or_autoincr_p", "(", "x", ",", "true", ")", ")", "cris_print_base", "(", "x", ",", "file", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "x1", ",", "x2", ";", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "cris_base_p", "(", "x1", ",", "true", ")", ")", "{", "cris_print_base", "(", "x1", ",", "file", ")", ";", "cris_print_index", "(", "x2", ",", "file", ")", ";", "}", "else", "if", "(", "cris_base_p", "(", "x2", ",", "true", ")", ")", "{", "cris_print_base", "(", "x2", ",", "file", ")", ";", "cris_print_index", "(", "x1", ",", "file", ")", ";", "}", "else", "LOSE_AND_RETURN", "(", "\"unrecognized address\"", ",", "x", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "putc", "(", "'['", ",", "file", ")", ";", "cris_print_base", "(", "XEXP", "(", "x", ",", "0", ")", ",", "file", ")", ";", "putc", "(", "']'", ",", "file", ")", ";", "}", "else", "LOSE_AND_RETURN", "(", "\"unrecognized address\"", ",", "x", ")", ";", "putc", "(", "']'", ",", "file", ")", ";", "}", ""], "natrual_language": ["The", "PRINT_OPERAND_ADDRESS", "worker", "."], "TS_V_token": ["cris", "0", "1", "\"unrecognized address\"", "0", "\"unrecognized address\""], "File": "cris4", "Func": "cris_print_operand_address", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44132, "Length": 196} {"ground_truth": ["", "static", "int", "cris_reg_saved_in_regsave_area", "(", "unsigned", "int", "regno", ",", "bool", "got_really_used", ")", "{", "return", "(", "(", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_regs", "[", "regno", "]", ")", "||", "(", "regno", "==", "PIC_OFFSET_TABLE_REGNUM", "&&", "(", "got_really_used", "||", "(", "flag_pic", "&&", "df_regs_ever_live_p", "(", "regno", "+", "1", ")", "&&", "!", "call_used_regs", "[", "regno", "+", "1", "]", ")", ")", ")", ")", "&&", "(", "regno", "!=", "FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "regno", "!=", "CRIS_SRP_REGNUM", ")", "||", "(", "crtl", "->", "calls_eh_return", "&&", "(", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "0", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "1", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "2", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "3", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "REGNO", "is", "an", "ordinary", "register", "that", "*", "needs", "*", "to", "be", "saved", "together", "with", "other", "registers", ",", "possibly", "by", "a", "MOVEM", "instruction", ",", "or", "is", "saved", "for", "target-independent", "reasons", ".", "There", "may", "be", "target-dependent", "reasons", "to", "save", "the", "register", "anyway", ";", "this", "is", "just", "a", "wrapper", "for", "a", "complicated", "conditional", "."], "TS_V_token": ["cris", "1", "1", "0", "1", "2", "3"], "File": "cris4", "Func": "cris_reg_saved_in_regsave_area", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44133, "Length": 109} {"ground_truth": ["", "static", "bool", "cris_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "val", "==", "0", ")", "*", "total", "=", "0", ";", "else", "if", "(", "val", "<", "32", "&&", "val", ">=", "-", "32", ")", "*", "total", "=", "1", ";", "else", "if", "(", "val", "<=", "32767", "&&", "val", ">=", "-", "32768", ")", "*", "total", "=", "2", ";", "else", "*", "total", "=", "4", ";", "return", "true", ";", "}", "case", "LABEL_REF", ":", "*", "total", "=", "6", ";", "return", "true", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "6", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "if", "(", "x", "!=", "CONST0_RTX", "(", "GET_MODE", "(", "x", ")", "==", "VOIDmode", "?", "DImode", ":", "GET_MODE", "(", "x", ")", ")", ")", "*", "total", "=", "12", ";", "else", "*", "total", "=", "0", ";", "return", "true", ";", "case", "MULT", ":", "if", "(", "outer_code", "==", "PLUS", "&&", "cris_biap_index_p", "(", "x", ",", "false", ")", ")", "{", "*", "total", "=", "0", ";", "return", "true", ";", "}", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "if", "(", "TARGET_HAS_MUL_INSNS", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "+", "COSTS_N_INSNS", "(", "1", ")", "/", "2", ";", "return", "true", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "132", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "case", "DIV", ":", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "260", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "AND", ":", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "!", "satisfies_constraint_I", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "*", "total", "=", "(", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "opno", ",", "speed", ")", "+", "2", "+", "2", "*", "GET_MODE_NUNITS", "(", "GET_MODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "ZERO_EXTRACT", ":", "if", "(", "outer_code", "!=", "COMPARE", ")", "return", "false", ";", "case", "ZERO_EXTEND", ":", "case", "SIGN_EXTEND", ":", "*", "total", "=", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "opno", ",", "speed", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["cris", "0", "0", "32", "32", "1", "32767", "32768", "2", "4", "6", "6", "12", "0", "0", "1", "1", "0", "1", "1", "2", "132", "1", "1", "0", "260", "1", "0", "1", "0", "2", "2", "0", "0"], "File": "cris4", "Func": "cris_rtx_costs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44134, "Length": 447} {"ground_truth": ["", "static", "void", "cris_setup_incoming_varargs", "(", "cumulative_args_t", "ca_v", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "tree", "type", "ATTRIBUTE_UNUSED", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "if", "(", "ca", "->", "regs", "<", "CRIS_MAX_ARGS_IN_REGS", ")", "{", "int", "stdarg_regs", "=", "CRIS_MAX_ARGS_IN_REGS", "-", "ca", "->", "regs", ";", "cfun", "->", "machine", "->", "stdarg_regs", "=", "stdarg_regs", ";", "*", "pretend_arg_size", "=", "stdarg_regs", "*", "4", ";", "}", "if", "(", "TARGET_PDEBUG", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\"", ",", "ca", "->", "regs", ",", "*", "pretend_arg_size", ",", "second_time", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["cris", "4", "\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\""], "File": "cris4", "Func": "cris_setup_incoming_varargs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44135, "Length": 87} {"ground_truth": ["", "static", "void", "cris_asm_output_mi_thunk", "(", "FILE", "*", "stream", ",", "tree", "thunkdecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "funcdecl", ")", "{", "final_start_function", "(", "emit_barrier", "(", ")", ",", "stream", ",", "1", ")", ";", "if", "(", "delta", ">", "0", ")", "fprintf", "(", "stream", ",", "\"\\tadd%s \"", "HOST_WIDE_INT_PRINT_DEC", "\",$%s\\n\"", ",", "ADDITIVE_SIZE_MODIFIER", "(", "delta", ")", ",", "delta", ",", "reg_names", "[", "CRIS_FIRST_ARG_REG", "]", ")", ";", "else", "if", "(", "delta", "<", "0", ")", "fprintf", "(", "stream", ",", "\"\\tsub%s \"", "HOST_WIDE_INT_PRINT_DEC", "\",$%s\\n\"", ",", "ADDITIVE_SIZE_MODIFIER", "(", "-", "delta", ")", ",", "-", "delta", ",", "reg_names", "[", "CRIS_FIRST_ARG_REG", "]", ")", ";", "if", "(", "flag_pic", ")", "{", "const", "char", "*", "name", "=", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "funcdecl", ")", ",", "0", ")", ",", "0", ")", ";", "name", "=", "(", "*", "targetm", ".", "strip_name_encoding", ")", "(", "name", ")", ";", "if", "(", "TARGET_V32", ")", "{", "fprintf", "(", "stream", ",", "\"\\tba \"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"%s\\n\\tnop\\n\"", ",", "CRIS_PLT_PCOFFSET_SUFFIX", ")", ";", "}", "else", "{", "fprintf", "(", "stream", ",", "\"\\tadd.d \"", ")", ";", "assemble_name", "(", "stream", ",", "name", ")", ";", "fprintf", "(", "stream", ",", "\"%s,$pc\\n\"", ",", "CRIS_PLT_PCOFFSET_SUFFIX", ")", ";", "}", "}", "else", "{", "fprintf", "(", "stream", ",", "\"\\tjump \"", ")", ";", "assemble_name", "(", "stream", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "funcdecl", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "if", "(", "TARGET_V32", ")", "fprintf", "(", "stream", ",", "\"\\tnop\\n\"", ")", ";", "}", "final_end_function", "(", ")", ";", "}", ""], "natrual_language": ["The", "ASM_OUTPUT_MI_THUNK", "worker", "."], "TS_V_token": ["cris", "1", "0", "\"\\tadd%s \"", "\",$%s\\n\"", "0", "\"\\tsub%s \"", "\",$%s\\n\"", "0", "0", "\"\\tba \"", "\"%s\\n\\tnop\\n\"", "\"\\tadd.d \"", "\"%s,$pc\\n\"", "\"\\tjump \"", "0", "0", "\"\\n\"", "\"\\tnop\\n\""], "File": "cris6", "Func": "cris_asm_output_mi_thunk", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44136, "Length": 237} {"ground_truth": ["", "static", "HOST_WIDE_INT", "cris_constant_alignment", "(", "const_tree", ",", "HOST_WIDE_INT", "basic_align", ")", "{", "return", "MAX", "(", "cris_preferred_mininum_alignment", "(", ")", ",", "basic_align", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", ".", "Note", "that", "this", "hook", "has", "the", "effect", "of", "making", "gcc", "believe", "that", "ALL", "references", "to", "constant", "stuff", "(", "in", "code", "segment", ",", "like", "strings", ")", "have", "this", "alignment", ".", "That", "is", "a", "rather", "rushed", "assumption", ".", "Luckily", "we", "do", "not", "care", "about", "the", "``", "alignment", "''", "operand", "to", "builtin", "memcpy", "(", "only", "place", "where", "it", "counts", ")", ",", "so", "it", "does", "n't", "affect", "any", "bad", "spots", "."], "TS_V_token": ["cris"], "File": "cris7", "Func": "cris_constant_alignment", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44137, "Length": 21} {"ground_truth": ["", "static", "HOST_WIDE_INT", "cris_preferred_mininum_alignment", "(", "void", ")", "{", "if", "(", "!", "TARGET_CONST_ALIGN", ")", "return", "8", ";", "if", "(", "TARGET_ALIGN_BY_32", ")", "return", "32", ";", "return", "16", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "minimum", "alignment", "for", "a", "static", "object", "."], "TS_V_token": ["cris", "8", "32", "16"], "File": "cris7", "Func": "cris_preferred_mininum_alignment", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44138, "Length": 26} {"ground_truth": ["", "static", "HOST_WIDE_INT", "cris_static_rtx_alignment", "(", "machine_mode", "mode", ")", "{", "return", "MAX", "(", "cris_preferred_mininum_alignment", "(", ")", ",", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STATIC_RTX_ALIGNMENT", "."], "TS_V_token": ["cris"], "File": "cris7", "Func": "cris_static_rtx_alignment", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44139, "Length": 22} {"ground_truth": ["", "static", "int", "cris_address_cost", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "cris_base_or_autoincr_p", "(", "x", ",", "false", ")", ")", "return", "0", ";", "if", "(", "MEM_P", "(", "x", ")", ")", "return", "(", "2", "+", "4", ")", "/", "2", ";", "if", "(", "CONSTANT_P", "(", "x", ")", ")", "return", "(", "2", "+", "4", ")", "/", "2", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "tem1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "rtx", "tem2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "tem1", ")", "&&", "GET_CODE", "(", "tem1", ")", "!=", "MULT", ")", "tem1", "=", "tem2", ",", "tem2", "=", "XEXP", "(", "x", ",", "0", ")", ";", "gcc_assert", "(", "REG_P", "(", "tem1", ")", "||", "GET_CODE", "(", "tem1", ")", "==", "MULT", ")", ";", "if", "(", "(", "GET_CODE", "(", "tem1", ")", "==", "MULT", "&&", "cris_biap_index_p", "(", "tem1", ",", "false", ")", ")", "||", "REG_P", "(", "tem2", ")", ")", "return", "2", "/", "2", ";", "if", "(", "CONST_INT_P", "(", "tem2", ")", "&&", "INTVAL", "(", "tem2", ")", "<", "128", "&&", "INTVAL", "(", "tem2", ")", ">=", "-", "128", ")", "return", "2", "/", "2", ";", "if", "(", "satisfies_constraint_L", "(", "tem2", ")", ")", "return", "(", "2", "+", "2", ")", "/", "2", ";", "if", "(", "CONSTANT_P", "(", "tem2", ")", ")", "return", "(", "2", "+", "2", "+", "2", ")", "/", "2", ";", "return", "(", "2", "+", "2", "+", "2", ")", "/", "2", ";", "}", "return", "10", ";", "}", ""], "natrual_language": ["The", "ADDRESS_COST", "worker", "."], "TS_V_token": ["cris", "0", "2", "4", "2", "2", "4", "2", "0", "1", "0", "2", "2", "128", "128", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "10"], "File": "cris", "Func": "cris_address_cost", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44140, "Length": 242} {"ground_truth": ["", "void", "cris_asm_output_case_end", "(", "FILE", "*", "stream", ",", "int", "num", ",", "rtx_insn", "*", "table", ")", "{", "rtx_insn", "*", "whole_jump_insn", "=", "prev_nonnote_nondebug_insn", "(", "table", ")", ";", "gcc_assert", "(", "whole_jump_insn", "!=", "NULL_RTX", "&&", "LABEL_P", "(", "whole_jump_insn", ")", ")", ";", "whole_jump_insn", "=", "prev_nonnote_nondebug_insn", "(", "whole_jump_insn", ")", ";", "gcc_assert", "(", "whole_jump_insn", "!=", "NULL_RTX", "&&", "JUMP_P", "(", "whole_jump_insn", ")", ")", ";", "rtx", "whole_jump_pat", "=", "PATTERN", "(", "whole_jump_insn", ")", ";", "asm_fprintf", "(", "stream", ",", "\"\\t.word %LL%d-%LL%d%s\\n\"", ",", "CODE_LABEL_NUMBER", "(", "XEXP", "(", "XEXP", "(", "XEXP", "(", "XVECEXP", "(", "whole_jump_pat", ",", "0", ",", "0", ")", ",", "1", ")", ",", "2", ")", ",", "0", ")", ")", ",", "num", ",", "(", "TARGET_PDEBUG", "?", "\"; default\"", ":", "\"\"", ")", ")", ";", "}", ""], "natrual_language": ["The", "ASM_OUTPUT_CASE_END", "worker", "."], "TS_V_token": ["cris", "\"\\t.word %LL%d-%LL%d%s\\n\"", "0", "0", "1", "2", "0", "\"; default\"", "\"\""], "File": "cris", "Func": "cris_asm_output_case_end", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44141, "Length": 108} {"ground_truth": ["", "void", "cris_asm_output_ident", "(", "const", "char", "*", "string", ")", "{", "if", "(", "symtab", "->", "state", "!=", "PARSING", ")", "return", ";", "default_asm_output_ident_directive", "(", "string", ")", ";", "}", ""], "natrual_language": ["Queue", "an", ".ident", "string", "in", "the", "queue", "of", "top-level", "asm", "statements", ".", "If", "the", "front-end", "is", "done", ",", "we", "must", "be", "being", "called", "from", "toplev.cc", ".", "In", "that", "case", ",", "do", "nothing", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_asm_output_ident", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44142, "Length": 25} {"ground_truth": ["", "void", "cris_asm_output_label_ref", "(", "FILE", "*", "file", ",", "char", "*", "buf", ")", "{", "assemble_name", "(", "file", ",", "buf", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "ASM_OUTPUT_LABEL_REF", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_asm_output_label_ref", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44143, "Length": 20} {"ground_truth": ["", "static", "void", "cris_asm_output_mi_thunk", "(", "FILE", "*", "stream", ",", "tree", "thunkdecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "funcdecl", ")", "{", "const", "char", "*", "fnname", "=", "IDENTIFIER_POINTER", "(", "DECL_ASSEMBLER_NAME", "(", "thunkdecl", ")", ")", ";", "assemble_start_function", "(", "thunkdecl", ",", "fnname", ")", ";", "final_start_function", "(", "emit_barrier", "(", ")", ",", "stream", ",", "1", ")", ";", "if", "(", "delta", ">", "0", ")", "fprintf", "(", "stream", ",", "\"\\tadd%s \"", "HOST_WIDE_INT_PRINT_DEC", "\",$%s\\n\"", ",", "ADDITIVE_SIZE_MODIFIER", "(", "delta", ")", ",", "delta", ",", "reg_names", "[", "CRIS_FIRST_ARG_REG", "]", ")", ";", "else", "if", "(", "delta", "<", "0", ")", "fprintf", "(", "stream", ",", "\"\\tsub%s \"", "HOST_WIDE_INT_PRINT_DEC", "\",$%s\\n\"", ",", "ADDITIVE_SIZE_MODIFIER", "(", "-", "delta", ")", ",", "-", "delta", ",", "reg_names", "[", "CRIS_FIRST_ARG_REG", "]", ")", ";", "fprintf", "(", "stream", ",", "\"\\tjump \"", ")", ";", "assemble_name", "(", "stream", ",", "XSTR", "(", "XEXP", "(", "DECL_RTL", "(", "funcdecl", ")", ",", "0", ")", ",", "0", ")", ")", ";", "fprintf", "(", "stream", ",", "\"\\n\"", ")", ";", "final_end_function", "(", ")", ";", "assemble_end_function", "(", "thunkdecl", ",", "fnname", ")", ";", "}", ""], "natrual_language": ["The", "ASM_OUTPUT_MI_THUNK", "worker", "."], "TS_V_token": ["cris", "1", "0", "\"\\tadd%s \"", "\",$%s\\n\"", "0", "\"\\tsub%s \"", "\",$%s\\n\"", "\"\\tjump \"", "0", "0", "\"\\n\""], "File": "cris", "Func": "cris_asm_output_mi_thunk", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44144, "Length": 157} {"ground_truth": ["", "void", "cris_asm_output_symbol_ref", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", ";", "assemble_name", "(", "file", ",", "XSTR", "(", "x", ",", "0", ")", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "ASM_OUTPUT_SYMBOL_REF", "."], "TS_V_token": ["cris", "0"], "File": "cris", "Func": "cris_asm_output_symbol_ref", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44145, "Length": 34} {"ground_truth": ["", "static", "unsigned", "int", "cris_atomic_align_for_mode", "(", "machine_mode", "mode", ")", "{", "return", "GET_MODE_BITSIZE", "(", "mode", ")", ";", "}", ""], "natrual_language": ["Atomic", "types", "require", "alignment", "to", "be", "at", "least", "their", "``", "natural", "''", "size", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_atomic_align_for_mode", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44146, "Length": 16} {"ground_truth": ["", "bool", "cris_base_or_autoincr_p", "(", "const_rtx", "x", ",", "bool", "strict", ")", "{", "return", "(", "cris_base_p", "(", "x", ",", "strict", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "POST_INC", "&&", "cris_base_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "X", "is", "a", "valid", "base", "register", "with", "or", "without", "autoincrement", "."], "TS_V_token": ["cris", "0"], "File": "cris", "Func": "cris_base_or_autoincr_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44147, "Length": 42} {"ground_truth": ["", "bool", "cris_base_p", "(", "const_rtx", "x", ",", "bool", "strict", ")", "{", "return", "(", "REG_P", "(", "x", ")", "&&", "reg_ok_for_base_p", "(", "x", ",", "strict", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "X", "is", "a", "valid", "base", "register", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_base_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44148, "Length": 26} {"ground_truth": ["", "bool", "cris_bdap_index_p", "(", "const_rtx", "x", ",", "bool", "strict", ")", "{", "return", "(", "(", "MEM_P", "(", "x", ")", "&&", "GET_MODE", "(", "x", ")", "==", "SImode", "&&", "cris_base_or_autoincr_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "SIGN_EXTEND", "&&", "MEM_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "(", "GET_MODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "HImode", "||", "GET_MODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "QImode", ")", "&&", "cris_base_or_autoincr_p", "(", "XEXP", "(", "XEXP", "(", "x", ",", "0", ")", ",", "0", ")", ",", "strict", ")", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "X", "is", "a", "valid", "(", "register", ")", "index", "for", "BDAP", ",", "i.e", ".", "[", "Rs", "]", ".S", "or", "[", "Rs+", "]", ".S", "."], "TS_V_token": ["cris", "0", "0", "0", "0", "0", "0"], "File": "cris", "Func": "cris_bdap_index_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44149, "Length": 102} {"ground_truth": ["", "bool", "cris_biap_index_p", "(", "const_rtx", "x", ",", "bool", "strict", ")", "{", "return", "(", "cris_index_p", "(", "x", ",", "strict", ")", "||", "(", "GET_CODE", "(", "x", ")", "==", "MULT", "&&", "cris_index_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", "&&", "cris_scale_int_operand", "(", "XEXP", "(", "x", ",", "1", ")", ",", "VOIDmode", ")", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "X", "is", "a", "valid", "(", "register", ")", "index", "for", "BIAP", ",", "i.e", ".", "Rd.m", "."], "TS_V_token": ["cris", "0", "1"], "File": "cris", "Func": "cris_biap_index_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44150, "Length": 54} {"ground_truth": ["", "static", "bool", "cris_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "enum", "cris_symbol_type", "t", "=", "cris_symbol_type_of", "(", "x", ")", ";", "return", "t", "==", "cris_unspec", "||", "t", "==", "cris_got_symbol", "||", "t", "==", "cris_rel_symbol", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_CANNOT_FORCE_CONST_MEM", ".", "We", "ca", "n't", "put", "PIC", "addresses", "in", "the", "constant", "pool", ",", "not", "even", "the", "ones", "that", "can", "be", "reached", "as", "pc-relative", "as", "we", "ca", "n't", "tell", "when", "or", "how", "to", "do", "that", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_cannot_force_const_mem", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44151, "Length": 35} {"ground_truth": ["", "bool", "cris_cc0_user_requires_cmp", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "cc0_user", "=", "NULL", ";", "rtx", "body", ";", "rtx", "set", ";", "gcc_assert", "(", "insn", "!=", "NULL", ")", ";", "if", "(", "!", "TARGET_V32", ")", "return", "false", ";", "cc0_user", "=", "next_cc0_user", "(", "insn", ")", ";", "if", "(", "cc0_user", "==", "NULL", ")", "return", "false", ";", "body", "=", "PATTERN", "(", "cc0_user", ")", ";", "set", "=", "single_set", "(", "cc0_user", ")", ";", "if", "(", "JUMP_P", "(", "cc0_user", ")", "&&", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "SET_DEST", "(", "body", ")", "==", "pc_rtx", "&&", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "IF_THEN_ELSE", "&&", "XEXP", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ",", "0", ")", "==", "cc0_rtx", ")", "{", "return", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "GT", "||", "GET_CODE", "(", "XEXP", "(", "SET_SRC", "(", "body", ")", ",", "0", ")", ")", "==", "LE", ";", "}", "else", "if", "(", "set", ")", "{", "return", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "GT", "||", "GET_CODE", "(", "SET_SRC", "(", "body", ")", ")", "==", "LE", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Whether", "next_cc0_user", "of", "insn", "is", "LE", "or", "GT", "or", "requires", "a", "real", "compare", "insn", "for", "other", "reasons", "."], "TS_V_token": ["cris", "0", "0", "0", "0"], "File": "cris", "Func": "cris_cc0_user_requires_cmp", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44152, "Length": 179} {"ground_truth": ["", "static", "machine_mode", "cris_cc_modes_compatible", "(", "machine_mode", "m1", ",", "machine_mode", "m2", ")", "{", "if", "(", "m1", "==", "CC_NZVCmode", ")", "{", "if", "(", "m2", "==", "CC_NZVCmode", "||", "m2", "==", "CCmode", ")", "return", "CC_NZVCmode", ";", "return", "VOIDmode", ";", "}", "if", "(", "m2", "==", "CC_NZVCmode", ")", "{", "if", "(", "m1", "==", "CC_NZVCmode", "||", "m1", "==", "CCmode", ")", "return", "CC_NZVCmode", ";", "return", "VOIDmode", ";", "}", "if", "(", "m1", "!=", "m2", ")", "return", "CC_NZmode", ";", "return", "m1", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_CC_MODES_COMPATIBLE", ".", "We", "start", "with", "CCmode", "for", "most", "comparisons", ",", "which", "merges", "and", "yields", "to", "CC_NZmode", "or", "CC_NZVCmode", ".", "The", "exceptions", "have", "CC_NZVCmode", "and", "ca", "n't", "do", "with", "another", "mode", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_cc_modes_compatible", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44153, "Length": 72} {"ground_truth": ["", "int", "cris_cfun_uses_pic_table", "(", "void", ")", "{", "return", "crtl", "->", "uses_pic_offset_table", ";", "}", ""], "natrual_language": ["Return", "current_function_uses_pic_offset_table", ".", "For", "use", "in", "cris.md", ",", "since", "some", "generated", "files", "do", "not", "include", "function.h", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_cfun_uses_pic_table", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44154, "Length": 12} {"ground_truth": ["", "static", "void", "cris_conditional_register_usage", "(", "void", ")", "{", "if", "(", "TARGET_HAS_MUL_INSNS", ")", "fixed_regs", "[", "CRIS_MOF_REGNUM", "]", "=", "0", ";", "if", "(", "cris_cpu_version", "<", "8", ")", "reg_names", "[", "CRIS_CC0_REGNUM", "]", "=", "\"ccr\"", ";", "}", ""], "natrual_language": ["The", "CONDITIONAL_REGISTER_USAGE", "worker", "."], "TS_V_token": ["cris", "0", "8", "\"ccr\""], "File": "cris", "Func": "cris_conditional_register_usage", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44155, "Length": 32} {"ground_truth": ["", "static", "HOST_WIDE_INT", "cris_constant_alignment", "(", "const_tree", ",", "HOST_WIDE_INT", "basic_align", ")", "{", "return", "MAX", "(", "cris_preferred_minimum_alignment", "(", ")", ",", "basic_align", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_CONSTANT_ALIGNMENT", ".", "Note", "that", "this", "hook", "has", "the", "effect", "of", "making", "gcc", "believe", "that", "ALL", "references", "to", "constant", "stuff", "(", "in", "code", "segment", ",", "like", "strings", ")", "have", "this", "alignment", ".", "That", "is", "a", "rather", "rushed", "assumption", ".", "Luckily", "we", "do", "not", "care", "about", "the", "``", "alignment", "''", "operand", "to", "builtin", "memcpy", "(", "only", "place", "where", "it", "counts", ")", ",", "so", "it", "does", "n't", "affect", "any", "bad", "spots", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_constant_alignment", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44156, "Length": 21} {"ground_truth": ["", "bool", "cris_constant_index_p", "(", "const_rtx", "x", ")", "{", "return", "(", "CRIS_CONSTANT_P", "(", "x", ")", "&&", "(", "!", "flag_pic", "||", "cris_valid_pic_const", "(", "x", ",", "true", ")", ")", ")", ";", "}", ""], "natrual_language": ["No", "symbol", "can", "be", "used", "as", "an", "index", "(", "or", "more", "correct", ",", "as", "a", "base", ")", "together", "with", "a", "register", "with", "PIC", ";", "the", "PIC", "register", "must", "be", "there", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_constant_index_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44157, "Length": 28} {"ground_truth": ["", "rtx_insn", "*", "cris_emit_insn", "(", "rtx", "x", ")", "{", "rtvec", "vec", "=", "rtvec_alloc", "(", "2", ")", ";", "RTVEC_ELT", "(", "vec", ",", "0", ")", "=", "x", ";", "RTVEC_ELT", "(", "vec", ",", "1", ")", "=", "gen_rtx_CLOBBER", "(", "VOIDmode", ",", "gen_rtx_REG", "(", "CCmode", ",", "CRIS_CC0_REGNUM", ")", ")", ";", "return", "emit_insn", "(", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ")", ";", "}", ""], "natrual_language": ["Convenience", "function", "for", "CRIS-local", "use", "of", "emit_insn", ",", "wrapping", "the", "argument", "in", "a", "parallel", "with", "a", "clobber", "of", "CRIS_CC0_REGNUM", "before", "passing", "on", "to", "emit_insn", "."], "TS_V_token": ["cris", "2", "0", "1"], "File": "cris", "Func": "cris_emit_insn", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44158, "Length": 56} {"ground_truth": ["", "void", "cris_emit_trap_for_misalignment", "(", "rtx", "mem", ")", "{", "rtx", "addr", ",", "reg", ",", "ok_label", ",", "andop", ";", "rtx_insn", "*", "jmp", ";", "int", "natural_alignment", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "natural_alignment", "=", "GET_MODE_SIZE", "(", "GET_MODE", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "0", ")", ";", "reg", "=", "force_reg", "(", "Pmode", ",", "addr", ")", ";", "ok_label", "=", "gen_label_rtx", "(", ")", ";", "andop", "=", "gen_rtx_AND", "(", "Pmode", ",", "reg", ",", "GEN_INT", "(", "natural_alignment", "-", "1", ")", ")", ";", "emit_cmp_and_jump_insns", "(", "force_reg", "(", "SImode", ",", "andop", ")", ",", "const0_rtx", ",", "EQ", ",", "NULL_RTX", ",", "Pmode", ",", "1", ",", "ok_label", ")", ";", "jmp", "=", "get_last_insn", "(", ")", ";", "gcc_assert", "(", "JUMP_P", "(", "jmp", ")", ")", ";", "predict_insn_def", "(", "jmp", ",", "PRED_NORETURN", ",", "TAKEN", ")", ";", "expand_builtin_trap", "(", ")", ";", "emit_label", "(", "ok_label", ")", ";", "}", ""], "natrual_language": ["Emit", "checking", "that", "MEM", "is", "aligned", "for", "an", "access", "in", "MODE", ",", "failing", "that", ",", "executing", "a", "``", "break", "8", "''", "(", "or", "call", "to", "abort", ",", "if", "``", "break", "8", "''", "is", "disabled", ")", "."], "TS_V_token": ["cris", "0", "1", "1"], "File": "cris", "Func": "cris_emit_trap_for_misalignment", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44159, "Length": 136} {"ground_truth": ["", "void", "cris_expand_pic_call_address", "(", "rtx", "*", "opp", ",", "rtx", "*", "markerp", ")", "{", "rtx", "op", "=", "*", "opp", ";", "gcc_assert", "(", "flag_pic", "&&", "MEM_P", "(", "op", ")", ")", ";", "op", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", "(", "CONSTANT_P", "(", "op", ")", "&&", "!", "CONST_INT_P", "(", "op", ")", ")", "{", "enum", "cris_symbol_type", "t", "=", "cris_symbol_type_of", "(", "op", ")", ";", "CRIS_ASSERT", "(", "can_create_pseudo_p", "(", ")", ")", ";", "if", "(", "t", "==", "cris_rel_symbol", ")", "{", "if", "(", "TARGET_V32", ")", "{", "rtx", "sym", "=", "GET_CODE", "(", "op", ")", "!=", "CONST", "?", "op", ":", "get_related_value", "(", "op", ")", ";", "HOST_WIDE_INT", "offs", "=", "get_integer_term", "(", "op", ")", ";", "gcc_assert", "(", "offs", "==", "0", ")", ";", "op", "=", "gen_rtx_CONST", "(", "Pmode", ",", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "sym", ")", ",", "CRIS_UNSPEC_PCREL", ")", ")", ";", "}", "else", "op", "=", "force_reg", "(", "Pmode", ",", "op", ")", ";", "*", "markerp", "=", "const0_rtx", ";", "}", "else", "if", "(", "t", "==", "cris_got_symbol", ")", "{", "if", "(", "TARGET_AVOID_GOTPLT", ")", "{", "rtx", "tem", ",", "rm", ",", "ro", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "tem", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "op", ")", ",", "TARGET_V32", "?", "CRIS_UNSPEC_PLT_PCREL", ":", "CRIS_UNSPEC_PLT_GOTREL", ")", ";", "tem", "=", "gen_rtx_CONST", "(", "Pmode", ",", "tem", ")", ";", "if", "(", "TARGET_V32", ")", "op", "=", "tem", ";", "else", "{", "rm", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "rm", ",", "tem", ")", ";", "ro", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "rm", ",", "pic_offset_table_rtx", ",", "ro", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", "!=", "ro", ")", "internal_error", "(", "\"expand_binop failed in movsi got\"", ")", ";", "op", "=", "ro", ";", "}", "}", "else", "{", "rtx", "tem", ",", "mem", ",", "rm", ",", "ro", ";", "gcc_assert", "(", "can_create_pseudo_p", "(", ")", ")", ";", "crtl", "->", "uses_pic_offset_table", "=", "1", ";", "tem", "=", "gen_rtx_UNSPEC", "(", "Pmode", ",", "gen_rtvec", "(", "1", ",", "op", ")", ",", "CRIS_UNSPEC_PLTGOTREAD", ")", ";", "rm", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_move_insn", "(", "rm", ",", "gen_rtx_CONST", "(", "Pmode", ",", "tem", ")", ")", ";", "ro", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "expand_binop", "(", "Pmode", ",", "add_optab", ",", "rm", ",", "pic_offset_table_rtx", ",", "ro", ",", "0", ",", "OPTAB_LIB_WIDEN", ")", "!=", "ro", ")", "internal_error", "(", "\"expand_binop failed in movsi got\"", ")", ";", "mem", "=", "gen_rtx_MEM", "(", "Pmode", ",", "ro", ")", ";", "set_mem_alias_set", "(", "mem", ",", "new_alias_set", "(", ")", ")", ";", "MEM_NOTRAP_P", "(", "mem", ")", "=", "1", ";", "op", "=", "mem", ";", "}", "*", "markerp", "=", "pic_offset_table_rtx", ";", "}", "else", "fatal_insn", "(", "\"unidentifiable call op\"", ",", "op", ")", ";", "*", "opp", "=", "replace_equiv_address_nv", "(", "*", "opp", ",", "op", ")", ";", "}", "else", "*", "markerp", "=", "pic_offset_table_rtx", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "expanding", "the", "address", "for", "PIC", "function", "calls", "."], "TS_V_token": ["cris", "0", "0", "1", "1", "1", "0", "\"expand_binop failed in movsi got\"", "1", "1", "0", "\"expand_binop failed in movsi got\"", "1", "\"unidentifiable call op\""], "File": "cris", "Func": "cris_expand_pic_call_address", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44160, "Length": 422} {"ground_truth": ["", "void", "cris_expand_return", "(", "bool", "on_stack", ")", "{", "emit_jump_insn", "(", "ret_rtx", ")", ";", "CRIS_ASSERT", "(", "cfun", "->", "machine", "->", "return_type", "!=", "CRIS_RETINSN_RET", "||", "!", "on_stack", ")", ";", "CRIS_ASSERT", "(", "cfun", "->", "machine", "->", "return_type", "!=", "CRIS_RETINSN_JUMP", "||", "on_stack", ")", ";", "cfun", "->", "machine", "->", "return_type", "=", "on_stack", "?", "CRIS_RETINSN_JUMP", ":", "CRIS_RETINSN_RET", ";", "}", ""], "natrual_language": ["Expand", "a", "return", "insn", "(", "just", "one", "insn", ")", "marked", "as", "using", "SRP", "or", "stack", "slot", "depending", "on", "parameter", "ON_STACK", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_expand_return", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44161, "Length": 52} {"ground_truth": ["", "int", "cris_fatal", "(", "char", "*", "arg", ")", "{", "internal_error", "(", "arg", ")", ";", "return", "0", ";", "}", ""], "natrual_language": ["Usable", "as", "a", "guard", "in", "expressions", "."], "TS_V_token": ["cris", "0"], "File": "cris", "Func": "cris_fatal", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44162, "Length": 17} {"ground_truth": ["", "static", "void", "cris_file_end", "(", "void", ")", "{", "if", "(", "TARGET_LINUX", "&&", "trampolines_created", ")", "file_end_indicate_exec_stack", "(", ")", ";", "}", ""], "natrual_language": ["Output", "that", "goes", "at", "the", "end", "of", "the", "file", ",", "similarly", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_file_end", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44163, "Length": 18} {"ground_truth": ["", "static", "void", "cris_file_start", "(", "void", ")", "{", "targetm", ".", "asm_file_start_app_off", "=", "!", "(", "TARGET_PDEBUG", "||", "flag_print_asm_name", ")", ";", "default_file_start", "(", ")", ";", "}", ""], "natrual_language": ["Boilerplate", "emitted", "at", "start", "of", "file", ".", "NO_APP", "*", "only", "at", "file", "start", "*", "means", "faster", "assembly", ".", "It", "also", "means", "comments", "are", "not", "allowed", ".", "In", "some", "cases", "comments", "will", "be", "output", "for", "debugging", "purposes", ".", "Make", "sure", "they", "are", "allowed", "then", ".", "We", "want", "a", ".file", "directive", "only", "if", "TARGET_ELF", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_file_start", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44164, "Length": 23} {"ground_truth": ["", "bool", "cris_frame_pointer_required", "(", "void", ")", "{", "return", "!", "crtl", "->", "sp_is_unchanging", ";", "}", ""], "natrual_language": ["Implement", "TARGET_FRAME_POINTER_REQUIRED", ".", "Really", "only", "needed", "if", "the", "stack", "frame", "has", "variable", "length", "(", "alloca", "or", "variable", "sized", "local", "arguments", "(", "GNU", "C", "extension", ")", ".", "See", "PR39499", "and", "PR38609", "for", "the", "reason", "this", "is", "n't", "just", "0", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_frame_pointer_required", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44165, "Length": 13} {"ground_truth": ["", "static", "rtx", "cris_function_arg", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "cris_function_arg_1", "(", "ca", ",", "arg", ",", "false", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_ARG", ".", "The", "void_type_node", "is", "sent", "as", "a", "``", "closing", "''", "call", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_function_arg", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44166, "Length": 24} {"ground_truth": ["", "static", "void", "cris_function_arg_advance", "(", "cumulative_args_t", "ca_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "ca", "->", "regs", "+=", "(", "3", "+", "CRIS_FUNCTION_ARG_SIZE", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ")", "/", "4", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_ARG_ADVANCE", "."], "TS_V_token": ["cris", "3", "4"], "File": "cris", "Func": "cris_function_arg_advance", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44167, "Length": 44} {"ground_truth": ["", "static", "rtx", "cris_function_incoming_arg", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "cris_function_arg_1", "(", "ca", ",", "arg", ",", "true", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_FUNCTION_INCOMING_ARG", ".", "The", "differences", "between", "this", "and", "the", "previous", ",", "is", "that", "this", "one", "checks", "that", "an", "argument", "is", "named", ",", "since", "incoming", "stdarg/varargs", "arguments", "are", "pushed", "onto", "the", "stack", ",", "and", "we", "do", "n't", "have", "to", "check", "against", "the", "``", "closing", "''", "void_type_node", "TYPE", "parameter", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_function_incoming_arg", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44168, "Length": 24} {"ground_truth": ["", "static", "rtx", "cris_function_value", "(", "const_tree", "type", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "TYPE_MODE", "(", "type", ")", ",", "CRIS_FIRST_ARG_REG", ")", ";", "}", ""], "natrual_language": ["Let", "'s", "assume", "all", "functions", "return", "in", "r", "[", "CRIS_FIRST_ARG_REG", "]", "for", "the", "time", "being", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_function_value", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44169, "Length": 28} {"ground_truth": ["", "static", "bool", "cris_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "CRIS_FIRST_ARG_REG", ")", ";", "}", ""], "natrual_language": ["Let", "'s", "assume", "all", "functions", "return", "in", "r", "[", "CRIS_FIRST_ARG_REG", "]", "for", "the", "time", "being", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_function_value_regno_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44170, "Length": 18} {"ground_truth": ["", "rtx", "cris_gen_movem_load", "(", "rtx", "src", ",", "rtx", "nregs_rtx", ")", "{", "int", "nregs", "=", "INTVAL", "(", "nregs_rtx", ")", ";", "rtvec", "vec", ";", "int", "eltno", "=", "1", ";", "int", "i", ";", "rtx", "srcreg", "=", "XEXP", "(", "src", ",", "0", ")", ";", "unsigned", "int", "regno", "=", "nregs", "-", "1", ";", "int", "regno_inc", "=", "-", "1", ";", "if", "(", "GET_CODE", "(", "srcreg", ")", "==", "POST_INC", ")", "srcreg", "=", "XEXP", "(", "srcreg", ",", "0", ")", ";", "CRIS_ASSERT", "(", "REG_P", "(", "srcreg", ")", ")", ";", "if", "(", "nregs", "==", "1", ")", "return", "gen_movsi", "(", "gen_rtx_REG", "(", "SImode", ",", "0", ")", ",", "src", ")", ";", "vec", "=", "rtvec_alloc", "(", "nregs", "+", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "POST_INC", ")", ")", ";", "if", "(", "GET_CODE", "(", "XEXP", "(", "src", ",", "0", ")", ")", "==", "POST_INC", ")", "{", "RTVEC_ELT", "(", "vec", ",", "1", ")", "=", "gen_rtx_SET", "(", "srcreg", ",", "plus_constant", "(", "Pmode", ",", "srcreg", ",", "nregs", "*", "4", ")", ")", ";", "eltno", "++", ";", "}", "src", "=", "replace_equiv_address", "(", "src", ",", "srcreg", ")", ";", "RTVEC_ELT", "(", "vec", ",", "0", ")", "=", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "src", ")", ";", "regno", "+=", "regno_inc", ";", "for", "(", "i", "=", "1", ";", "i", "<", "nregs", ";", "i", "++", ",", "eltno", "++", ")", "{", "RTVEC_ELT", "(", "vec", ",", "eltno", ")", "=", "gen_rtx_SET", "(", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ",", "adjust_address_nv", "(", "src", ",", "SImode", ",", "i", "*", "4", ")", ")", ";", "regno", "+=", "regno_inc", ";", "}", "return", "gen_rtx_PARALLEL", "(", "VOIDmode", ",", "vec", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "generating", "movem", "from", "mem", "for", "load_multiple", "."], "TS_V_token": ["cris", "1", "0", "1", "1", "0", "1", "0", "0", "0", "1", "4", "0", "1", "4"], "File": "cris", "Func": "cris_gen_movem_load", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44171, "Length": 252} {"ground_truth": ["", "static", "bool", "cris_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "mode", "==", "CCmode", "||", "regno", "!=", "CRIS_CC0_REGNUM", ")", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", "||", "regno", "!=", "CRIS_MOF_REGNUM", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_MODE_OK", ".", "CRIS", "permits", "all", "registers", "to", "hold", "all", "modes", ".", "Well", ",", "except", "for", "the", "condition-code", "register", ".", "And", "we", "ca", "n't", "hold", "larger-than-register", "size", "modes", "in", "the", "last", "special", "register", "that", "can", "hold", "a", "full", "32", "bits", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_hard_regno_mode_ok", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44172, "Length": 39} {"ground_truth": ["", "static", "unsigned", "int", "cris_hard_regno_nregs", "(", "unsigned", "int", ",", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "VOIDmode", ")", "return", "1", ";", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_HARD_REGNO_NREGS", ".", "The", "VOIDmode", "test", "is", "so", "we", "can", "omit", "mode", "on", "anonymous", "insns", ".", "FIXME", ":", "Still", "needed", "in", "2.9x", ",", "at", "least", "for", "Axis-20000319", "."], "TS_V_token": ["cris", "1"], "File": "cris", "Func": "cris_hard_regno_nregs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44173, "Length": 33} {"ground_truth": ["", "static", "inline", "bool", "cris_index_p", "(", "const_rtx", "x", ",", "bool", "strict", ")", "{", "return", "(", "REG_P", "(", "x", ")", "&&", "reg_ok_for_index_p", "(", "x", ",", "strict", ")", ")", ";", "}", ""], "natrual_language": ["True", "if", "X", "is", "a", "valid", "index", "register", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_index_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44174, "Length": 28} {"ground_truth": ["", "int", "cris_initial_elimination_offset", "(", "int", "fromreg", ",", "int", "toreg", ")", "{", "int", "fp_sp_offset", "=", "cris_initial_frame_pointer_offset", "(", ")", ";", "bool", "return_address_on_stack", "=", "cris_return_address_on_stack", "(", ")", ";", "int", "ap_fp_offset", "=", "4", "+", "(", "return_address_on_stack", "?", "4", ":", "0", ")", ";", "if", "(", "fromreg", "==", "ARG_POINTER_REGNUM", "&&", "toreg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "ap_fp_offset", ";", "if", "(", "fromreg", "==", "FRAME_POINTER_REGNUM", "&&", "toreg", "==", "STACK_POINTER_REGNUM", ")", "return", "fp_sp_offset", ";", "if", "(", "fromreg", "==", "ARG_POINTER_REGNUM", "&&", "toreg", "==", "STACK_POINTER_REGNUM", ")", "return", "ap_fp_offset", "+", "fp_sp_offset", "-", "4", ";", "if", "(", "fromreg", "==", "FRAME_POINTER_REGNUM", "&&", "toreg", "==", "HARD_FRAME_POINTER_REGNUM", ")", "return", "0", ";", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["The", "INITIAL_ELIMINATION_OFFSET", "worker", ".", "Calculate", "the", "difference", "between", "imaginary", "registers", "such", "as", "frame", "pointer", "and", "the", "stack", "pointer", ".", "Used", "to", "eliminate", "the", "frame", "pointer", "and", "imaginary", "arg", "pointer", "."], "TS_V_token": ["cris", "4", "4", "0", "4", "0"], "File": "cris", "Func": "cris_initial_elimination_offset", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44175, "Length": 98} {"ground_truth": ["", "static", "int", "cris_initial_frame_pointer_offset", "(", "void", ")", "{", "int", "regno", ";", "int", "offs", "=", "0", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "cris_reg_saved_in_regsave_area", "(", "regno", ")", ")", "offs", "+=", "4", ";", "offs", "+=", "get_frame_size", "(", ")", ";", "offs", "+=", "crtl", "->", "outgoing_args_size", ";", "if", "(", "TARGET_STACK_ALIGN", ")", "offs", "=", "TARGET_ALIGN_BY_32", "?", "(", "offs", "+", "3", ")", "&", "~", "3", ":", "(", "offs", "+", "1", ")", "&", "~", "1", ";", "return", "offs", ";", "}", ""], "natrual_language": ["This", "used", "to", "be", "the", "INITIAL_FRAME_POINTER_OFFSET", "worker", ";", "now", "only", "handles", "FP", "-", ">", "SP", "elimination", "offset", "."], "TS_V_token": ["cris", "0", "0", "4", "3", "3", "1", "1"], "File": "cris", "Func": "cris_initial_frame_pointer_offset", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44176, "Length": 81} {"ground_truth": ["", "void", "cris_init_expanders", "(", "void", ")", "{", "}", ""], "natrual_language": ["The", "INIT_EXPANDERS", "worker", "sets", "the", "per-function-data", "initializer", "and", "mark", "functions", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_init_expanders", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44177, "Length": 7} {"ground_truth": ["", "static", "void", "cris_init_libfuncs", "(", "void", ")", "{", "set_optab_libfunc", "(", "smul_optab", ",", "SImode", ",", "\"__Mul\"", ")", ";", "set_optab_libfunc", "(", "sdiv_optab", ",", "SImode", ",", "\"__Div\"", ")", ";", "set_optab_libfunc", "(", "udiv_optab", ",", "SImode", ",", "\"__Udiv\"", ")", ";", "set_optab_libfunc", "(", "smod_optab", ",", "SImode", ",", "\"__Mod\"", ")", ";", "set_optab_libfunc", "(", "umod_optab", ",", "SImode", ",", "\"__Umod\"", ")", ";", "if", "(", "TARGET_ATOMICS_MAY_CALL_LIBFUNCS", ")", "{", "set_optab_libfunc", "(", "sync_compare_and_swap_optab", ",", "SImode", ",", "\"__cris_atcmpxchgr32\"", ")", ";", "set_optab_libfunc", "(", "sync_compare_and_swap_optab", ",", "HImode", ",", "\"__cris_atcmpxchgr16\"", ")", ";", "}", "}", ""], "natrual_language": ["Rename", "the", "function", "calls", "for", "integer", "multiply", "and", "divide", "."], "TS_V_token": ["cris", "\"__Mul\"", "\"__Div\"", "\"__Udiv\"", "\"__Mod\"", "\"__Umod\"", "\"__cris_atcmpxchgr32\"", "\"__cris_atcmpxchgr16\""], "File": "cris", "Func": "cris_init_libfuncs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44178, "Length": 77} {"ground_truth": ["", "static", "struct", "machine_function", "*", "cris_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", ""], "natrual_language": ["Zero", "initialization", "is", "OK", "for", "all", "current", "fields", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_init_machine_status", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44179, "Length": 18} {"ground_truth": ["", "bool", "cris_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "const_rtx", "x1", ",", "x2", ";", "if", "(", "cris_base_or_autoincr_p", "(", "x", ",", "strict", ")", ")", "return", "true", ";", "else", "if", "(", "CONSTANT_P", "(", "x", ")", ")", "return", "true", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "(", "cris_base_p", "(", "x1", ",", "strict", ")", "&&", "CONSTANT_P", "(", "x2", ")", ")", "||", "(", "cris_base_p", "(", "x2", ",", "strict", ")", "&&", "CONSTANT_P", "(", "x1", ")", ")", "||", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", "&&", "(", "(", "cris_base_p", "(", "x1", ",", "strict", ")", "&&", "cris_bdap_index_p", "(", "x2", ",", "strict", ")", ")", "||", "(", "cris_base_p", "(", "x2", ",", "strict", ")", "&&", "cris_bdap_index_p", "(", "x1", ",", "strict", ")", ")", "||", "(", "cris_base_p", "(", "x1", ",", "strict", ")", "&&", "cris_biap_index_p", "(", "x2", ",", "strict", ")", ")", "||", "(", "cris_base_p", "(", "x2", ",", "strict", ")", "&&", "cris_biap_index_p", "(", "x1", ",", "strict", ")", ")", ")", ")", ")", "return", "true", ";", "}", "else", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<=", "UNITS_PER_WORD", "&&", "cris_base_or_autoincr_p", "(", "XEXP", "(", "x", ",", "0", ")", ",", "strict", ")", ")", "return", "true", ";", "}", "return", "false", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LEGITIMATE_ADDRESS_P", "."], "TS_V_token": ["cris", "0", "1", "0"], "File": "cris", "Func": "cris_legitimate_address_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44180, "Length": 217} {"ground_truth": ["", "bool", "cris_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "enum", "cris_symbol_type", "t", ";", "if", "(", "flag_pic", ")", "return", "LEGITIMATE_PIC_OPERAND_P", "(", "x", ")", ";", "t", "=", "cris_symbol_type_of", "(", "x", ")", ";", "return", "t", "==", "cris_no_symbol", "||", "t", "==", "cris_offsettable_symbol", "||", "t", "==", "cris_unspec", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_LEGITIMATE_CONSTANT_P", ".", "We", "have", "to", "handle", "PIC", "constants", "that", "are", "n't", "legitimized", ".", "FIXME", ":", "there", "used", "to", "be", "a", "guarantee", "that", "the", "target", "LEGITIMATE_CONSTANT_P", "did", "n't", "have", "to", "handle", "PIC", "constants", ",", "but", "no", "more", "(", "4.7", "era", ")", ";", "testcase", ":", "glibc", "init-first.c", ".", "While", "that", "may", "be", "seen", "as", "a", "bug", ",", "that", "guarantee", "seems", "a", "wart", "by", "design", ",", "so", "do", "n't", "bother", ";", "fix", "the", "documentation", "instead", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_legitimate_constant_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44181, "Length": 46} {"ground_truth": ["", "int", "cris_legitimate_pic_operand", "(", "rtx", "x", ")", "{", "return", "cris_valid_pic_const", "(", "x", ",", "true", ")", ";", "}", ""], "natrual_language": ["The", "LEGITIMATE_PIC_OPERAND_P", "worker", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_legitimate_pic_operand", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44182, "Length": 16} {"ground_truth": ["", "static", "rtx", "cris_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "CRIS_FIRST_ARG_REG", ")", ";", "}", ""], "natrual_language": ["Let", "'s", "assume", "all", "functions", "return", "in", "r", "[", "CRIS_FIRST_ARG_REG", "]", "for", "the", "time", "being", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_libcall_value", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44183, "Length": 21} {"ground_truth": ["", "static", "rtx_insn", "*", "cris_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", ",", "vec", "<", "rtx", ">", "&", "inputs", ",", "vec", "<", "machine_mode", ">", "&", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints", ",", "vec", "<", "rtx", ">", "&", "clobbers", ",", "HARD_REG_SET", "&", "clobbered_regs", ",", "location_t", ")", "{", "clobbers", ".", "safe_push", "(", "gen_rtx_REG", "(", "CCmode", ",", "CRIS_CC0_REGNUM", ")", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "CRIS_CC0_REGNUM", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "constraints", ".", "length", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "if", "(", "strchr", "(", "constraints", "[", "i", "]", ",", "'h'", ")", "!=", "NULL", ")", "return", "NULL", ";", "rtx", "mof_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "CRIS_MOF_REGNUM", ")", ";", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "outputs", ".", "length", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "if", "(", "reg_overlap_mentioned_p", "(", "mof_reg", ",", "outputs", "[", "i", "]", ")", ")", "return", "NULL", ";", "for", "(", "unsigned", "i", "=", "0", ",", "n", "=", "inputs", ".", "length", "(", ")", ";", "i", "<", "n", ";", "++", "i", ")", "if", "(", "reg_overlap_mentioned_p", "(", "mof_reg", ",", "inputs", "[", "i", "]", ")", ")", "return", "NULL", ";", "clobbers", ".", "safe_push", "(", "mof_reg", ")", ";", "SET_HARD_REG_BIT", "(", "clobbered_regs", ",", "CRIS_MOF_REGNUM", ")", ";", "return", "NULL", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MD_ASM_ADJUST", "."], "TS_V_token": ["cris", "0", "0", "0"], "File": "cris", "Func": "cris_md_asm_adjust", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44184, "Length": 208} {"ground_truth": ["", "static", "int", "cris_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "mode", "==", "QImode", "||", "mode", "==", "HImode", ")", "return", "4", ";", "else", "return", "6", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_MEMORY_MOVE_COST", ".", "This", "is", "n't", "strictly", "correct", "for", "v0", "..", "3", "in", "buswidth-8bit", "mode", ",", "but", "should", "suffice", "."], "TS_V_token": ["cris", "4", "6"], "File": "cris", "Func": "cris_memory_move_cost", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44185, "Length": 34} {"ground_truth": ["", "void", "cris_notice_update_cc", "(", "rtx", "exp", ",", "rtx_insn", "*", "insn", ")", "{", "enum", "attr_cc", "attrval", "=", "get_attr_cc", "(", "insn", ")", ";", "if", "(", "TARGET_CCINIT", ")", "{", "CC_STATUS_INIT", ";", "if", "(", "attrval", "==", "CC_REV", ")", "cc_status", ".", "flags", "=", "CC_REVERSED", ";", "return", ";", "}", "switch", "(", "attrval", ")", "{", "case", "CC_NONE", ":", "if", "(", "GET_CODE", "(", "exp", ")", "==", "SET", ")", "{", "if", "(", "cc_status", ".", "value1", "&&", "modified_in_p", "(", "cc_status", ".", "value1", ",", "insn", ")", ")", "cc_status", ".", "value1", "=", "0", ";", "if", "(", "cc_status", ".", "value2", "&&", "modified_in_p", "(", "cc_status", ".", "value2", ",", "insn", ")", ")", "cc_status", ".", "value2", "=", "0", ";", "}", "return", ";", "case", "CC_CLOBBER", ":", "CC_STATUS_INIT", ";", "return", ";", "case", "CC_REV", ":", "case", "CC_NOOV32", ":", "case", "CC_NORMAL", ":", "cris_normal_notice_update_cc", "(", "exp", ",", "insn", ")", ";", "if", "(", "attrval", "==", "CC_NOOV32", "&&", "TARGET_V32", ")", "cc_status", ".", "flags", "|=", "CC_NO_OVERFLOW", ";", "return", ";", "default", ":", "internal_error", "(", "\"unknown cc_attr value\"", ")", ";", "}", "CC_STATUS_INIT", ";", "}", ""], "natrual_language": ["This", "function", "looks", "into", "the", "pattern", "to", "see", "how", "this", "insn", "affects", "condition", "codes", ".", "Used", "when", "to", "eliminate", "test", "insns", "before", "a", "condition-code", "user", ",", "such", "as", "a", "``", "scc", "''", "insn", "or", "a", "conditional", "branch", ".", "This", "includes", "checking", "if", "the", "entities", "that", "cc", "was", "updated", "by", ",", "are", "changed", "by", "the", "operation", ".", "Currently", "a", "jumble", "of", "the", "old", "peek-inside-the-insn", "and", "the", "newer", "check-cc-attribute", "methods", "."], "TS_V_token": ["cris", "0", "0", "\"unknown cc_attr value\""], "File": "cris", "Func": "cris_notice_update_cc", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44186, "Length": 155} {"ground_truth": ["", "static", "void", "cris_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": ["cris", "\"%s\""], "File": "cris", "Func": "cris_operand_lossage", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44187, "Length": 26} {"ground_truth": ["", "static", "void", "cris_option_override", "(", "void", ")", "{", "if", "(", "cris_max_stackframe_str", ")", "{", "cris_max_stackframe", "=", "atoi", "(", "cris_max_stackframe_str", ")", ";", "if", "(", "cris_max_stackframe", "<", "0", "||", "cris_max_stackframe", ">", "0x20000000", ")", "internal_error", "(", "\"%<-max-stackframe=%d%> is not usable, \"", "\"not between 0 and %d\"", ",", "cris_max_stackframe", ",", "0x20000000", ")", ";", "}", "if", "(", "TARGET_SVINTO", "&&", "cris_cpu_version", "<", "CRIS_CPU_SVINTO", ")", "cris_cpu_version", "=", "CRIS_CPU_SVINTO", ";", "else", "if", "(", "TARGET_ETRAX4_ADD", "&&", "cris_cpu_version", "<", "CRIS_CPU_ETRAX4", ")", "cris_cpu_version", "=", "CRIS_CPU_ETRAX4", ";", "if", "(", "cris_cpu_str", ")", "{", "cris_cpu_version", "=", "(", "*", "cris_cpu_str", "==", "'v'", "?", "atoi", "(", "cris_cpu_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_cpu_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_cpu_str", ")", "==", "0", ")", "cris_cpu_version", "=", "10", ";", "if", "(", "cris_cpu_version", "<", "0", "||", "cris_cpu_version", ">", "10", ")", "error", "(", "\"unknown CRIS version specification in %<-march=%> or \"", "\"%<-mcpu=%>: %s\"", ",", "cris_cpu_str", ")", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_ETRAX4", ")", "target_flags", "|=", "MASK_ETRAX4_ADD", ";", "if", "(", "cris_cpu_version", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "MASK_SVINTO", "|", "MASK_ALIGN_BY_32", "|", "MASK_STACK_ALIGN", "|", "MASK_CONST_ALIGN", "|", "MASK_DATA_ALIGN", ")", ";", "}", "if", "(", "cris_tune_str", ")", "{", "int", "cris_tune", "=", "(", "*", "cris_tune_str", "==", "'v'", "?", "atoi", "(", "cris_tune_str", "+", "1", ")", ":", "-", "1", ")", ";", "if", "(", "strcmp", "(", "\"etrax4\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "3", ";", "if", "(", "strcmp", "(", "\"svinto\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "8", ";", "if", "(", "strcmp", "(", "\"ng\"", ",", "cris_tune_str", ")", "==", "0", "||", "strcmp", "(", "\"etrax100lx\"", ",", "cris_tune_str", ")", "==", "0", ")", "cris_tune", "=", "10", ";", "if", "(", "cris_tune", "<", "0", "||", "cris_tune", ">", "32", ")", "error", "(", "\"unknown CRIS cpu version specification in %<-mtune=%>: %s\"", ",", "cris_tune_str", ")", ";", "if", "(", "cris_tune", ">=", "CRIS_CPU_SVINTO", ")", "target_flags", "|=", "(", "MASK_STACK_ALIGN", "|", "MASK_CONST_ALIGN", "|", "MASK_DATA_ALIGN", "|", "MASK_ALIGN_BY_32", ")", ";", "}", "if", "(", "flag_pic", ")", "{", "error", "(", "\"%<-fPIC%> and %<-fpic%> are not supported on this target\"", ")", ";", "flag_pic", "=", "0", ";", "}", "init_machine_status", "=", "cris_init_machine_status", ";", "}", ""], "natrual_language": ["The", "TARGET_OPTION_OVERRIDE", "worker", ".", "As", "is", "the", "norm", ",", "this", "also", "parses", "-mfoo=bar", "type", "parameters", "."], "TS_V_token": ["cris", "0", "0x20000000", "\"%<-max-stackframe=%d%> is not usable, \"", "\"not between 0 and %d\"", "0x20000000", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "10", "\"unknown CRIS version specification in %<-march=%> or \"", "\"%<-mcpu=%>: %s\"", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "32", "\"unknown CRIS cpu version specification in %<-mtune=%>: %s\"", "\"%<-fPIC%> and %<-fpic%> are not supported on this target\"", "0"], "File": "cris", "Func": "cris_option_override", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44188, "Length": 345} {"ground_truth": ["", "const", "char", "*", "cris_op_str", "(", "rtx", "x", ")", "{", "cris_output_insn_is_bound", "=", "0", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "PLUS", ":", "return", "\"add\"", ";", "case", "MINUS", ":", "return", "\"sub\"", ";", "case", "MULT", ":", "internal_error", "(", "\"MULT case in %\"", ")", ";", "break", ";", "case", "DIV", ":", "return", "\"div\"", ";", "case", "AND", ":", "return", "\"and\"", ";", "case", "IOR", ":", "return", "\"or\"", ";", "case", "XOR", ":", "return", "\"xor\"", ";", "case", "NOT", ":", "return", "\"not\"", ";", "case", "ASHIFT", ":", "return", "\"lsl\"", ";", "case", "LSHIFTRT", ":", "return", "\"lsr\"", ";", "case", "ASHIFTRT", ":", "return", "\"asr\"", ";", "case", "UMIN", ":", "cris_output_insn_is_bound", "=", "1", ";", "return", "\"bound\"", ";", "default", ":", "return", "\"Unknown operator\"", ";", "}", "}", ""], "natrual_language": ["Given", "an", "rtx", ",", "return", "the", "text", "string", "corresponding", "to", "the", "CODE", "of", "X", ".", "Intended", "for", "use", "in", "the", "assembly", "language", "output", "section", "of", "a", "define_insn", "."], "TS_V_token": ["cris", "0", "\"add\"", "\"sub\"", "\"MULT case in %\"", "\"div\"", "\"and\"", "\"or\"", "\"xor\"", "\"not\"", "\"lsl\"", "\"lsr\"", "\"asr\"", "1", "\"bound\"", "\"Unknown operator\""], "File": "cris", "Func": "cris_op_str", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44189, "Length": 108} {"ground_truth": ["", "void", "cris_order_for_addsi3", "(", "rtx", "*", "operands", ",", "int", "n", ")", "{", "if", "(", "!", "REG_P", "(", "operands", "[", "n", "]", ")", ")", "{", "rtx", "tem", "=", "operands", "[", "n", "]", ";", "operands", "[", "n", "]", "=", "operands", "[", "n", "+", "1", "]", ";", "operands", "[", "n", "+", "1", "]", "=", "tem", ";", "}", "}", ""], "natrual_language": ["Make", "sure", "operands", "are", "in", "the", "right", "order", "for", "an", "addsi3", "insn", "as", "generated", "by", "a", "define_split", ".", "A", "MEM", "as", "the", "first", "operand", "is", "n't", "recognized", "by", "addsi3", "after", "reload", ".", "OPERANDS", "contains", "the", "operands", ",", "with", "the", "first", "at", "OPERANDS", "[", "N", "]", "and", "the", "second", "at", "OPERANDS", "[", "N+1", "]", "."], "TS_V_token": ["cris", "1", "1"], "File": "cris", "Func": "cris_order_for_addsi3", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44190, "Length": 54} {"ground_truth": ["", "static", "void", "cris_output_addr_const", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "in_code", "++", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "in_code", "--", ";", "}", ""], "natrual_language": ["Use", "from", "within", "code", ",", "from", "e.g", ".", "PRINT_OPERAND", "and", "PRINT_OPERAND_ADDRESS", ".", "Macros", "used", "in", "output_addr_const", "need", "to", "emit", "different", "things", "depending", "on", "whether", "code", "operand", "or", "constant", "is", "emitted", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_output_addr_const", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44191, "Length": 26} {"ground_truth": ["", "static", "bool", "cris_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "xconst", ")", "{", "switch", "(", "GET_CODE", "(", "xconst", ")", ")", "{", "rtx", "x", ";", "case", "UNSPEC", ":", "x", "=", "XVECEXP", "(", "xconst", ",", "0", ",", "0", ")", ";", "CRIS_ASSERT", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "CONST", ")", ";", "output_addr_const", "(", "file", ",", "x", ")", ";", "switch", "(", "XINT", "(", "xconst", ",", "1", ")", ")", "{", "case", "CRIS_UNSPEC_PCREL", ":", "gcc_assert", "(", "TARGET_V32", "&&", "flag_pic", ")", ";", "break", ";", "case", "CRIS_UNSPEC_PLT_PCREL", ":", "gcc_assert", "(", "TARGET_V32", ")", ";", "fprintf", "(", "file", ",", "\":PLT\"", ")", ";", "break", ";", "case", "CRIS_UNSPEC_PLT_GOTREL", ":", "gcc_assert", "(", "!", "TARGET_V32", ")", ";", "fprintf", "(", "file", ",", "\":PLTG\"", ")", ";", "break", ";", "case", "CRIS_UNSPEC_GOTREL", ":", "gcc_assert", "(", "!", "TARGET_V32", ")", ";", "fprintf", "(", "file", ",", "\":GOTOFF\"", ")", ";", "break", ";", "case", "CRIS_UNSPEC_GOTREAD", ":", "if", "(", "flag_pic", "==", "1", ")", "fprintf", "(", "file", ",", "\":GOT16\"", ")", ";", "else", "fprintf", "(", "file", ",", "\":GOT\"", ")", ";", "break", ";", "case", "CRIS_UNSPEC_PLTGOTREAD", ":", "if", "(", "flag_pic", "==", "1", ")", "fprintf", "(", "file", ",", "CRIS_GOTPLT_SUFFIX", "\"16\"", ")", ";", "else", "fprintf", "(", "file", ",", "CRIS_GOTPLT_SUFFIX", ")", ";", "break", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Worker", "function", "for", "OUTPUT_ADDR_CONST_EXTRA", "."], "TS_V_token": ["cris", "0", "0", "1", "\":PLT\"", "\":PLTG\"", "\":GOTOFF\"", "1", "\":GOT16\"", "\":GOT\"", "1", "\"16\""], "File": "cris", "Func": "cris_output_addr_const_extra", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44192, "Length": 213} {"ground_truth": ["", "static", "bool", "cris_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "(", "targetm", ".", "calls", ".", "must_pass_in_stack", "(", "arg", ")", "||", "CRIS_FUNCTION_ARG_SIZE", "(", "arg", ".", "mode", ",", "arg", ".", "type", ")", ">", "8", ")", ";", "}", ""], "natrual_language": ["Return", "true", "if", "TYPE", "must", "be", "passed", "by", "invisible", "reference", ".", "For", "cris", ",", "we", "pass", "<", "=", "8", "bytes", "by", "value", ",", "others", "by", "reference", "."], "TS_V_token": ["cris", "8"], "File": "cris", "Func": "cris_pass_by_reference", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44193, "Length": 38} {"ground_truth": ["", "static", "unsigned", "int", "cris_postdbr_cmpelim", "(", ")", "{", "rtx_insn", "*", "insn", ";", "rtx_insn", "*", "next", ";", "rtx_insn", "*", "prev_cc_setter", "=", "0", ";", "rtx_insn", "*", "prev_cc_outer", "=", "0", ";", "rtx", "dccr", "=", "gen_rtx_REG", "(", "CCmode", ",", "CRIS_CC0_REGNUM", ")", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "next", ")", "{", "rtx_insn", "*", "outer_insn", "=", "insn", ";", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "next", "=", "NEXT_INSN", "(", "outer_insn", ")", ";", "if", "(", "LABEL_P", "(", "insn", ")", ")", "{", "prev_cc_setter", "=", "0", ";", "continue", ";", "}", "if", "(", "!", "NONDEBUG_INSN_P", "(", "insn", ")", ")", "continue", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SEQUENCE", ")", "insn", "=", "as_a", "<", "rtx_insn", "*", ">", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", ";", "else", "if", "(", "prev_cc_setter", "!=", "0", "&&", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "rtx", "src", "=", "SET_SRC", "(", "pat", ")", ";", "rtx", "prev_set", ";", "if", "(", "REG_P", "(", "dest", ")", "&&", "REGNO", "(", "dest", ")", "==", "CRIS_CC0_REGNUM", "&&", "GET_CODE", "(", "src", ")", "==", "COMPARE", "&&", "REG_P", "(", "XEXP", "(", "src", ",", "0", ")", ")", "&&", "XEXP", "(", "src", ",", "1", ")", "==", "const0_rtx", "&&", "(", "prev_set", "=", "single_set", "(", "prev_cc_setter", ")", ")", "!=", "0", ")", "{", "rtx", "reg", "=", "XEXP", "(", "src", ",", "0", ")", ";", "rtx", "prev_dest", "=", "SET_DEST", "(", "prev_set", ")", ";", "rtx", "prev_src", "=", "SET_SRC", "(", "prev_set", ")", ";", "bool", "src_same", "=", "rtx_equal_p", "(", "prev_src", ",", "reg", ")", ";", "if", "(", "REG_P", "(", "prev_dest", ")", "&&", "!", "reg_set_p", "(", "reg", ",", "prev_src", ")", "&&", "!", "reg_set_between_p", "(", "reg", ",", "prev_cc_outer", ",", "outer_insn", ")", "&&", "(", "src_same", "||", "rtx_equal_p", "(", "prev_dest", ",", "reg", ")", ")", ")", "{", "machine_mode", "ccmode", "=", "GET_MODE", "(", "src", ")", ";", "rtx", "modeadjusted_dccr", "=", "(", "ccmode", "==", "CCmode", "?", "dccr", ":", "gen_rtx_REG", "(", "CCmode", ",", "CRIS_CC0_REGNUM", ")", ")", ";", "rtx", "compare", "=", "(", "src_same", "?", "pat", ":", "gen_rtx_SET", "(", "modeadjusted_dccr", ",", "gen_rtx_COMPARE", "(", "ccmode", ",", "copy_rtx", "(", "prev_src", ")", ",", "const0_rtx", ")", ")", ")", ";", "validate_change", "(", "prev_cc_setter", ",", "&", "XVECEXP", "(", "PATTERN", "(", "prev_cc_setter", ")", ",", "0", ",", "0", ")", ",", "compare", ",", "true", ")", ";", "validate_change", "(", "prev_cc_setter", ",", "&", "XVECEXP", "(", "PATTERN", "(", "prev_cc_setter", ")", ",", "0", ",", "1", ")", ",", "prev_set", ",", "true", ")", ";", "if", "(", "apply_change_group", "(", ")", ")", "{", "delete_insn", "(", "insn", ")", ";", "prev_cc_setter", "=", "0", ";", "continue", ";", "}", "}", "}", "}", "if", "(", "reg_set_p", "(", "dccr", ",", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "prev_cc_setter", "=", "0", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "PARALLEL", "&&", "XVECLEN", "(", "pat", ",", "0", ")", "==", "2", "&&", "GET_CODE", "(", "XVECEXP", "(", "pat", ",", "0", ",", "1", ")", ")", "==", "CLOBBER", ")", "{", "prev_cc_setter", "=", "insn", ";", "prev_cc_outer", "=", "outer_insn", ";", "}", "}", "}", "return", "0", ";", "}", ""], "natrual_language": ["``", "Cheap", "version", "''", "of", "cmpelim", ",", "making", "use", "of", "the", "opportunities", "opened", "up", "by", "reorg", ".", "Go", "through", "the", "insns", "of", "a", "function", "and", "look", "at", "each", "actual", "compare", "insn", ";", "considering", "only", "those", "that", "compare", "a", "register", "to", "0", ".", "If", "the", "previous", "CC-affecting", "insn", "sets", "the", "compared", "register", "or", "if", "a", "move", "reads", "from", "it", ",", "try", "to", "change", "that", "into", "a", "CC-setting", "move", "and", "try", "to", "have", "it", "recognized", ".", "Bail", "at", "labels", "or", "non-matching", "insns", "that", "clobber", "the", "compared", "register", ".", "If", "successful", ",", "delete", "the", "compare", ".", "Also", ",", "reorg", "is", "n't", "up", "to", "date", "regarding", "data-flow", "handling", ",", "so", "we", "ca", "n't", "go", "beyond", "classic", "RTL", "scanning", "."], "TS_V_token": ["cris", "0", "0", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0", "0", "0", "2", "0", "1", "0"], "File": "cris", "Func": "cris_postdbr_cmpelim", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44194, "Length": 472} {"ground_truth": ["", "static", "HOST_WIDE_INT", "cris_preferred_minimum_alignment", "(", "void", ")", "{", "if", "(", "!", "TARGET_CONST_ALIGN", ")", "return", "8", ";", "if", "(", "TARGET_ALIGN_BY_32", ")", "return", "32", ";", "return", "16", ";", "}", ""], "natrual_language": ["Return", "the", "preferred", "minimum", "alignment", "for", "a", "static", "object", "."], "TS_V_token": ["cris", "8", "32", "16"], "File": "cris", "Func": "cris_preferred_minimum_alignment", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44195, "Length": 26} {"ground_truth": ["", "static", "reg_class_t", "cris_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "rclass", "!=", "MOF_REGS", "&&", "rclass", "!=", "MOF_SRP_REGS", "&&", "rclass", "!=", "SRP_REGS", "&&", "rclass", "!=", "CC0_REGS", "&&", "rclass", "!=", "SPECIAL_REGS", ")", "return", "GENERAL_REGS", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "!", "reg_class_subset_p", "(", "rclass", ",", "GENERAL_REGS", ")", ")", "return", "NO_REGS", ";", "if", "(", "satisfies_constraint_P", "(", "x", ")", "&&", "!", "reg_class_subset_p", "(", "rclass", ",", "GENERAL_REGS", ")", ")", "return", "NO_REGS", ";", "return", "rclass", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_PREFERRED_RELOAD_CLASS", ".", "It", "seems", "like", "gcc", "(", "2.7.2", "and", "2.9x", "of", "2000-03-22", ")", "may", "send", "``", "NO_REGS", "''", "as", "the", "class", "for", "a", "constant", "(", "testcase", ":", "__Mul", "in", "arit.c", ")", ".", "To", "avoid", "forcing", "out", "a", "constant", "into", "the", "constant", "pool", ",", "we", "will", "trap", "this", "case", "and", "return", "something", "a", "bit", "more", "sane", ".", "FIXME", ":", "Check", "if", "this", "is", "a", "bug", ".", "Beware", "that", "we", "must", "not", "``", "override", "''", "classes", "that", "can", "be", "specified", "as", "constraint", "letters", ",", "or", "else", "asm", "operands", "using", "them", "will", "fail", "when", "they", "need", "to", "be", "reloaded", ".", "FIXME", ":", "Investigate", "whether", "that", "constitutes", "a", "bug", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_preferred_reload_class", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44196, "Length": 78} {"ground_truth": ["", "static", "void", "cris_print_base", "(", "rtx", "base", ",", "FILE", "*", "file", ")", "{", "if", "(", "REG_P", "(", "base", ")", ")", "fprintf", "(", "file", ",", "\"$%s\"", ",", "reg_names", "[", "REGNO", "(", "base", ")", "]", ")", ";", "else", "if", "(", "GET_CODE", "(", "base", ")", "==", "POST_INC", ")", "fprintf", "(", "file", ",", "\"$%s+\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "base", ",", "0", ")", ")", "]", ")", ";", "else", "cris_operand_lossage", "(", "\"unexpected base-type in cris_print_base\"", ",", "base", ")", ";", "}", ""], "natrual_language": ["Print", "a", "base", "rtx", "of", "an", "address", "to", "file", "."], "TS_V_token": ["cris", "\"$%s\"", "\"$%s+\"", "0", "\"unexpected base-type in cris_print_base\""], "File": "cris", "Func": "cris_print_base", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44197, "Length": 73} {"ground_truth": ["", "static", "void", "cris_print_index", "(", "rtx", "index", ",", "FILE", "*", "file", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "index", ")", "||", "INTVAL", "(", "index", ")", ">=", "0", ")", "putc", "(", "'+'", ",", "file", ")", ";", "if", "(", "REG_P", "(", "index", ")", ")", "fprintf", "(", "file", ",", "\"$%s.b\"", ",", "reg_names", "[", "REGNO", "(", "index", ")", "]", ")", ";", "else", "if", "(", "CONSTANT_P", "(", "index", ")", ")", "cris_output_addr_const", "(", "file", ",", "index", ")", ";", "else", "if", "(", "GET_CODE", "(", "index", ")", "==", "MULT", ")", "{", "fprintf", "(", "file", ",", "\"$%s.\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "index", ",", "0", ")", ")", "]", ")", ";", "putc", "(", "INTVAL", "(", "XEXP", "(", "index", ",", "1", ")", ")", "==", "2", "?", "'w'", ":", "'d'", ",", "file", ")", ";", "}", "else", "if", "(", "GET_CODE", "(", "index", ")", "==", "SIGN_EXTEND", "&&", "MEM_P", "(", "XEXP", "(", "index", ",", "0", ")", ")", ")", "{", "rtx", "inner", "=", "XEXP", "(", "index", ",", "0", ")", ";", "rtx", "inner_inner", "=", "XEXP", "(", "inner", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner_inner", ")", "==", "POST_INC", ")", "{", "fprintf", "(", "file", ",", "\"[$%s+].\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "inner_inner", ",", "0", ")", ")", "]", ")", ";", "putc", "(", "GET_MODE", "(", "inner", ")", "==", "HImode", "?", "'w'", ":", "'b'", ",", "file", ")", ";", "}", "else", "{", "fprintf", "(", "file", ",", "\"[$%s].\"", ",", "reg_names", "[", "REGNO", "(", "inner_inner", ")", "]", ")", ";", "putc", "(", "GET_MODE", "(", "inner", ")", "==", "HImode", "?", "'w'", ":", "'b'", ",", "file", ")", ";", "}", "}", "else", "if", "(", "MEM_P", "(", "index", ")", ")", "{", "rtx", "inner", "=", "XEXP", "(", "index", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "inner", ")", "==", "POST_INC", ")", "fprintf", "(", "file", ",", "\"[$%s+].d\"", ",", "reg_names", "[", "REGNO", "(", "XEXP", "(", "inner", ",", "0", ")", ")", "]", ")", ";", "else", "fprintf", "(", "file", ",", "\"[$%s].d\"", ",", "reg_names", "[", "REGNO", "(", "inner", ")", "]", ")", ";", "}", "else", "cris_operand_lossage", "(", "\"unexpected index-type in cris_print_index\"", ",", "index", ")", ";", "}", ""], "natrual_language": ["Print", "an", "index", "part", "of", "an", "address", "to", "file", "."], "TS_V_token": ["cris", "0", "\"$%s.b\"", "\"$%s.\"", "0", "1", "2", "0", "0", "0", "\"[$%s+].\"", "0", "\"[$%s].\"", "0", "\"[$%s+].d\"", "0", "\"[$%s].d\"", "\"unexpected index-type in cris_print_index\""], "File": "cris", "Func": "cris_print_index", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44198, "Length": 321} {"ground_truth": ["", "static", "void", "cris_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "x", ")", "{", "putc", "(", "'['", ",", "file", ")", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "x", ")", ")", "cris_output_addr_const", "(", "file", ",", "x", ")", ";", "else", "if", "(", "cris_base_or_autoincr_p", "(", "x", ",", "true", ")", ")", "cris_print_base", "(", "x", ",", "file", ")", ";", "else", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "rtx", "x1", ",", "x2", ";", "x1", "=", "XEXP", "(", "x", ",", "0", ")", ";", "x2", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "cris_base_p", "(", "x1", ",", "true", ")", ")", "{", "cris_print_base", "(", "x1", ",", "file", ")", ";", "cris_print_index", "(", "x2", ",", "file", ")", ";", "}", "else", "if", "(", "cris_base_p", "(", "x2", ",", "true", ")", ")", "{", "cris_print_base", "(", "x2", ",", "file", ")", ";", "cris_print_index", "(", "x1", ",", "file", ")", ";", "}", "else", "LOSE_AND_RETURN", "(", "\"unrecognized address\"", ",", "x", ")", ";", "}", "else", "if", "(", "MEM_P", "(", "x", ")", ")", "{", "putc", "(", "'['", ",", "file", ")", ";", "cris_print_base", "(", "XEXP", "(", "x", ",", "0", ")", ",", "file", ")", ";", "putc", "(", "']'", ",", "file", ")", ";", "}", "else", "LOSE_AND_RETURN", "(", "\"unrecognized address\"", ",", "x", ")", ";", "putc", "(", "']'", ",", "file", ")", ";", "}", ""], "natrual_language": ["The", "PRINT_OPERAND_ADDRESS", "worker", "."], "TS_V_token": ["cris", "0", "1", "\"unrecognized address\"", "0", "\"unrecognized address\""], "File": "cris", "Func": "cris_print_operand_address", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44199, "Length": 198} {"ground_truth": ["", "machine_mode", "cris_promote_function_mode", "(", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "*", "punsignedp", "ATTRIBUTE_UNUSED", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "for_return", ")", "{", "if", "(", "for_return", "==", "1", ")", "return", "mode", ";", "return", "CRIS_PROMOTED_MODE", "(", "mode", ",", "*", "punsignedp", ",", "type", ")", ";", "}", ""], "natrual_language": ["A", "combination", "of", "defining", "TARGET_PROMOTE_FUNCTION_MODE", ",", "promoting", "arguments", "and", "*", "not", "*", "defining", "TARGET_PROMOTE_PROTOTYPES", "or", "PROMOTE_MODE", "gives", "the", "best", "code", "size", "and", "speed", "for", "gcc", ",", "ipps", "and", "products", "in", "gcc-2.7.2", "."], "TS_V_token": ["cris", "1"], "File": "cris", "Func": "cris_promote_function_mode", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44200, "Length": 44} {"ground_truth": ["", "void", "cris_reduce_compare", "(", "rtx", "*", "relp", ",", "rtx", "*", ",", "rtx", "*", "op1p", ")", "{", "rtx", "op1", "=", "*", "op1p", ";", "rtx_code", "code", "=", "GET_CODE", "(", "*", "relp", ")", ";", "switch", "(", "code", ")", "{", "case", "LT", ":", "if", "(", "op1", "==", "const1_rtx", ")", "code", "=", "LE", ";", "break", ";", "case", "LE", ":", "if", "(", "op1", "==", "constm1_rtx", ")", "code", "=", "LT", ";", "break", ";", "case", "GE", ":", "if", "(", "op1", "==", "const1_rtx", ")", "code", "=", "GT", ";", "break", ";", "case", "GT", ":", "if", "(", "op1", "==", "constm1_rtx", ")", "code", "=", "GE", ";", "break", ";", "case", "GEU", ":", "if", "(", "op1", "==", "const1_rtx", ")", "code", "=", "NE", ";", "break", ";", "case", "LTU", ":", "if", "(", "op1", "==", "const1_rtx", ")", "code", "=", "EQ", ";", "break", ";", "case", "GTU", ":", "if", "(", "op1", "==", "const0_rtx", ")", "code", "=", "NE", ";", "break", ";", "case", "LEU", ":", "if", "(", "op1", "==", "const0_rtx", ")", "code", "=", "EQ", ";", "break", ";", "default", ":", "break", ";", "}", "if", "(", "code", "!=", "GET_CODE", "(", "*", "relp", ")", ")", "{", "*", "op1p", "=", "const0_rtx", ";", "PUT_CODE", "(", "*", "relp", ",", "code", ")", ";", "}", "}", ""], "natrual_language": ["Try", "to", "change", "a", "comparison", "against", "a", "constant", "to", "be", "against", "zero", ",", "and", "an", "unsigned", "compare", "against", "zero", "to", "be", "an", "equality", "test", ".", "Beware", ":", "only", "valid", "for", "compares", "of", "integer-type", "operands", ".", "Also", ",", "note", "that", "we", "do", "n't", "use", "operand", "0", "at", "the", "moment", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_reduce_compare", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44201, "Length": 186} {"ground_truth": ["", "static", "int", "cris_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "from", ",", "reg_class_t", "to", ")", "{", "if", "(", "reg_classes_intersect_p", "(", "from", ",", "SPECIAL_REGS", ")", "&&", "reg_classes_intersect_p", "(", "to", ",", "SPECIAL_REGS", ")", ")", "return", "7", ";", "if", "(", "reg_classes_intersect_p", "(", "from", ",", "SPECIAL_REGS", ")", "||", "reg_classes_intersect_p", "(", "to", ",", "SPECIAL_REGS", ")", ")", "return", "3", ";", "return", "2", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_REGISTER_MOVE_COST", "."], "TS_V_token": ["cris", "7", "3", "2"], "File": "cris", "Func": "cris_register_move_cost", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44202, "Length": 57} {"ground_truth": ["", "static", "int", "cris_reg_overlap_mentioned_p", "(", "rtx", "x", ",", "rtx", "in", ")", "{", "if", "(", "GET_CODE", "(", "in", ")", "==", "STRICT_LOW_PART", ")", "in", "=", "XEXP", "(", "in", ",", "0", ")", ";", "return", "reg_overlap_mentioned_p", "(", "x", ",", "in", ")", ";", "}", ""], "natrual_language": ["The", "function", "reg_overlap_mentioned_p", "in", "CVS", "(", "still", "as", "of", "2001-05-16", ")", "does", "not", "handle", "the", "case", "where", "the", "IN", "operand", "is", "strict_low_part", ";", "it", "does", "handle", "it", "for", "X.", "Test-case", "in", "Axis-20010516", ".", "This", "function", "takes", "care", "of", "that", "for", "THIS", "port", ".", "FIXME", ":", "strict_low_part", "is", "going", "away", "anyway", "."], "TS_V_token": ["cris", "0"], "File": "cris", "Func": "cris_reg_overlap_mentioned_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44203, "Length": 38} {"ground_truth": ["", "static", "int", "cris_reg_saved_in_regsave_area", "(", "unsigned", "int", "regno", ")", "{", "return", "(", "(", "(", "df_regs_ever_live_p", "(", "regno", ")", "&&", "!", "call_used_or_fixed_reg_p", "(", "regno", ")", ")", ")", "&&", "(", "regno", "!=", "HARD_FRAME_POINTER_REGNUM", "||", "!", "frame_pointer_needed", ")", "&&", "regno", "!=", "CRIS_SRP_REGNUM", ")", "||", "(", "crtl", "->", "calls_eh_return", "&&", "(", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "0", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "1", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "2", ")", "||", "regno", "==", "EH_RETURN_DATA_REGNO", "(", "3", ")", ")", ")", ";", "}", ""], "natrual_language": ["Return", "nonzero", "if", "REGNO", "is", "an", "ordinary", "register", "that", "*", "needs", "*", "to", "be", "saved", "together", "with", "other", "registers", ",", "possibly", "by", "a", "MOVEM", "instruction", ",", "or", "is", "saved", "for", "target-independent", "reasons", ".", "There", "may", "be", "target-dependent", "reasons", "to", "save", "the", "register", "anyway", ";", "this", "is", "just", "a", "wrapper", "for", "a", "complicated", "conditional", "."], "TS_V_token": ["cris", "0", "1", "2", "3"], "File": "cris", "Func": "cris_reg_saved_in_regsave_area", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44204, "Length": 77} {"ground_truth": ["", "bool", "cris_reload_address_legitimized", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "opnum", "ATTRIBUTE_UNUSED", ",", "int", "itype", ",", "int", "ind_levels", "ATTRIBUTE_UNUSED", ")", "{", "enum", "reload_type", "type", "=", "(", "enum", "reload_type", ")", "itype", ";", "rtx", "op0", ",", "op1", ";", "rtx", "*", "op1p", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "false", ";", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "op1", "=", "XEXP", "(", "x", ",", "1", ")", ";", "op1p", "=", "&", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "!", "REG_P", "(", "op1", ")", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "op0", ")", "==", "SIGN_EXTEND", "&&", "MEM_P", "(", "XEXP", "(", "op0", ",", "0", ")", ")", ")", "{", "rtx", "op00", "=", "XEXP", "(", "op0", ",", "0", ")", ";", "rtx", "op000", "=", "XEXP", "(", "op00", ",", "0", ")", ";", "rtx", "*", "op000p", "=", "&", "XEXP", "(", "op00", ",", "0", ")", ";", "if", "(", "(", "GET_MODE", "(", "op00", ")", "==", "HImode", "||", "GET_MODE", "(", "op00", ")", "==", "QImode", ")", "&&", "(", "REG_P", "(", "op000", ")", "||", "(", "GET_CODE", "(", "op000", ")", "==", "POST_INC", "&&", "REG_P", "(", "XEXP", "(", "op000", ",", "0", ")", ")", ")", ")", ")", "{", "bool", "something_reloaded", "=", "false", ";", "if", "(", "GET_CODE", "(", "op000", ")", "==", "POST_INC", "&&", "REG_P", "(", "XEXP", "(", "op000", ",", "0", ")", ")", "&&", "REGNO", "(", "XEXP", "(", "op000", ",", "0", ")", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", "return", "false", ";", "if", "(", "(", "REG_P", "(", "op000", ")", "&&", "REGNO", "(", "op000", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", ")", "{", "push_reload", "(", "op000", ",", "NULL_RTX", ",", "op000p", ",", "NULL", ",", "GENERAL_REGS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "type", ")", ";", "something_reloaded", "=", "true", ";", "}", "if", "(", "REGNO", "(", "op1", ")", ">", "CRIS_LAST_GENERAL_REGISTER", ")", "{", "push_reload", "(", "op1", ",", "NULL_RTX", ",", "op1p", ",", "NULL", ",", "GENERAL_REGS", ",", "GET_MODE", "(", "x", ")", ",", "VOIDmode", ",", "0", ",", "0", ",", "opnum", ",", "type", ")", ";", "something_reloaded", "=", "true", ";", "}", "gcc_assert", "(", "something_reloaded", ")", ";", "return", "true", ";", "}", "}", "return", "false", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "LEGITIMIZE_RELOAD_ADDRESS", "."], "TS_V_token": ["cris", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0"], "File": "cris", "Func": "cris_reload_address_legitimized", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44205, "Length": 335} {"ground_truth": ["", "bool", "cris_return_address_on_stack", "(", "void", ")", "{", "return", "df_regs_ever_live_p", "(", "CRIS_SRP_REGNUM", ")", "||", "cfun", "->", "machine", "->", "needs_return_address_on_stack", ";", "}", ""], "natrual_language": ["Accessor", "used", "in", "cris.md", ":", "return", "because", "cfun-", ">", "machine", "is", "n't", "available", "there", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_return_address_on_stack", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44206, "Length": 19} {"ground_truth": ["", "bool", "cris_return_address_on_stack_for_return", "(", "void", ")", "{", "return", "cfun", "->", "machine", "->", "return_type", "==", "CRIS_RETINSN_RET", "?", "false", ":", "cris_return_address_on_stack", "(", ")", ";", "}", ""], "natrual_language": ["Accessor", "used", "in", "cris.md", ":", "return", "because", "cfun-", ">", "machine", "is", "n't", "available", "there", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_return_address_on_stack_for_return", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44207, "Length": 22} {"ground_truth": ["", "rtx", "cris_return_addr_rtx", "(", "int", "count", ",", "rtx", "frameaddr", "ATTRIBUTE_UNUSED", ")", "{", "cfun", "->", "machine", "->", "needs_return_address_on_stack", "=", "1", ";", "return", "count", "==", "0", "?", "gen_rtx_MEM", "(", "Pmode", ",", "plus_constant", "(", "Pmode", ",", "virtual_incoming_args_rtx", ",", "-", "4", ")", ")", ":", "NULL_RTX", ";", "}", ""], "natrual_language": ["The", "RETURN_ADDR_RTX", "worker", ".", "We", "mark", "that", "the", "return", "address", "is", "used", ",", "either", "by", "EH", "or", "__builtin_return_address", ",", "for", "use", "by", "the", "function", "prologue", "and", "epilogue", ".", "FIXME", ":", "This", "is", "n't", "optimal", ";", "we", "just", "use", "the", "mark", "in", "the", "prologue", "and", "epilogue", "to", "say", "that", "the", "return", "address", "is", "to", "be", "stored", "in", "the", "stack", "frame", ".", "We", "could", "return", "SRP", "for", "leaf-functions", "and", "use", "the", "initial-value", "machinery", "."], "TS_V_token": ["cris", "1", "0", "4"], "File": "cris", "Func": "cris_return_addr_rtx", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44208, "Length": 42} {"ground_truth": ["", "static", "bool", "cris_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", "opno", ",", "int", "*", "total", ",", "bool", "speed", ")", "{", "int", "code", "=", "GET_CODE", "(", "x", ")", ";", "switch", "(", "code", ")", "{", "case", "CONST_INT", ":", "{", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "x", ")", ";", "if", "(", "val", "==", "0", ")", "*", "total", "=", "0", ";", "else", "if", "(", "val", "<", "32", "&&", "val", ">=", "-", "32", ")", "*", "total", "=", "1", ";", "else", "if", "(", "val", "<=", "32767", "&&", "val", ">=", "-", "32768", ")", "*", "total", "=", "2", ";", "else", "*", "total", "=", "4", ";", "return", "true", ";", "}", "case", "LABEL_REF", ":", "*", "total", "=", "6", ";", "return", "true", ";", "case", "CONST", ":", "case", "SYMBOL_REF", ":", "*", "total", "=", "6", ";", "return", "true", ";", "case", "CONST_DOUBLE", ":", "if", "(", "x", "!=", "CONST0_RTX", "(", "mode", "==", "VOIDmode", "?", "DImode", ":", "mode", ")", ")", "*", "total", "=", "12", ";", "else", "*", "total", "=", "0", ";", "return", "true", ";", "case", "MULT", ":", "if", "(", "outer_code", "==", "PLUS", "&&", "cris_biap_index_p", "(", "x", ",", "false", ")", ")", "{", "*", "total", "=", "0", ";", "return", "true", ";", "}", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "if", "(", "TARGET_HAS_MUL_INSNS", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "1", ")", "+", "COSTS_N_INSNS", "(", "1", ")", "/", "2", ";", "return", "true", ";", "}", "*", "total", "=", "COSTS_N_INSNS", "(", "132", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "UDIV", ":", "case", "MOD", ":", "case", "UMOD", ":", "case", "DIV", ":", "if", "(", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "||", "exact_log2", "(", "INTVAL", "(", "XEXP", "(", "x", ",", "1", ")", ")", "<", "0", ")", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "260", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "AND", ":", "if", "(", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", "&&", "!", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "!", "satisfies_constraint_I", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "{", "*", "total", "=", "(", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "mode", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "opno", ",", "speed", ")", "+", "2", "+", "2", "*", "GET_MODE_NUNITS", "(", "mode", ")", ")", ";", "return", "true", ";", "}", "return", "false", ";", "case", "ZERO_EXTRACT", ":", "if", "(", "reload_completed", ")", "{", "if", "(", "outer_code", "!=", "COMPARE", ")", "return", "false", ";", "}", "else", "switch", "(", "outer_code", ")", "{", "case", "EQ", ":", "case", "NE", ":", "case", "LT", ":", "case", "LTU", ":", "case", "LE", ":", "case", "LEU", ":", "case", "GT", ":", "case", "GTU", ":", "case", "GE", ":", "case", "GEU", ":", "break", ";", "default", ":", "return", "false", ";", "}", "case", "ZERO_EXTEND", ":", "case", "SIGN_EXTEND", ":", "*", "total", "=", "rtx_cost", "(", "XEXP", "(", "x", ",", "0", ")", ",", "VOIDmode", ",", "(", "enum", "rtx_code", ")", "outer_code", ",", "opno", ",", "speed", ")", ";", "return", "true", ";", "default", ":", "return", "false", ";", "}", "}", ""], "natrual_language": ["Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", "*", "TOTAL", "contains", "the", "cost", "result", "."], "TS_V_token": ["cris", "0", "0", "32", "32", "1", "32767", "32768", "2", "4", "6", "6", "12", "0", "0", "1", "1", "0", "1", "1", "2", "132", "1", "1", "0", "260", "1", "0", "1", "0", "2", "2", "0"], "File": "cris", "Func": "cris_rtx_costs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44209, "Length": 495} {"ground_truth": ["", "machine_mode", "cris_select_cc_mode", "(", "enum", "rtx_code", "op", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "gcc_assert", "(", "reload_completed", ")", ";", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "!=", "MODE_INT", "||", "y", "!=", "const0_rtx", ")", "return", "CCmode", ";", "if", "(", "op", "==", "EQ", "||", "op", "==", "NE", "||", "op", "==", "GTU", "||", "op", "==", "LEU", "||", "op", "==", "LT", "||", "op", "==", "GE", ")", "return", "CC_NZmode", ";", "gcc_assert", "(", "op", "==", "GEU", "||", "op", "==", "LTU", "||", "op", "==", "GT", "||", "op", "==", "LE", ")", ";", "return", "CC_NZVCmode", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "SELECT_CC_MODE", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_select_cc_mode", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44210, "Length": 90} {"ground_truth": ["", "static", "void", "cris_setup_incoming_varargs", "(", "cumulative_args_t", "ca_v", ",", "const", "function_arg_info", "&", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "if", "(", "ca", "->", "regs", "<", "CRIS_MAX_ARGS_IN_REGS", ")", "{", "int", "stdarg_regs", "=", "CRIS_MAX_ARGS_IN_REGS", "-", "ca", "->", "regs", ";", "cfun", "->", "machine", "->", "stdarg_regs", "=", "stdarg_regs", ";", "*", "pretend_arg_size", "=", "stdarg_regs", "*", "4", ";", "}", "if", "(", "TARGET_PDEBUG", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\"", ",", "ca", "->", "regs", ",", "*", "pretend_arg_size", ",", "second_time", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_SETUP_INCOMING_VARARGS", "."], "TS_V_token": ["cris", "4", "\"\\n; VA:: ANSI: %d args before, anon @ #%d, %dtime\\n\""], "File": "cris", "Func": "cris_setup_incoming_varargs", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44211, "Length": 83} {"ground_truth": ["", "int", "cris_side_effect_mode_ok", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "ops", ",", "int", "lreg", ",", "int", "rreg", ",", "int", "rval", ",", "int", "multop", ",", "int", "other_op", ")", "{", "int", "mult", "=", "multop", "<", "0", "?", "1", ":", "INTVAL", "(", "ops", "[", "multop", "]", ")", ";", "rtx", "reg_rtx", "=", "ops", "[", "rreg", "]", ";", "rtx", "val_rtx", "=", "ops", "[", "rval", "]", ";", "if", "(", "!", "cris_base_p", "(", "reg_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "reg_rtx", "=", "val_rtx", ",", "val_rtx", "=", "ops", "[", "rreg", "]", ";", "if", "(", "!", "cris_base_p", "(", "reg_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "0", ";", "if", "(", "!", "TARGET_SIDE_EFFECT_PREFIXES", ")", "return", "0", ";", "if", "(", "GET_CODE", "(", "val_rtx", ")", "==", "MULT", ")", "{", "mult", "=", "INTVAL", "(", "XEXP", "(", "val_rtx", ",", "1", ")", ")", ";", "val_rtx", "=", "XEXP", "(", "val_rtx", ",", "0", ")", ";", "code", "=", "MULT", ";", "}", "if", "(", "other_op", ">=", "0", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "ops", "[", "other_op", "]", ")", ")", ">", "UNITS_PER_WORD", ")", "return", "0", ";", "if", "(", "(", "cris_base_p", "(", "ops", "[", "lreg", "]", ",", "reload_in_progress", "||", "reload_completed", ")", "&&", "cris_base_p", "(", "ops", "[", "other_op", "]", ",", "reload_in_progress", "||", "reload_completed", ")", "&&", "REGNO", "(", "ops", "[", "lreg", "]", ")", "==", "REGNO", "(", "ops", "[", "other_op", "]", ")", ")", "||", "rtx_equal_p", "(", "ops", "[", "other_op", "]", ",", "ops", "[", "lreg", "]", ")", ")", "return", "0", ";", "}", "if", "(", "ops", "[", "lreg", "]", "==", "frame_pointer_rtx", "||", "ops", "[", "rreg", "]", "==", "frame_pointer_rtx", "||", "ops", "[", "rval", "]", "==", "frame_pointer_rtx", "||", "(", "other_op", ">=", "0", "&&", "ops", "[", "other_op", "]", "==", "frame_pointer_rtx", ")", ")", "return", "0", ";", "if", "(", "code", "==", "PLUS", "&&", "!", "cris_base_p", "(", "val_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "reg_rtx", ")", "&&", "CONST_INT_P", "(", "val_rtx", ")", "&&", "(", "INTVAL", "(", "val_rtx", ")", "<=", "63", "&&", "INTVAL", "(", "val_rtx", ")", ">=", "-", "63", ")", ")", "return", "0", ";", "if", "(", "CONSTANT_P", "(", "val_rtx", ")", ")", "return", "1", ";", "if", "(", "MEM_P", "(", "val_rtx", ")", "&&", "cris_base_or_autoincr_p", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "val_rtx", ")", "==", "SIGN_EXTEND", "&&", "MEM_P", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ")", "&&", "cris_base_or_autoincr_p", "(", "XEXP", "(", "XEXP", "(", "val_rtx", ",", "0", ")", ",", "0", ")", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "1", ";", "return", "0", ";", "}", "else", "if", "(", "code", "==", "MULT", "||", "(", "code", "==", "PLUS", "&&", "cris_base_p", "(", "val_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", ")", "{", "if", "(", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "reg_rtx", ")", "||", "(", "mult", "==", "1", "&&", "rtx_equal_p", "(", "ops", "[", "lreg", "]", ",", "val_rtx", ")", ")", ")", "return", "0", ";", "if", "(", "mult", "!=", "1", "&&", "mult", "!=", "2", "&&", "mult", "!=", "4", ")", "return", "0", ";", "if", "(", "!", "cris_base_p", "(", "reg_rtx", ",", "reload_in_progress", "||", "reload_completed", ")", ")", "return", "0", ";", "return", "1", ";", "}", "internal_error", "(", "\"internal error: % with bad operands\"", ")", ";", "}", ""], "natrual_language": ["Check", "various", "objections", "to", "the", "side-effect", ".", "Used", "in", "the", "test-part", "of", "an", "anonymous", "insn", "describing", "an", "insn", "with", "a", "possible", "side-effect", ".", "Returns", "nonzero", "if", "the", "implied", "side-effect", "is", "ok.", "code", ":", "PLUS", "or", "MULT", "ops", ":", "An", "array", "of", "rtx", ":", "es", ".", "lreg", ",", "rreg", ",", "rval", ",", "The", "variables", "multop", "and", "other_op", "are", "indexes", "into", "this", ",", "or", "-1", "if", "they", "are", "not", "applicable", ".", "lreg", ":", "The", "register", "that", "gets", "assigned", "in", "the", "side-effect", ".", "rreg", ":", "One", "register", "in", "the", "side-effect", "expression", "rval", ":", "The", "other", "register", ",", "or", "an", "int", ".", "multop", ":", "An", "integer", "to", "multiply", "rval", "with", ".", "other_op", ":", "One", "of", "the", "entities", "of", "the", "main", "effect", ",", "whose", "mode", "we", "must", "consider", "."], "TS_V_token": ["cris", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "63", "63", "0", "1", "0", "1", "0", "0", "0", "1", "0", "1", "0", "1", "2", "4", "0", "0", "1", "\"internal error: % with bad operands\""], "File": "cris", "Func": "cris_side_effect_mode_ok", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44212, "Length": 496} {"ground_truth": ["", "bool", "cris_simple_epilogue", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "unsigned", "int", "reglimit", "=", "STACK_POINTER_REGNUM", ";", "if", "(", "!", "reload_completed", "||", "frame_pointer_needed", "||", "get_frame_size", "(", ")", "!=", "0", "||", "crtl", "->", "args", ".", "pretend_args_size", "||", "crtl", "->", "args", ".", "size", "||", "crtl", "->", "outgoing_args_size", "||", "crtl", "->", "calls_eh_return", "||", "!", "TARGET_PROLOGUE_EPILOGUE", ")", "return", "false", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "reglimit", ";", "regno", "++", ")", "if", "(", "cris_reg_saved_in_regsave_area", "(", "regno", ")", ")", "return", "false", ";", "return", "true", ";", "}", ""], "natrual_language": ["Return", "!", "=", "0", "if", "the", "return", "sequence", "for", "the", "current", "function", "is", "short", ",", "like", "``", "ret", "''", "or", "``", "jump", "[", "sp+", "]", "''", ".", "Prior", "to", "reloading", ",", "we", "ca", "n't", "tell", "how", "many", "registers", "must", "be", "saved", ",", "so", "return", "0", "then", "."], "TS_V_token": ["cris", "0", "0"], "File": "cris", "Func": "cris_simple_epilogue", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44213, "Length": 82} {"ground_truth": ["", "static", "HOST_WIDE_INT", "cris_static_rtx_alignment", "(", "machine_mode", "mode", ")", "{", "return", "MAX", "(", "cris_preferred_minimum_alignment", "(", ")", ",", "GET_MODE_ALIGNMENT", "(", "mode", ")", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_STATIC_RTX_ALIGNMENT", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_static_rtx_alignment", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44214, "Length": 22} {"ground_truth": ["", "static", "rtx", "cris_struct_value_rtx", "(", "tree", "fntype", "ATTRIBUTE_UNUSED", ",", "int", "incoming", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "Pmode", ",", "CRIS_STRUCT_VALUE_REGNUM", ")", ";", "}", ""], "natrual_language": ["Worker", "function", "for", "TARGET_STRUCT_VALUE_RTX", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "cris_struct_value_rtx", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44215, "Length": 22} {"ground_truth": ["", "enum", "cris_symbol_type", "cris_symbol_type_of", "(", "const_rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "SYMBOL_REF", ":", "return", "flag_pic", "?", "(", "SYMBOL_REF_LOCAL_P", "(", "x", ")", "?", "cris_rel_symbol", ":", "cris_got_symbol", ")", ":", "cris_offsettable_symbol", ";", "case", "LABEL_REF", ":", "return", "flag_pic", "?", "cris_rel_symbol", ":", "cris_offsettable_symbol", ";", "case", "CONST", ":", "return", "cris_symbol_type_of", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "case", "PLUS", ":", "case", "MINUS", ":", "{", "enum", "cris_symbol_type", "t1", "=", "cris_symbol_type_of", "(", "XEXP", "(", "x", ",", "0", ")", ")", ";", "enum", "cris_symbol_type", "t2", "=", "cris_symbol_type_of", "(", "XEXP", "(", "x", ",", "1", ")", ")", ";", "gcc_assert", "(", "t1", "==", "cris_no_symbol", "||", "t2", "==", "cris_no_symbol", ")", ";", "if", "(", "t1", "==", "cris_got_symbol", "||", "t2", "==", "cris_got_symbol", ")", "return", "cris_got_symbol_needing_fixup", ";", "return", "t1", "!=", "cris_no_symbol", "?", "t1", ":", "t2", ";", "}", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "return", "cris_no_symbol", ";", "case", "UNSPEC", ":", "return", "cris_unspec", ";", "default", ":", "fatal_insn", "(", "\"unrecognized supposed constant\"", ",", "x", ")", ";", "}", "gcc_unreachable", "(", ")", ";", "}", ""], "natrual_language": ["Helper", "function", "to", "find", "the", "right", "symbol-type", "to", "generate", ",", "given", "the", "original", "(", "non-PIC", ")", "representation", "."], "TS_V_token": ["cris", "0", "0", "1", "\"unrecognized supposed constant\""], "File": "cris", "Func": "cris_symbol_type_of", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44216, "Length": 158} {"ground_truth": ["", "static", "void", "cris_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", "=", "XEXP", "(", "DECL_RTL", "(", "fndecl", ")", ",", "0", ")", ";", "rtx", "mem", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",", "GEN_INT", "(", "TRAMPOLINE_SIZE", ")", ",", "BLOCK_OP_NORMAL", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "10", ")", ";", "emit_move_insn", "(", "mem", ",", "chain_value", ")", ";", "mem", "=", "adjust_address", "(", "m_tramp", ",", "SImode", ",", "16", ")", ";", "emit_move_insn", "(", "mem", ",", "fnaddr", ")", ";", "}", ""], "natrual_language": ["Implement", "TARGET_TRAMPOLINE_INIT", "."], "TS_V_token": ["cris", "0", "10", "16"], "File": "cris", "Func": "cris_trampoline_init", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44217, "Length": 83} {"ground_truth": ["", "bool", "cris_valid_pic_const", "(", "const_rtx", "x", ",", "bool", "any_operand", ")", "{", "gcc_assert", "(", "flag_pic", ")", ";", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "case", "CONST_DOUBLE", ":", "return", "true", ";", "default", ":", ";", "}", "if", "(", "GET_CODE", "(", "x", ")", "!=", "CONST", ")", "return", "false", ";", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "UNSPEC", "&&", "(", "XINT", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", "==", "CRIS_UNSPEC_GOTREL", "||", "XINT", "(", "XEXP", "(", "x", ",", "0", ")", ",", "1", ")", "==", "CRIS_UNSPEC_PCREL", ")", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")", ")", ")", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", ")", "switch", "(", "XINT", "(", "x", ",", "1", ")", ")", "{", "case", "CRIS_UNSPEC_PLT_PCREL", ":", "case", "CRIS_UNSPEC_PCREL", ":", "return", "!", "any_operand", ";", "case", "CRIS_UNSPEC_PLT_GOTREL", ":", "case", "CRIS_UNSPEC_PLTGOTREAD", ":", "case", "CRIS_UNSPEC_GOTREAD", ":", "case", "CRIS_UNSPEC_GOTREL", ":", "return", "true", ";", "default", ":", "gcc_unreachable", "(", ")", ";", "}", "return", "cris_symbol_type_of", "(", "x", ")", "==", "cris_no_symbol", ";", "}", ""], "natrual_language": ["Return", "TRUE", "iff", "X", "is", "a", "CONST", "valid", "for", "e.g", ".", "indexing", "."], "TS_V_token": ["cris", "0", "0", "0", "1", "0", "1", "1", "0", "1"], "File": "cris", "Func": "cris_valid_pic_const", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44218, "Length": 187} {"ground_truth": ["", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "cris_postdbr_cmpelim", "(", ")", ";", "}", ""], "natrual_language": ["Main", "entry", "point", "for", "this", "pass", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "execute", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44219, "Length": 15} {"ground_truth": ["", "static", "inline", "bool", "reg_ok_for_base_p", "(", "const_rtx", "x", ",", "bool", "strict", ")", "{", "return", "(", "(", "!", "strict", "&&", "!", "HARD_REGISTER_P", "(", "x", ")", ")", "||", "REGNO_OK_FOR_BASE_P", "(", "REGNO", "(", "x", ")", ")", ")", ";", "}", ""], "natrual_language": ["Nonzero", "if", "X", "is", "a", "hard", "reg", "that", "can", "be", "used", "as", "an", "index", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "reg_ok_for_base_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44220, "Length": 35} {"ground_truth": ["", "static", "inline", "bool", "reg_ok_for_index_p", "(", "const_rtx", "x", ",", "bool", "strict", ")", "{", "return", "reg_ok_for_base_p", "(", "x", ",", "strict", ")", ";", "}", ""], "natrual_language": ["Nonzero", "if", "X", "is", "a", "hard", "reg", "that", "can", "be", "used", "as", "an", "index", "."], "TS_V_token": ["cris"], "File": "cris", "Func": "reg_ok_for_index_p", "Target": "cris", "Target_Clf": "MPU", "Compiler_Type": "GCC", "Idx": 44221, "Length": 21}